define command{
command_name check_hpjd
command_line $USER1$/check_hpjd -H $HOSTADDRESS$ $ARG1$
}
-----Original Message-----
From: [EMAIL PROTECTED]
Sent: Thu, 17 Jul 2008 14:17:38 +1000
To: [EMAIL PROTECTED]
Subject: Re: [Nagios-users] Canon Printer monitoringThere appears to be nothing wrong with what you are doing so far.
Can you send your command definition?
Can you make it work from the command line?
You might need to check your environment eg firewalls etc
Izz Abdullah wrote:SNMP is enabled, public is the community. I changed the title of this email (too many vendors I have to keep up with) :)Thanks, Izz-----Original Message----- From: [EMAIL PROTECTED] Sent: Thu, 17 Jul 2008 13:55:04 +1000 To: [EMAIL PROTECTED] Subject: Re: [Nagios-users] Compaq Printer monitoring If the community string, in your case "public", is incorrect, this is enough to generate a timeout. Additionally, if the printer does not even have SNMP capability, you will also get a timeout. You'll need to check the printer firmware config. Why have you titled this message "Compaq Printer Monitoring" and yet provided the config for a "Canon iRC3380"? Perhaps you are getting your printers mixed up? Izz Abdullah wrote:I am using Nagios 3.0.1 on RHEL 4 to monitor various Windows and linux / Unix flavors. I have setup to monitor a network printer via SNMP and I get the following result on printer status (PING is ok): Error in packet : Timeout from host 172.24.50.102 Below is the printer.cfg (without the PING definition since it works): define host{ use generic-printer host_name satyam_canon3380 alias Canon iRC3380 address 172.24.50.102 hostgroups network-printers } define hostgroup{ hostgroup_name network-printers alias Network Printers } define service{ use generic-service host_name satyam_canon3380 service_description Printer Status check_command check_hpjd!-C public normal_check_interval 10 retry_check_interval 1 } I would appreciate any enlightenment from the group. Thanks, Izz ____________________________________________________________ GET FREE 5GB EMAIL - Check out spam free email with many cool features! Visit http://www.inbox.com/email to find out more! ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=""> _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=""> _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Get Free 5GB Email – Check out spam free email with many cool features!
Visit http://www.inbox.com/email to find out more!
Visit http://www.inbox.com/email to find out more!
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null