Loading...
 
Skip to main content

History: Monitoring Tiki Manager

Source of version: 2

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]. 

!! 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="display2160" link="display2160" 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))
        

History

Information Version
Josaphat Imani Nathan 5
Josaphat Imani Nathan 4
Josaphat Imani Nathan 3
Josaphat Imani Nathan 2
Josaphat Imani Nathan 1