check_hpjd plugin in Plugins 1.4
Edward MacGillivray
mac at biviumcorp.com
Tue Feb 22 23:35:49 CET 2005
Sorry to be replying to my own message, but I hadn't heard back after
reporting the results of the snmpget -Ovq command. Is there anything else
that I can do to help? Would it be best to upgrade to net-snmp? I noticed
that on my workstation I have net-snmp-5.1.2-3 and it seems to behave the
same way as the ucd-snmp (-Ovq works when the OIDs are specified)
thanks
mac
On Friday 18 February 2005 12:59 pm, Edward MacGillivray wrote:
> On Friday 18 February 2005 12:36 pm, Andreas Ericsson wrote:
> > This is also busted. The logic expects the MIB-description of the OID
> > and an equal sign, which is impossible to get with ucd-snmp and net-snmp
> > < 5.0.2. It's just poorly coded, that's all. What happens if you run
> > snmpget -Ovq on the target? If that works, then at least I know that
> > much. The "errors" being undefined is an easy fix, so long as I know the
> > rest of the code is sound.
>
> Hi Andreas and thanks,
>
> When I do:
>
> # snmpget -Ovq -m : -v 1 -c public <hostname>
>
> or
>
> # snmpget -Ovq <hostname>
>
> I get the usage information for snmpget, so it doesn't even do any snmp
> communication, right? So I then copied the source file and made a shell
> script from the stuff it had and ran the full command with the OIDs and all
> like:
>
> # snmpget -Ovq -m : -v 1 -c public <hostname> <all the OIDs>
>
> Which did actually work. I got twelve lines of output (there were 12 OIDs
> in the command) with all but the last one being '0', and the last one was
> two double quotes. So I think the -Ovq will be fine, so long as the OIDs
> are there.
>
> again, thanks
> mac
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
--
Edward MacGillivray
504-200-1600x322
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list