Tylan / check_snmp_printer

Icinga Plugin for Checking SNMP Printer Status (Trays, Consumables and Pagecounts)
GNU General Public License v3.0
12 stars 4 forks source link

Brother low ink not detected #39

Open Napsty opened 3 weeks ago

Napsty commented 3 weeks ago

Hi and thanks for the plugin!

I noticed the plugin does not correctly identify a low toner alert (using --consum) on my Brother MFC-9330CDW:

$ /usr/lib/nagios/plugins/check_snmp_printer.pl -H xxx.xxx.xxx.xxx -v 2 --model
Brother MFC-9330CDW, Serial #

$ /usr/lib/nagios/plugins/check_snmp_printer.pl -H xxx.xxx.xxx.xxx -v 2 --consum
OK: Magenta Toner levels are OK.
OK: Cyan Toner levels are OK.
OK: Black Toner levels are OK.
OK: Yellow Toner levels are OK.
|Magenta_Toner=100;;;; Cyan_Toner=100;;;; Black_Toner=100;;;; Yellow_Toner=100;;;;

$ /usr/lib/nagios/plugins/check_snmp_printer.pl -H xxx.xxx.xxx.xxx -v 2 --messages
Toner Low: BK  

The very old check_hpjd plugin is able to see it:

$ /usr/lib/nagios/plugins/check_hpjd -H xxx.xxx.xxx.xxx
Intervention Required ("Toner Low: BK 

Attached is a full SNMPWALK output. snmpwalk.txt

cheers, ck