Re: help - Can IP address be overrided for V1-traps at runtime..
Wes Hardaker <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | Sparta |
| Message-ID | <[email protected]> |
>>>>> On Mon, 31 May 2010 13:19:23 +0530, "Borra, Kishore Babu" <[email protected]> said: KBB> I like to modify this("v1trapaddress", No of retries) at run time KBB> using dynamic linking(.so ) of mib file, Not through the conf file KBB> changes. KBB> Is there any way to do this? You can actually force the internal configure system to accept new configuration at any time from code by calling read_config("STRING") where string is the line you want to read. Such as read_config("v1trapaddress ...") or any other parameter you may wish to change. Alternatively, you can go see how the parser is actually handling the value passed via the configuration file and modify it directly instead (which would be more efficient). -- Wes Hardaker Cobham Analytic Solutions ------------------------------------------------------------------------------ _______________________________________________ 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