Hi all,
I was successful in sending the following trap from a windows machine with net-snmp snmptrap.exe, however, I get an error. Can anyone explain what it means? I send the following:
"C:\usr\bin\snmptrap" -v3 -l authPriv -u MYAUTHPRIVUSER -a MD5 -A MYAUTHPASS -x DES -X MYPRIVPASS 10.1.2.3:162 "" NOTIFICATION-TEST-MIB::demo-notif SNMPv2-MIB::sysLocation.0 s "just here"
I get the following error in the c:\ProgramData\SolarWinds\Logs\Orion\TrapService.log:
2011-11-28 14:56:36,020 [4] ERROR TrapService.OID - Error occured trying to parse value! Returning value as is!
System.OverflowException: Value was either too large or too small for an Int32.
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Convert.ToInt32(String value)
at TrapService.OID.ParseValue(String value, String hexValue)
The trap shows up and is logged, however, I don't like to see the error and would like to modify the trap I am sending to ensure the error does not occur. Thanks in advance.