I have a Net-SNMP agent running on a Linux computer.

I want to write a script/program that automatically change the 
community strings (I'm not interested in SNMPv3).

Actually I know how to stop and restart the snmpd daemon. But how to 
change the community strings?
I know they are written in snmpd.conf file. Do you have any 
suggestions how can I modify it changing the community strings?

Is it possible to change the community strings through SNMP SET 
requests (of course, knowing the old community strings)?

Is it possible to pass the community strings as command line 
parameters to snmpd, so I can change only the command line that 
starts the daemon?

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
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

Reply via email to