Server Management - Systems Insight Manager
1833778 Members
2401 Online
110063 Solutions
New Discussion

Re: SNMP Trap Variables

 
SOLVED
Go to solution
Jeff Lecko
Occasional Advisor

SNMP Trap Variables

Is there any way to pass the variables generated by an SNMP trap to an alert?

Specifically, I have registered the VMWare Traps MIB in SIM. SIM is now alerting when a virtual machine is powered off, heartbeat lost, etc. The only shortcoming is that the SIM alert does not contain the name of the virtual machine.

The trap does contain this information, and it is displayed by SIM in the Task instance detail section of the Manage Tasks screen under Automatic Event Handling.

I am using a VB script to parse, format, and email the SIM Event, but I do not see this information in the NOTICEPLAINTEXT variable.
3 REPLIES 3
Rob Buxton
Honored Contributor
Solution

Re: SNMP Trap Variables

Jeff,
I've not checked myself but there's a raw data variable (NOTICERAWDATA I think) you might want to try that.

Maybe 4.2 will offer a bit more Virtual Server identification.
Jeff Lecko
Occasional Advisor

Re: SNMP Trap Variables

That looks like a possible solution. I tried using it though, and found that it wasn't there. I ran a special task that just executed a SET command and all variables were present except noticerawdata.

I wonder if this variable is available, or if it needs to be enabled somewhere.
Rob Buxton
Honored Contributor

Re: SNMP Trap Variables

Jeff,

For a full list of variables see:
http://www.hp.com/wwsolutions/misc/downloads/management/hpsim/sys-book.pdf

Go to Using Default Tools / Custom Command Tools

NoticeRawData is, according to this a variable.
I didn't think there was anything required to send this as opposed to any of the others.