Monitoring Tiki-manager
New command has been added to tiki-manager to monitor instances to facilitate integration with Zabbix. See MR.
Click to expand
Zabbix Configuration and Test
After installing Zabbix agent, update the configuration to monitor instances:
- Edit the file: `/etc/zabbix/zabbix_agentd.conf`
- Add the following at the end of the file:
UserParameter configuration
Copy to clipboard
UserParameter=tiki_manager.monitor[*],[tiki-manager full path]/tiki-manager instance:monitor -i "$1" -t
Example:
UserParameter example
Copy to clipboard
UserParameter=tiki_manager.monitor[*],/opt/tiki-manager/app/tiki-manager instance:monitor -i "$1" -t
Click to expand
- Restart the Zabbix services:
Copy to clipboard
sudo systemctl restart zabbix-agent
- Access the Zabbix host list:
Go to: `http://hostname.domain/zabbix/zabbix.php?action=host.list`
Click on Items to create a new monitoring item.
Click to expand
You can specify instance IDs like ["10,12,3"] to monitor specific instances or use "all" to monitor every instance.
Click to expand
Once the item is created, it will be listed, and you can view logs and history.
Click to expand
Click to expand
Click to expand
Related: Monitoring