On Tue, 21 Apr 2015 23:13:25 +0000 Charles wrote:
CS> I am in the process of writing some c code along with the
CS> net-snmp library to create/update snmp users. I have found the
CS> function "create_user_from_session" but I'm not sure if this is
CS> the correct function to call or its proper usage, I have
CS> started snmpd with the -DALL option but don't see any
CS> additional output when the create_user_from_session function is
CS> called. Any help in creating snmp users through the API is
CS> greatly appreciated

Hi Charles,

Did you ever figure this out? Adding users is pretty easy. You can
simply build up a snmpd.conf style text string and pass it to
netsnmp_config(). Updating users is a bit trickier.

Robert

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to