Open Rick-McClatchie opened 4 years ago
That's because in PHP script we have:
// return 1 if ok, return 0 if critical, return 2 if degraded, return 3 if unknown/problem
but in Zabbix trigger we have
<expression>{ClusterControl Template:clustercontrol.db.alarms-critical.last(0)}>0</expression>
For script returned 1
means GOOD, but for trigger 1
means NOT GOOD
Zabbix triggers should be replaced like this:
<expression>{ClusterControl Template:clustercontrol.db.alarms-critical.last(0)}<>1</expression>
Hello everyone,
I was wondering if there is any way to get the Clustercontrol Template to Work with the current Zabbix Versions? We followed all of the steps descibed here: https://github.com/severalnines/s9s-admin/tree/master/plugins/zabbix
However these are the "Problems" I get in Zabbix:
When I take a look in the Clustercontrol Dashboard. No Problems:
When I turn on logging for Zabbix I get the following messages in /var/log/zabbix-agent/zabbix_agentd.log:
Thanks in advance everybody.
Best Rick