Hello, I've installed and been using Zabbix 3.4 for the past 2 days. I am trying to create a simple trigger that alerts whenever a service is down on a server that has Zabbix Agent installed.
I have configured the UserParameter in the Zabbix Agent configuration file:
UserParameter=testing,systemctl is-active nginx
On the Zabbix server side, I've configured the template, the item (with the key set to "testing" and Type of information set to "Text"), and a trigger of {template:testing.regexp(inactive)}=0
I simulated the process by stopping the service and it triggers as expected (Dashboard showing the status 'PROBLEM') but when I start the service again, it should be showing the status 'RESOLVED'.
Am I doing something wrong here? Please enlighten. Thank you and have a nice day.
I have configured the UserParameter in the Zabbix Agent configuration file:
UserParameter=testing,systemctl is-active nginx
On the Zabbix server side, I've configured the template, the item (with the key set to "testing" and Type of information set to "Text"), and a trigger of {template:testing.regexp(inactive)}=0
I simulated the process by stopping the service and it triggers as expected (Dashboard showing the status 'PROBLEM') but when I start the service again, it should be showing the status 'RESOLVED'.
Am I doing something wrong here? Please enlighten. Thank you and have a nice day.
Comment