Re: snmpd conf at run time

Meilán García Antonio <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Mike Ayers escribió:
>> From: [email protected] 
>> [mailto:[email protected]] On 
>> Behalf Of Meilán García Antonio
>> Sent: Thursday, December 13, 2007 2:59 AM
>>     
>
>   
>> 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.
>>     
>
> 	You are almost certainly doing something wrong here.  Community names are used[1] to identify receivers.  There is no reason that the master agent should be changing the list of receivers based on some obscure internal logic.  Are you trying to prevent traps from arriving at certain receivers?
>
>
>
> Mike
>
> [1]  Community names are used for *lots* of things, including cleartext passwords, access specifiers, and departmental indicators, but all these uses effectively boil down to indicating who will receive the trap.  Actually, that's what the intent tends to boil down to, but things are often different in practice, which is why I'm a v3 man!
>
>   
About communities, I would like that the manager could change only the 
communities name, and change (or add/del) traps destination. The only 
mode for changing these parameters is changing these tokens in 
snmpd.conf? and if this is so, how can I change it at run time?

I was reading the web

http://net-snmp.sourceforge.net/dev/agent/group__read__config.html

but this is only the headers functions and is not enough for 
understanding it.

Thanks

-------------------------------------------------------------------------
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.