Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Good day to you.

I have net-snmp-5.4.2.1-r1 on recent gentoo host, there's an extension to snmpd configuration, like :

   exec dashboard-hlpdesk-login /opt/server/bin/hlpdesk-login.sh
   exec dashboard-radius-login /opt/server/bin/radius-login.sh

Fetching values by MIB or OID is fine except when I run

snmpwalk  -v2c -c public localhost NET-SNMP-EXTEND-MIB::nsExtendOutput1Table
Timeout: No Response from localhost

That timeout seems random.

And that also affects fetching single extended oids either with snmpget or snmpwalk, fetching freezes for several seconds and then works again.

P.S. I've also tried it on recent Debian Squeeze, same.

share|improve this question
    
One of extend cmds take 1-5sec to complete. –  elementai Mar 29 '11 at 13:42

1 Answer 1

By default the timeout for snmpwalk is really really short(I've seen implementations where it is set to 300ms by default). Try:

# snmpwalk -t 20 ...

(or whatever the timeout value is for the version of snmpwalk you are using)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.