Check_Printer Assistance Defining Command

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
lingpanda
Posts: 10
Joined: Wed Sep 03, 2014 10:19 am

Re: Check_Printer Assistance Defining Command

Post by lingpanda »

lmiltchev wrote:To be honest with you, your best bet would be to either use a better documented plugin or contact the developer. Having said that, the following commands seemed to work for me:

Code: Select all

./check_printer 192.168.x.x public 1 toner 1 0.6 0.5
OK - Black Cartridge HP CC530A 72% (3875517 of 5308928 left) | toner=3875517;3185356.8;2654464;0;5308928

./check_printer 192.168.x.x public 1 toner 1 0.9 0.7
Warning - Black Cartridge HP CC530A 72% (3875517 of 5308928 left) | toner=3875517;4778035.2;3716249.6;0;5308928

./check_printer 192.168.x.x public 1 toner 1 0.9 0.8
Critical - Black Cartridge HP CC530A 72% (3875517 of 5308928 left) | toner=3875517;4778035.2;4247142.4;0;5308928

Maybe you can use something similar to this.
That works for me as well. Thank you. I only chose this plugin because it was stated to work with Kyocera brand printers. If you could suggest a better documented plugin that works with this brand. I would be grateful. Thanks.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Check_Printer Assistance Defining Command

Post by tmcdonald »

We can't really make a good recommendation for that, mostly because we don't have Kyocera printers here at work to test against.
Former Nagios employee
Locked