Re: Re-reading a persistent store

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Wed, 2005-11-09 at 14:11 -0500, [email protected] wrote:
> I found code in the agent to re-read configuration when a SIGHUP is
> received but changing my-subagent.conf and issuing SIGHUP to snmpd
> didn't reread the persistent store.

That should have triggered the main snmpd agent to re-read its
configuration (including the persistent storage).  But the main
agent and the subagent are two completely independent processes.
Reconfiguring one won't have any effect on the other.


>   Do I need to send SIGHUP to my sub-agent?

You certainly need to tell your sub-agent to re-read its
configuration.  Without seeing the exact code, I wouldn't
like to say whether SIGHUP would do the trick, but it's
worth a try.

Suck it and see.

Dave


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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.