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=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