check_snmp_printer

Icinga Plugin for Checking SNMP Printer Status (Trays, Consumables and Pagecounts)

Log in or register to post comments

  • Tylan

    I've rewritten the code to work without the experimental given/when statements. Should be working now for you. Kindly let me know if it's still a problem.

  • Tylan

    Let me look at writing the code to remove given/when statements. Appears this have always been iffy. I'll post when code has been updated. this should fix your missing color names too.

  • LucEast

    I have the same issue as @uk101msn and I'm using Perl 5.28.1 on debian 10. And if I check for consumables there is missing the Toner Color. There are just the informations "Toner is at ... remaining". No color information.

  • Tylan

    This is usually do to not having a minimum perl version of 5.10. Can you verify your perl version is 5.10 or newer? Thanks.

  • uk101msn

    When using this I'm getting errors such as "given is experimental at /usr/lib64/nagios/plugins/check_snmp_printer line 309." and "when is experimental at /usr/lib64/nagios/plugins/check_snmp_printer line 310."