Thursday, November 18, 2010

Simulating OpenView Events With Net-SNMP SNMP Traps



Simulating OpenView Events With via Net-SNMP
SNMP Traps

Abstract:
HP OpenView Network Node Manager used to be the industry standard network management tool. Net-SNMP is the standard SNMP stack used on most operating systems, such as Solaris. There is still a need to simulate the platform for migration of infrastructure. One common way to simulate the HP OpenView Network Node Manager environment is through the use of OpenView Events (ovevent) and Net-SNMP SNMP Traps (snmptrap) commands.

OpenView Events
The HP OpenView Node Down Event can be simulated through a guaranteed transport via the "ovevent" command.
ovevent $Severity $NMS \ .1.3.6.1.4.1.11.2.17.1.0.$Event \ .1.3.6.1.4.1.11.2.17.2.1.0 Integer 14 \ .1.3.6.1.4.1.11.2.17.2.2.0 OctetString ${Node}

NMS = IP or Resolvable Name of Network Management Station
Node = IP or Resolvable Name of the Managed Device
Severity = Critical, Major, Minor, Info
Event = 58916865 [OV_Node_Down], 58916864 [OV_Node_Up]
Simulate Using Net-SNMP via SNMP V1 Trap
An SNMP V1 trap can be produced to closel simulate this Node Down event. Note, this is not the exact representation, nor is the delivery of the event guaranteed. An SNMP Trap Receiver must receive this.
snmptrap -v 1 -c $Community $NMS \
.1.3.6.1.4.1.11.2.17.1 ${Node} 6 58916865 0


Community= SNMP Community String on used on Network Managment Station
Simulate Using Net-SNMP via SNMP V2c Trap
An SNMP V2c trap can be produced to closel simulate this Node Down event. Note, this is not the exact representation, nor is the delivery of the event guaranteed. An SNMP Trap Receiver must receive this.
snmptrap -v 2c -c $Community $NMS \
0 .1.3.6.1.4.1.11.2.17.1.0.58916865 \
.1.3.6.1.4.1.11.2.17.2.1.0 i 14 \
.1.3.6.1.4.1.11.2.17.2.2.0 s $Node
Simulate Using Net-SNMP via SNMP V2c Trap Test Tool
An SNMP V2c trap can be produced to closel simulate this Node Down event. Note, this is not the exact representation, nor is the delivery of the event guaranteed. An SNMP Trap Receiver must receive this.
snmptest -v 2c -c $Community $NMS:162 \<\<\!
\$T
.1.3.6.1.2.1.1.3.0
t
0
.1.3.6.1.6.3.1.1.4.1.0
o
.1.3.6.1.4.1.11.2.17.1.0.58916865
i
0
.1.3.6.1.4.1.11.2.17.2.1.0
i
14
.1.3.6.1.4.1.11.2.17.2.2.0
s
$Node

\!
Conclusion:
Common events from HP OpenView Network Node Manager, the former "gold standard" in Network Management, can be simulated under stock Solaris 10 and Solaris 11 with simple available OS commands.


No comments:

Post a Comment