Loading...
 
Skip to main content

History: Monitoring Tiki Manager

Source of version: 6 (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:

1. Edit the file: `/etc/zabbix/zabbix_agentd.conf`
2. 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"}

1. Restart the Zabbix services:


{CODE()}
sudo systemctl restart zabbix-agent
{CODE}

1. 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"}