Printer Maintenance Checker

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
gzarif
Posts: 38
Joined: Thu Mar 26, 2015 9:44 am

Printer Maintenance Checker

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Printer Maintenance Checker

Post by lmiltchev »

What is the plugin that you are currently using?
Be sure to check out our Knowledgebase for helpful articles and solutions!
gzarif
Posts: 38
Joined: Thu Mar 26, 2015 9:44 am

Re: Printer Maintenance Checker

Post by gzarif »

currently I'm using the toner_check
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Printer Maintenance Checker

Post 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?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
gzarif
Posts: 38
Joined: Thu Mar 26, 2015 9:44 am

Re: Printer Maintenance Checker

Post 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
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Printer Maintenance Checker

Post 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.
gzarif
Posts: 38
Joined: Thu Mar 26, 2015 9:44 am

Re: Printer Maintenance Checker

Post 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?
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Printer Maintenance Checker

Post 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
gzarif
Posts: 38
Joined: Thu Mar 26, 2015 9:44 am

Re: Printer Maintenance Checker

Post by gzarif »

Here is the output
You do not have the required permissions to view the files attached to this post.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Printer Maintenance Checker

Post 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.
Locked