Forwarding OpManager Alarms as traps to HP NNM

1,427 views

Published on

Forward alarms raised in OpManager as traps to HP NNM

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,427
On SlideShare
0
From Embeds
0
Number of Embeds
10
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Forwarding OpManager Alarms as traps to HP NNM

  1. 1. ForwardingOpManager Alarms as Traps to HP NNM
  2. 2. 1. Install Net-SNMP in OpManager installed server.2. Use the Run Program notification profile (Admin->Notification Profile) and specify the following:Command Name: sendtrap.batProgram Arguments: [manager-name] $source $displayName$strModTime $category $severity $message
  3. 3. 3. Create a batch file "sendtrap.bat" under /opmanagerwhich invokes the snmptrap command. This file has to becreated on the OpManager server.The contents of this file would be like the one shownbelow:snmptrap -v 1 -c public %1 .1.3.6.7.2.1.3.1 %2 1 6 ’ .1.3.6.7.2.1.3.1.1.2 s %3,%4,%5,%6
  4. 4. SNMP TrapCommunity String Generic type number Specific OID: Can be defined as per your Enterprise OID: Can convenience be defined as per your conveniencesnmptrap -v 1 -c public %1 .1.3.6.7.2.1.3.1 %2 1 6 .1.3.6.7.2.1.3.1.1.2 s %3,%4,%5,%6 Host name/IP of the Specific type Host name/IP of the numbertrap manager that has Device for which an to receive the traps alarm is raised Message body: Can contain the following variables: $displayName – device’s display name, $strModTime – alarm generated time, $category – device category (Router, Server), $severity – Alarm severity (Critical, trouble), $message – alarm message (Threshold violated, service down)
  5. 5. 4. Associate the notification profile to the devices.Whenever an alarm is raised in OpManager, it willforwarded as a SNMP trap to HP NNM Alarm raised in Same alarm is OpManager raised in HP NNM Alarm is forwarded as SNMP Trap OpManager HP NNM
  6. 6. Thank youbharanikumar@zohocorp.com

×