Snmpnetstat with SNMPv3 credentials fails

jhammerschmidt <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <C16A1253.20D5%[email protected]>
Hi,

  I'm running NET SNMP 5.2.3-1 from Debian testing packages.  When I issue a
snmpnetstat with snmpcmd common options for SNMPv3 credentials I get an
error.

snmpnetstat -v 3 -a MD5 -u snmp -A metrolandsnmpv3pass  -nr 192.168.6.4
snmpnetstat: Unknown host (MD5)

Although -a is a common option, it's also a flag for snmpnetstat, and trying
to treat it as such.  Without using a snmp.conf file, can I get around this?

man snmpnetstat
 snmpnetstat [common options] [-a] [-n] AGENT

 common options
  Please see snmpcmd(1) for a list of possible values for common  options
as  well  as  their descriptions.

  -a  With the default display, show the state of all sockets; normally
sockets used by server processes are not shown.

man snmpcmd
 -a authProtocol
   Set the authentication protocol (MD5 or SHA) used for authenticated
SNMPv3  messages. Overrides the defAuthType token in the snmp.conf file.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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.