Page 1 of 3
Printer Maintenance Checker
Posted: Mon Apr 20, 2015 10:54 am
by gzarif
Hello,
Last week I had the Nagios quickstart and we were able to check the toner status; however now I need to monitor the maintenance kit status for all printers.
CAn someone please help me set it up?
Thanks,
G
Re: Printer Maintenance Checker
Posted: Mon Apr 20, 2015 11:35 am
by lmiltchev
What is the plugin that you are currently using?
Re: Printer Maintenance Checker
Posted: Mon Apr 20, 2015 12:05 pm
by gzarif
currently I'm using the toner_check
Re: Printer Maintenance Checker
Posted: Mon Apr 20, 2015 12:12 pm
by abrist
gzarif wrote:now I need to monitor the maintenance kit status for all printers
I presume you need more information than just toner status?
What type of printers are these?
Re: Printer Maintenance Checker
Posted: Mon Apr 20, 2015 12:18 pm
by gzarif
exactly, we need more information than just toner status; we are very interested in the maintenance kit status as well.
The model of the printer that we have are:
1. Xerox WorkCentre 4150
2. Xerox WorkCentre 4250
3. Xerox WorkCentre 4265
4. Xerox Phaser 4510DT
5. Xerox Phaser 3635MFP
6. HP LaserJet 4250
7. HP LaserJet 600 M602
FYI: The tech support that I did the quickstart with was jdalrymple
Re: Printer Maintenance Checker
Posted: Mon Apr 20, 2015 12:28 pm
by jdalrymple
Sorry George - I am the one with the background but the fellow techs picked it up prior to me seeing the problem.
Can I get you to run this snmp query from your Nagios box to one of your printers:
Code: Select all
snmpwalk -v 1 -c public printerIP .1.3.6.1.4.1.43.11.1
Post the output here so we can see if using a modified version of your existing plugin will work.
Re: Printer Maintenance Checker
Posted: Mon Apr 20, 2015 1:10 pm
by gzarif
I have put: snmpwalk -v 1 -c public 10.138.87.85 .1.3.6.1.4.1.43.11.1 and I got no output
Am i doing something wrong?
Re: Printer Maintenance Checker
Posted: Mon Apr 20, 2015 1:16 pm
by jdalrymple
gzarif wrote:Am i doing something wrong?
No, I did, try this:
Code: Select all
snmpwalk -v 1 -c public 10.138.87.85 .1.3.6.1.2.1.43.11.1
Re: Printer Maintenance Checker
Posted: Mon Apr 20, 2015 1:53 pm
by gzarif
Here is the output
Re: Printer Maintenance Checker
Posted: Mon Apr 20, 2015 3:00 pm
by jdalrymple
Hi again gzarif,
Simple...
So that OID is not specific to toner, or even 1 toner cartridge. There is an index (which is going to be different for each printer) that you will have to specify to grab the maintenance kit:
Code: Select all
[jdalrymple@localhost ~]$ ./check_print_toner public 192.168.1.10 1
Black Toner = 20.00%
[jdalrymple@localhost ~]$ ./check_print_toner public 192.168.1.10 2
Maintenance Kit = 86.00%
[jdalrymple@localhost ~]$ ./check_print_toner public 192.168.1.25 1
Cyan Cartridge = 60.00%
[jdalrymple@localhost ~]$ ./check_print_toner public 192.168.1.25 2
Magenta Cartridge = 60.00%
[jdalrymple@localhost ~]$ ./check_print_toner public 192.168.1.25 3
Yellow Cartridge = 60.00%
[jdalrymple@localhost ~]$ ./check_print_toner public 192.168.1.25 4
Black Cartridge = 100.00%
[jdalrymple@localhost ~]$ ./check_print_toner public 192.168.1.25 5
Fuser = 60.00%
[jdalrymple@localhost ~]$ ./check_print_toner public 192.168.1.25 6
Belt Unit = 60.00%
Note that the first 2 are a Lexmark MFP and the other 6 are a Dell MFP. No doubt all printers are likely to be a bit different so you'll probably want to create some hostgroups based upon type/model of printer if you have zillions.