HP OpenView HPOV Event Handler (Visit this link)
Review It Rate It Change request Bookmark It
nagios interwiki link: [[nex:2456 | HP OpenView HPOV Event Handler]]
This HP OpenView (HPOV) Event Handler takes the output of a Nagios monitoring system and feeds it into HP OpenView. As submitted, requires Monarch or GroundWork Monitor Open Source (both are readily downloadable from SourceForge)
\'\'This HPOV Event Handler takes the output of a Nagios monitoring system and feeds it into HP OpenView.
Additional requirements: these instructions assume Monarch or GroundWork Monitor Open Source is installed (either is readily downloadable from SourceForge). If you come up with a generalized procedure that works with generic Nagios please feel free to inform us and post it as well.
==========================================
The eventhandler will call the Openview command \'opcmsg\' which has the following syntax:
/opt/OV/bin/OpC/opcmsg node=
>
>
- In Monarch, Commands, add a command with name \"hpov_host_eventhandler\".
- The command line should be:
/usr/local/groundwork/nagios/eventhandlers/hpov_eventhandler.pl host $LASTHOSTCHECK$ \"$HOSTNAME$\" \"$HOSTSTATE$\" \"$HOSTOUTPUT$\"
- The command type should be \"other\".
2. Define the command to be used for the service global event handler.
- In Monarch, Commands, add a command with name \"hpov_service_eventhandler\".
- The command line should be:
/usr/local/groundwork/nagios/eventhandlers/hpov_eventhandler.pl service $LASTSERVICECHECK$ \"$HOSTNAME$\" \"$SERVICESTATE$\" \"$SERVICEOUTPUT$\" \"$SERVICEDESC$\"
- The command type should be \"other\".
3. Modify Nagios main config to enable the eventhandlers. Make the following changes in Monarch, Control, Nagios.cfg edit:
- Enable eventhandlers.
- Set the Global Host Eventhandler to hpov_host_eventhandler. This should be in the dropdown list.
- Set the Global Service Eventhandler to hpov_service_eventhandler. This should be in the dropdown list.
- Commit the changes to Nagios.
If you need to debug, you can look at the log file /usr/local/groundwork/nagios/eventhandlers/hpov.log for the opcmsg commands.\'\'
| Working nagios version | ![]() |
not available |
| Filename | Size | Description | DL | |
|---|---|---|---|---|
| hpov_eventhandler.pl |
|
2.07 kB | HP OpenView HPOV Event Handler perl script | 56/38/1/0 |
Submitted by: GroundWork
Hits: 79
Added: Mon Mar 26 2007
Last Modified: Mon Mar 31 2008
People also visited...
## i am not giving any guarantee with this script.
## if you use it it is your own responsibility!
Previous

