The Net-SNMP utility snmpusm is used to maintain SNMPv3 users. This utility can
be very useful when it comes to managing and creating users on the fly,Note
that to use this command, your SNMPv3 user must have write access to the
usmUserTable in the agent,
snmpd.conf
snmpd.conf file:
rwuser user1 auth system
rwuser user1 auth
________________________________
From: sarath azad <[email protected]>
To: Anish <[email protected]>
Cc: "[email protected]"
<[email protected]>
Sent: Friday, 6 September 2013 1:12 PM
Subject: Re: which is better way to create SNMPv3 users
Hi Anish,
Thanks for the reply.
My requirement is to create SNMPv3 users when ever needed, and not just at the
Agent start up.
Also if I am creating a user using SNMPUSM command, I am able to create, but
they are not persistent across a Agent restart.
Once i created a user using SNMPUSM I have tried to send signal -HUP to snmpd
process to see if the new user is getting updated in the persistent snmpd.conf
file, but it was not updating.
Any idea how to make the users created by SNMPUSM copied to persistent
snmpd.conf file, so that it will be persistent across the Agent restart.
I am thinking about this option of using SNMPUSM as it doesnot require restart
of the Agent process.
Thanks and regards
S Sarath
________________________________
From: Anish <[email protected]>
To: sarath azad <[email protected]>
Cc: "[email protected]"
<[email protected]>
Sent: Friday, September 6, 2013 12:52 AM
Subject: Re: which is better way to create SNMPv3 users
Create a user/Snmv3 session when your Agent starts,
________________________________
From: sarath azad <[email protected]>
To: "[email protected]"
<[email protected]>
Sent: Thursday, 5 September 2013 7:12 PM
Subject: which is better way to create SNMPv3 users
Hello,
Could you please tell which is better way to create a SNMPv3 user?
1. creating the user using SNMPUSM command, which doesnot involve restart of
snmp agent process. But for this we need to maintain one sample user based on
which we need to create the new users.
2. creating by directly editing the persistent snmpd.conf file using
"createUser". Here restart of the snmp agent process is necessary, but no need
to maintain any extra users for making other user configurations.
thanks and regards
S Sarath
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders