check_ifstatus/check_snmp hell
Subhendu Ghosh
sghosh at sghosh.org
Wed Nov 5 18:52:51 CET 2003
In addition to removing the alarm section, can you add a debug statement
near line 125 after the push statetments...
$session->debug(0x02);
this will enable PDU encoding/decoding
Please post the cli output.
-sg
On Wed, 5 Nov 2003, Jon Lyons wrote:
> Hi,
> I ended up removing this section of code from check-ifstatus; with
> tcpdump I was able to see the snmp polls and responses to/from the hosts
> that were having problems. However I would still get the No snmp
> response(timeout error?). Let me know if you still need my configs....
>
> # Just in case of problems, let's not hang Nagios
> $SIG{'ALRM'} = sub {
> print ("ERROR: No snmp response from $hostname (alarm timeout)\n");
> exit $ERRORS{"UNKNOWN"};
> };
>
> ./check_ifstatus -V
> check_ifstatus (nagios-plugins 1.3.1) 1.7
>
>
>
> Subhendu Ghosh <sghosh at sghosh.org> wrote:
> On Sun, 2 Nov 2003, Jon Lyons wrote:
>
> > Hey all,
> > I've been having several issues with snmp and my nagios machine,
> > check_ifstatus reports ERROR: No snmp response from 10.128.254.12 (alarm
> > timeout) however when I execute the command from the command line
> >
>
> ---------------------------------
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
--
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
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