History: Monitoring Tiki Manager
Source of version: 5 (current)
Copy to clipboard
! Monitoring Tiki-manager New command has been added to tiki-manager to monitor instances to facilitate integration with Zabbix. [https://gitlab.com/tikiwiki/tiki-manager/-/merge_requests/496|See MR]. {img src="display2171" link="display2171" width="400" rel="box[g]" imalign="center" desc="Click to expand" align="center" styleimage="border"} !! 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: {CODE(caption="UserParameter configuration")} UserParameter=tiki_manager.monitor[*],[tiki-manager full path]/tiki-manager instance:monitor -i "$1" -t {CODE} Example: {CODE(caption="UserParameter example")} UserParameter=tiki_manager.monitor[*],/opt/tiki-manager/app/tiki-manager instance:monitor -i "$1" -t {CODE} {img src="display2172" link="display2172" width="400" rel="box[g]" imalign="center" desc="Click to expand" align="center" styleimage="border"} # Restart the Zabbix services: {CODE()} sudo systemctl restart zabbix-agent {CODE} # 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. {img src="display2165" link="display2165" width="400" rel="box[g]" imalign="center" desc="Click to expand" align="center" styleimage="border"} You can specify instance IDs like __~np~["10,12,3"]~/np~__ to monitor specific instances or use __"all"__ to monitor every instance. {img src="display2165" link="display2165" width="400" rel="box[g]" imalign="center" desc="Click to expand" align="center" styleimage="border"} Once the item is created, it will be listed, and you can view logs and history. {img src="display2165" link="display2165" width="400" rel="box[g]" imalign="center" desc="Click to expand" align="center" styleimage="border"} {img src="display2165" link="display2165" width="400" rel="box[g]" imalign="center" desc="Click to expand" align="center" styleimage="border"} {img src="display2165" link="display2165" width="400" rel="box[g]" imalign="center" desc="Click to expand" align="center" styleimage="border"} Related: ((Monitoring)) {files fileId="2173"}