Network Printer
Network Printer
How do I add a network printer to Nagios XI?
Re: Network Printer
I believe that i need to use SNMP however; how can I check for printer cartridge when it reached 5% of it's like and how do I also check for the maintenance kit when it reaches 5%?
Re: Network Printer
You can use the nagios-plugins check_hpjd if the printer complies with hp jetdirect snmp queries:
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
98% of the printer that I have here at Xerox.
I used to have Nagios Core that that was able to check it for me right now I have no idea how to configure it.
I used to have Nagios Core that that was able to check it for me right now I have no idea how to configure it.
Re: Network Printer
What plugin did you use in Nagios Core, and what did your command.cfg definition look like?
Re: Network Printer
The nagios core was setup before i joined the organization; this is my first time using nagios and working with it.
I have attached the command.cfg file from nagios core.
also example of the services from nagios 4
define service {
hostgroup_name printer_maintenace
service_description MAINTENANCE
check_command check_print_toner!public!2
use generic-service
}
define service {
hostgroup_name printers
service_description TONER
check_command check_print_toner!public!1
use generic-service
}
I have attached the command.cfg file from nagios core.
also example of the services from nagios 4
define service {
hostgroup_name printer_maintenace
service_description MAINTENANCE
check_command check_print_toner!public!2
use generic-service
}
define service {
hostgroup_name printers
service_description TONER
check_command check_print_toner!public!1
use generic-service
}
You do not have the required permissions to view the files attached to this post.
Re: Network Printer
It looks like Nagios Core was using the following plugin: http://exchange.nagios.org/directory/Pl ... er/details
Please download that plugin and install it in Nagios XI: http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
Once installed, you will need to generate a command for it - from there, you will be able to define a new service check for your printer toner using the Nagios Core definitions as a guide. Let me know if you run into any trouble along the way. Thank you!
Your command definition may look something like the following:
Please download that plugin and install it in Nagios XI: http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
Once installed, you will need to generate a command for it - from there, you will be able to define a new service check for your printer toner using the Nagios Core definitions as a guide. Let me know if you run into any trouble along the way. Thank you!
Your command definition may look something like the following:
You do not have the required permissions to view the files attached to this post.
Re: Network Printer
I've installed the plug in however at the Command Management I'm not sure what command name or line it needs to be.
Any guidance in that?
Also I need to check/monitor the maintenance kit; I think we only added the toner right?
Thanks,
G
Any guidance in that?
Also I need to check/monitor the maintenance kit; I think we only added the toner right?
Thanks,
G
Re: Network Printer
To determine what you need to add as arguments, let's try running it from the command line with the 'help' argument:
Looks like you may need a logging directory:
The usage is described as follows:
Define your command as appropriate in your 'Command Definition', and fill our the arguments as appropriate in your 'service definition'. Please let us know if you need further help. Thanks!
Code: Select all
bash /usr/local/nagios/libexec/check_print_toner -hCode: Select all
mkdir /usr/local/nagios/var/check_print_toner_logs/ && chown nagios:nagios /usr/local/nagios/var/check_print_toner_logs/Code: Select all
Usage: ping [-LRUbdfnqrvVaA] [-c count] [-i interval] [-w deadline]
[-p pattern] [-s packetsize] [-t ttl] [-I interface or address]
[-M mtu discovery hint] [-S sndbuf]
[ -T timestamp option ] [ -Q tos ] [hop1 ...] destinationRe: Network Printer
I'm sorry
, as I mentioned last time, I'm very new with Nagios and in coding environment.
I'm still stuck
I'm still stuck