(unknown)

"Markus Hofer" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi all

I got a problem in setting up net-snmp on a windows host. What i wanna do is to use snmpget to get some information from the windows host

So far i am using the following configuration: I have two computers, one is running windows xp, one is running linux

Windows host: Here i created 2 users the following way in the C:\usr\etc\snmp\snmpd.conf file


createUser snmpv3_MD5_authNoPriv_w MD5 "helloworld"
rouser snmpv3_MD5_authNoPriv_w 

createUser snmpv3_SHA_authNoPriv_w SHA "helloworld"
rouser snmpv3_SHA_authNoPriv_w 

afterwards i restarted my net snmp agent the following way

net stop "Net-SNMP Agent"
net start "Net-SNMP Agent"
(the Net-SNMP agent is registerd)

on the linux computer i also created 2 users the following way

createUser snmpv3_MD5_authNoPriv MD5 "helloworld"
rouser snmpv3_MD5_authNoPriv 

createUser snmpv3_SHA_authNoPriv SHA "helloworld"
rouser snmpv3_SHA_authNoPriv

after restarting the agent on the linux computer i wanted to try to get data first using the windows computer to get data from the linux computer and then the other way arround.

Using the windows computer i tried

snmpget -v 3 -u snmpv3_MD5_authNoPriv -l authNoPriv -a MD5 -A helloworld <ipaddress-linux> system.sysUpTime.0

to get info from the linux computer, what worked without any problems

however if i try that from the linux computer using

snmpget -Dusm -v 3 -u snmpv3_SHA_authNoPriv_w -l authNoPriv -a SHA -A helloworld <ipaddress-windows> system.sysUpTime.0

i get the following output 6 times what finally ends with a timeout

usm: getting user
usm: USM processing has begun (offset 22)
usm: getting user
usm: Failed to find engine data.
usm: USM processing completed.

Trying to access the users locally from the windows computer itself works without any problems, what means that the configuration of the users should be correct.
As far is i know the process doesnt know the engine ID up front, so it sends a snmpget message to get the correct engineID; afterwards it performs the correspondig snmpget to get e.g the sysUpTime. I observed that process when i tried to access data from linux computer accessed by the windows computer. However this doesent work when i use the linux computer. Here i just get nothing at all

So what could the problem be here?

I hope you can help me

Greetings MAX
-- 
GMX.at - Österreichs FreeMail-Dienst mit über 2 Mio Mitgliedern
E-Mail, SMS & mehr! Kostenlos: http://portal.gmx.net/de/go/atfreemail

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
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.