Re: SIGHUP breaks 5.3.0.1 agent

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
John Hardin wrote:
> I have a fully functional agent that appears to forget about all
> objects whenever it gets a SIGHUP.  I have been using SIGHUP
> to cause the agent to re-read snmpd.conf after a config change.
> This has been working since UCD-SNMP 4.2 up through Net-SNMP
> 5.2.1.  I recently upgraded to 5.3.0.1 and now after the agent receives
> a SIGHUP it responds to all GETs with No Such Object and to all
> walks with End of MIB View.  It's as if it forgot about all registered
> MIB handlers.  This is true of all MIBs, including MIB-2.
> 
> I am using Net-SNMP 5.3.0.1 on Linux with a 64-bit compile, but
> the problem also happens on a 32-bit compile.

Weird. Can you please tell us:
- the output of "net-snmp-config --configure-options"
- the exact command-line (and related environment variables) of your 
snmpd invocation
- the content of your snmpd.conf file(s) (initially and just before the 
SIGHUP)
- the output of "snmpd -f -Le -Dread_config ..." from startup until some 
seconds after the SIGHUP
- a minimal test case to reproduce the problem (does it also happen with 
just "rocommunity something" in your snmpd.conf?)


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.