Closed Optimaximal closed 3 years ago
This is already implemented in the latest release with the --nofeeder switch :) Let me know if it doesn't work as expected.
Ok, I've just tried that. Not sure how you're excluding them, but Lexmark seem to report trays differently. 😄
'/usr/lib/nagios/plugins/check_snmp_printer' '-H' '192.168.0.220' '--trays' '-C' 'spice' '--nofeeder'
CRITICAL: Manual Envelope (4.33in x 8.66in) is at 0% paper remaining. CRITICAL: Manual Paper (8.27in x 11.69in) is at 0% paper remaining.
MIBs in the other issue thread - let me know if you want a specific snmpwalk posted here.
Funnily, a different model of Lexmark we have - an XC2132 - reports the Envelope as fine but the Paper as 0%.
CRITICAL: Manual Paper (8.27in x 11.69in) is at 0% paper remaining. OK: Manual Envelope (4.33in x 8.66in)
Oh yeah definitely not looking for that verbiage :P I'll check the other thread and add it to the next release :)
FYI, another issue i've just encountered is our Lexmark's report UNKNOWN when the tray is out rather than MISSING which is shown in the Web UI for the printer. Again, could be different wording.
When you say the tray is out do you mean the tray is physically removed from the printer or just out of paper?
Closed because this is being dealt with in https://github.com/Tylan/check_snmp_printer/issues/11
As per the title - can the tray status support be extended to include/exclude specific trays via parameter?
As it stands, it includes all trays by design, but this also counts the manual feeds, which are 0% unless being used, meaning when used with monitoring software (i.e. Icinga or Nagios) they always throw critical warnings.
I can disable the warnings/criticals in optional args, but this won't warn me, for example, when trays that need to be monitored are empty.