Printer Maintenance Checker

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Printer Maintenance Checker

Post by jdalrymple »

gzarif

Can you post the status output from the HP?

Like I said, we don't really know what the HP is trying to tell us without that data.

Imagine if my Dell printer didn't offer that information? I'd have the following:

Code: Select all

[jdalrymple@localhost ~]$ ./check_print_toner public 192.168.1.25 1
60.00%
[jdalrymple@localhost ~]$ ./check_print_toner public 192.168.1.25 2
60.00%
[jdalrymple@localhost ~]$ ./check_print_toner public 192.168.1.25 3
60.00%
[jdalrymple@localhost ~]$ ./check_print_toner public 192.168.1.25 4
100.00%
[jdalrymple@localhost ~]$ ./check_print_toner public 192.168.1.25 5
60.00%
[jdalrymple@localhost ~]$ ./check_print_toner public 192.168.1.25 6
60.00%
Now in this case I'm lucky because 5 out of 6 values are the same, but how do I know what that 100% is?
Locked