Re: [Nagios-users] Canon Printer monitoring
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Izz Abdullah wrote: | Yes, I just realized the hpjd command is just for HP printers. Ok, so after I realized, I was looking at the help for check_snmp, and this is the command from the command line I tried: | | ./check_snmp -H 172.24.50.102 -C public | this returns: | SNMP problem - No data received from host | CMD: /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] 172.24.50.102:161 | | (I don't know what I should be query for the -o object ID) Consult the SNMP documentation of your printer or cantact your printer supplier and ask them which SNMP variables are usefull. I am sure that information is close to the spot where it told you how to enable SNMP. Hugo. PS: I have no desire to continue a uberquote thread - -- [EMAIL PROTECTED] http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIfuFmBvzDRVjxmYERAvy9AJ9KmbU4fIcOCmjnDd6nAYBi7tg+1gCfUvVy 62kKsHP1/9hEmz87YuPfwUw= =j/f2 -END PGP SIGNATURE- - 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=100url=/ ___ 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
Re: [Nagios-users] Canon Printer monitoring
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_namesatyam_canon3380 aliasCanon iRC3380 address 172.24.50.102 hostgroups network-printers } define hostgroup{ hostgroup_name network-printers alias Network Printers } define service{ usegeneric-service host_name satyam_canon3380 service_descriptionPrinter 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=100url=/ ___ 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=100url=/ ___ 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
Re: [Nagios-users] Canon Printer monitoring
There 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_namesatyam_canon3380 aliasCanon iRC3380 address 172.24.50.102 hostgroups network-printers } define hostgroup{ hostgroup_name network-printers alias Network Printers } define service{ usegeneric-service host_name satyam_canon3380 service_descriptionPrinter 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=100url=/ ___ 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=100url=/ ___ 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=100url=/___ 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
Re: [Nagios-users] Canon Printer monitoring
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Izz Abdullah wrote: | | Can not get to work from command line. Following is the command def: | | define command{ | command_name check_hpjd | command_line $USER1$/check_hpjd -H $HOSTADDRESS$ $ARG1$ | } AFAIK: check_hpjd is specifically tailored towards HP printers. What do you expect it to do with another brand of printers? And what command did you type on the commandline to test things? I do hope you did try that. Hugo. - -- [EMAIL PROTECTED] http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIfthvBvzDRVjxmYERApQjAJ4xO0Ax1lURzKAB1SnYL0ueJMT8/gCgjAx3 eDJXBEv+ocbJHsP8jwhXIek= =fhGI -END PGP SIGNATURE- - 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=100url=/ ___ 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
Re: [Nagios-users] Canon Printer monitoring
Yes, I just realized the hpjd command is just for HP printers. Ok, so after I realized, I was looking at the help for check_snmp, and this is the command from the command line I tried: ./check_snmp -H 172.24.50.102 -C public this returns: SNMP problem - No data received from host CMD: /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] 172.24.50.102:161 (I don't know what I should be query for the -o object ID) Thanks again for all the help, Izz -Original Message- From: [EMAIL PROTECTED] Sent: Thu, 17 Jul 2008 07:28:17 +0200 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Canon Printer monitoring -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Izz Abdullah wrote: | | Can not get to work from command line. Following is the command def: | | define command{ | command_name check_hpjd | command_line $USER1$/check_hpjd -H $HOSTADDRESS$ $ARG1$ | } AFAIK: check_hpjd is specifically tailored towards HP printers. What do you expect it to do with another brand of printers? And what command did you type on the commandline to test things? I do hope you did try that. Hugo. - -- [EMAIL PROTECTED] http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIfthvBvzDRVjxmYERApQjAJ4xO0Ax1lURzKAB1SnYL0ueJMT8/gCgjAx3 eDJXBEv+ocbJHsP8jwhXIek= =fhGI -END PGP SIGNATURE- - 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=100url=/ ___ 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=100url=/ ___ 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