Good afternoon.
At the moment, we receive notifications about running out of toner in the cartridge from Zabbix. Zabbix collects toner volume information via SNMP. Everything works, but there is a problem that sometimes SNMP on the printer gives a false value (0) for a while and the trigger fires accordingly on Zabbix.
The current implementation is
100*last(/Template SNMP Kyocera/.1.3.6.1.2.1.43.11.1.1.9.1.3)/last(/Template SNMP Kyocera/.1.3.6.1.2.1.43.11.1.1.8.1.3)<=10
I want the trigger to only fire if the toner is <=10 for 30 minutes. So I can get rid of false positives.
Tried doing this but it doesn't work
max(100*last(/Template SNMP Kyocera/.1.3.6.1.2.1.43.11.1.1.9.1.3)/last(/Template SNMP Kyocera/.1.3.6.1.2.1.43.11.1.1.8.1.3), 30m)<=10
Thanks in advance for help!
At the moment, we receive notifications about running out of toner in the cartridge from Zabbix. Zabbix collects toner volume information via SNMP. Everything works, but there is a problem that sometimes SNMP on the printer gives a false value (0) for a while and the trigger fires accordingly on Zabbix.
The current implementation is
100*last(/Template SNMP Kyocera/.1.3.6.1.2.1.43.11.1.1.9.1.3)/last(/Template SNMP Kyocera/.1.3.6.1.2.1.43.11.1.1.8.1.3)<=10
I want the trigger to only fire if the toner is <=10 for 30 minutes. So I can get rid of false positives.
Tried doing this but it doesn't work
max(100*last(/Template SNMP Kyocera/.1.3.6.1.2.1.43.11.1.1.9.1.3)/last(/Template SNMP Kyocera/.1.3.6.1.2.1.43.11.1.1.8.1.3), 30m)<=10
Thanks in advance for help!
Comment