check_snmp and timeout]
Subhendu Ghosh
sghosh at sghosh.org
Wed Apr 30 14:51:32 CEST 2003
This is a bug -
http://sourceforge.net/tracker/index.php?func=detail&aid=683235&group_id=29880&atid=397597
On Wed, 30 Apr 2003, Fredrik Wänglund wrote:
>
>
> OK, 10.20.30.40 is a non-existing host just to show how it looks when
> check_snmp times out.
> What I wanted to show was that regardless of whether i have '-t 30' or
> not the plugin exits
> after 6 seconds with the message;
>
> SNMP problem - No data recieved from host
> CMD: /usr/bin/snmpget -m NONE -v 1 -c abc 10.20.30.40:161 1.2
>
> If the CMD:... is the complete commandline the plugin calls, then it
> look like
> the timeoutvalue is simply ignored by the plugin.
>
>
> /FredrikW
>
>
>
> Stanley Hopcroft wrote:
>
> >Dear Sir,
> >
> >I am writing to thank you for your letter and suggest you need to make a
> >better case for the check_snmp plugin being at fault.
> >
> >Does tcpdump/tethereal/ethereal host 10.20.30.40 and port 161 show a
> >reply from the host, inside the timeout period ?
> >
> >Here's an example of what I mean (neg example, wrong community)
> >
> >tsitc> tcpdump host so-cbr and port 161
> >tcpdump: listening on fxp0
> >20:54:11.739374 tsitc.aipo.gov.au.2613 >
> >so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0
> >20:54:12.749385 tsitc.aipo.gov.au.2613 >
> >so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0
> >20:54:13.759351 tsitc.aipo.gov.au.2613 >
> >so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0
> >20:54:14.769373 tsitc.aipo.gov.au.2613 >
> >so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0
> >20:54:15.779303 tsitc.aipo.gov.au.2613 >
> >so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0
> >20:54:16.789307 tsitc.aipo.gov.au.2613 >
> >so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0
> >^C
> >12264 packets received by filter
> >0 packets dropped by kernel
> >
> >In other words, there was (in this case) no response.
> >
> >Yours sincerely.
> >
> >
> >
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> 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
>
--
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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