Hello,
SNMPv3 users are stored in the usmUserTable (OID=.1.3.6.1.6.3.15.1.2.2).
This table has the following entries
usmUserTable
+----usmUserEntry(1)
+-----usmUserEngineID(1)
+-----usmUserName (2)
+-----usmUserSecurityName (3)
+----- ..... (see
http://www.net-snmp.org/wiki/index.php/TUT:SNMPv3_Options for details
You are looking for the usmUserSecurityName and, for a complete list of
such items, you can walk the usmUserTable over
the same field; for example you can execute
snmpwalk .1.3.6.1.6.3.15.1.2.2.1.3
to obtain all configured users in the usmUserTable.
I hope this will help.
2013/11/21 sarath azad <saraths...@yahoo.co.in>
> Hello,
>
> Could you please tell, in a program, what is the best method to show all
> the SNMPv3 users configured?
>
> Is it a good, to write a function to read the snmpd.conf file to show all
> the configured SNMPv3 users?
> Or is there any other API to get the list of SNMPv3 users configured?
>
> Thanks and regards
> S Sarath
>
>
> ------------------------------------------------------------------------------
> Shape the Mobile Experience: Free Subscription
> Software experts and developers: Be at the forefront of tech innovation.
> Intel(R) Software Adrenaline delivers strategic insight and game-changing
> conversations that shape the rapidly evolving mobile landscape. Sign up
> now.
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> _______________________________________________
> Net-snmp-users mailing list
> Net-snmp-users@lists.sourceforge.net
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>
>
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users