Re: snmp configuration via xinetd fails
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 28 January 2011 15:25, biplab datta <[email protected]> wrote: > how does one delete a snmpd instance started dynamically In the same way as any other network daemon - using 'kill' (There may be mechanisms such as "service stop snmpd" which can be used to shut down the agent without needing search for the process ID first, but essentially these all boil down to a wrapper round "kill") When developing an agent, I typically run it using the flags -f -Le so it doesn't detach from the terminal. Then I can shut it down using Ctrl-C. But that's just during development and testing - it's not really suitable for production use! > What I need for snmpd is to listen on multiple ports. The agent can do that much already. Either by specifying the listening ports on the command line, or by using the agentAddress config token. See snmpd(8) and snmpd.conf(5) for details. > My solution requires that those ports can be > updated (added/deleted) dynmically. Is this doable? Hmmm... that's more of a problem. I don't believe that the agent can handle such changes (other than stopping and restarting it completely). You *might* be able to support this by changing the agentAddress line in the config file, and then telling the agent to re-read the config. But I'm really not sure that would work. Dave ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ 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