How do I add a network printer for toner and maintenance kit in Nagios XI?
I have downloaded the following plugin: http://exchange.nagios.org/directory/Pl ... er/details and I've also added it in the Monitoring Plugins
From there I believe I have to go to Configure → Core Configuration Manager → Commands and click Add New.
This is where I'm stuck I'm not sure what command name/line I need to use.
I'm extremely new at this; so thanks for your patience.
network printer setup
Re: network printer setup
You can use something like this:
where "$USER1$" is the path to the plugins directory (/usr/local/nagios/libexec/) and "check_print_toner" is the name of your plugin. When you create the check, you can pass your arguments to the $ARG1$ field.
I would recommend that you follow the steps, outlined in the document listed below:
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
Code: Select all
$USER1$/check_print_toner -H $HOSTADDRESS$ $ARG1$I would recommend that you follow the steps, outlined in the document listed below:
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: network printer setup
I can't seem to get it at all, i tried everything possible.
Re: network printer setup
Can you show us what you have added for the command? And have you created a host and service for it as well? What specifically is not working?
Former Nagios employee
Re: network printer setup
If your printer support hp jet direct snmp queries, you could use check_hpjd as it will notify you when toner is low:
http://nagios-plugins.org/doc/man/check_hpjd.html
http://nagios-plugins.org/doc/man/check_hpjd.html
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.
"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.
Re: network printer setup
98% of the printers are Xerox printers and the rest are HP LaserJet 600
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: network printer setup
You'll probably have to start by fiddling with your plugin at the command line as indicated by the custom plugin document:
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
Note the section "Test your plugin from the command line"
After you get it working there then putting it into XI so it works for you will be a breeze.
I recommend this plugin over the one you're trying to use as it's much more up to date and a user commented that it does work with Xerox printers.
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
Note the section "Test your plugin from the command line"
After you get it working there then putting it into XI so it works for you will be a breeze.
I recommend this plugin over the one you're trying to use as it's much more up to date and a user commented that it does work with Xerox printers.
Re: network printer setup
Well, many non-hp printers support the jetdirect snmp oids.
Do you know any of the specific Xerox models?
Do they support snmp, and if they do, can you walk them?
Do you know any of the specific Xerox models?
Do they support snmp, and if they do, can you walk them?
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.
"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.
Re: network printer setup
I will try to add different kind of xerox printer as the HP JetDirect
Also to confirm if I see/get Printer Status this means it will tell me when my toner or maintenance kit is about to run out?
See attached screen shot from an HP Printer
Also to confirm if I see/get Printer Status this means it will tell me when my toner or maintenance kit is about to run out?
See attached screen shot from an HP Printer
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: network printer setup
If the plugin is working properly with that device (using SNMP OID 1.3.6.1.2.1.43.11.1.1.6.1) and testing it against your thresholds - YES, that is what that means.
FYI this is a generic printer MIB, it should work with any printer, though you should also be aware that the data under that OID could be arranged differently by different vendors, especially in the event that you have multiple toner cartridges such as with a color printer.
FYI this is a generic printer MIB, it should work with any printer, though you should also be aware that the data under that OID could be arranged differently by different vendors, especially in the event that you have multiple toner cartridges such as with a color printer.