Hi
I am trying to get snmp version3 traps and informs to work but so far with no success. Previously I had an application sending snmptraps(version 1) from linux to snmptrapd running on windows2000. The command I used was

snmptrap –v1 –c public 134.202.84.204 ‘’ 134.202.84.1 69 ‘’ ‘’ systemScalars.name.0 s “trap”

Now I want to update the traps to version 3 informs. The problems I am facing are 1) I went through the tutorial for snmpv3 traps and used the createUser command and successfully sent the snmptrap with the following command snmptrap –e 0x0102030405 –v 3 –u myuser –a MD5 –A mypassword –l authNoPriv 134.202.84.204 42 coldStart.0

Now I want to send parameters, so I used the command
snmptrap –e 0x0102030405 –v 3 –u myuser –a MD5 –A mypassword –l authNoPriv 134.202.84.204 69 systemScalars.name.0 s “trap”
but I get
s:Missing type/value for variable

How do I go about solving it
2)      Also since I wrote the
createUser –e 0x0102030405 myuser MD5 mypassword DES myotherpassword
command in c:\usr\share\snmp\snmptrapd.conf so it is visible to all the users. Is there any way I can hide this information
3)      After failing with the above I tried to use the snmp version 2 informs.
snmptrap -v2c -c public 134.202.84.204 “” systemScalars.name.0
which worked perfectly fine but when I tried to use snmpinforms with the command
snmpinform -v2c -c public 134.202.84.204 “” systemScalars.name.0
I get snmpinform:Timeout on the linux side
Whereas on the windows side(the one where snmptrapd is running) I receive the following 6 times SNMPv2-MIB::sysUpTime.0 = Timeticks: (656688) 1:49:26.88 SNMPv2-MIB::snmp
TrapOID.0 = OID: SNMPv2-SMI::enterprises.8072.2.1.1.0
What on earth is happening and what am I doing wrong.
Would someone help me out and give examples of command through which I can send snmpinforms with parameters on version 3. Thanks a lot

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
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

Reply via email to