Page 3 of 3

Re: Printer Maintenance Checker

Posted: Wed Apr 22, 2015 11:12 am
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?