Re: snmpd conf at run time

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 13/12/2007, Meilán García Antonio <[email protected]> wrote:
> I would like to set or clear some trap2sink token and modify the
> community names at run time on the actual snmpd file configuration
> (snmpd.conf) but I don't know.

There are two main techniques to do this:
   a)   Edit the 'snmpd.conf' file with the new settings,
          and then send the agent the HUP signal.

   b)   Manipulate the SNMP-NOTIFICATION:snmpNotifyTable,
         SNMP-TARGET-MIB::snmpTargetAddrTable and
         SNMP-TARGET-MIB::snmpTargetParamsTable directly
         (using SNMP SET requests).

You might need to set up the destinations in the Notify and Target
tables via SET requests as well - I can't remember whether the
"trap2sink" entries are effectively read-only.

Try setting up a destination via 'trap2sink', and look at these three
tables to see how things all fit together.

Dave

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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.