<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
There appears to be nothing wrong with what you are doing so far.<br>
<br>
Can you send your command definition?<br>
Can you make it work from the command line?<br>
<br>
You might need to check your environment eg firewalls etc<br>
<br>
Izz Abdullah wrote:
<blockquote cite="mid:596B7CF1620.000002CFizz_abdullah@inbox.com"
 type="cite">
  <pre wrap="">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

  </pre>
  <blockquote type="cite">
    <pre wrap="">-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:nagiosusers@edcint.co.nz">nagiosusers@edcint.co.nz</a>
Sent: Thu, 17 Jul 2008 13:55:04 +1000
To: <a class="moz-txt-link-abbreviated" href="mailto:izz_abdullah@inbox.com">izz_abdullah@inbox.com</a>
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:
    </pre>
    <blockquote type="cite">
      <pre wrap="">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 <a class="moz-txt-link-freetext" href="http://www.inbox.com/email">http://www.inbox.com/email</a> 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
<a class="moz-txt-link-freetext" href="http://moblin-contest.org/redirect.php?banner_id=100&url=/">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null


      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
-------------------------------------------------------------------------
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
<a class="moz-txt-link-freetext" href="http://moblin-contest.org/redirect.php?banner_id=100&url=/">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

  </pre>
</blockquote>
</body>
</html>