Page 1 of 1

Nagios XI using HP's BSM Connector Question

Posted: Mon Feb 02, 2015 10:51 am
by JakeHatMacys
We've hooked up HP's BSM Nagios Connector to XI but would like it to pass the Host Group of each device, the daemon doesn't seem to do this out of the box. Wanted to know if we could tweak it to do so.

Snippet from the PDF:

Code: Select all

The BSM Connector for Nagios utilizes a proprietary NEB module k for the following functions:
l At startup, the NEB module registers a callback function for various events relevant to BSM.
After registering the callback function, the NEB pushes information to the NEB module at regular
intervals.
l The NEB module processes the information passed by the NEB callback function and passes it
on to an integration daemon.
The daemon passes the information to two streams, referred to as pipelines, each of which is
processed in a different manner, as follows:
l Events
One of the pipelines l holds event information. The integration daemon converts the information
to XML in a format compatible with BSM Connector m. A BSM Connector policy reads the XML
file and passes the Nagios events on to BSM.
l Metrics
The other pipeline n holds information used as metrics. The integration daemon converts the
information to a structured log file o. A BSM Connector policy reads the log file and passes the
metrics obtained from Nagios on to BSM.
What we're actually seeing on the BSM server:

Code: Select all

<message>
<genint_meta>
<integration_name>HPBsmIntNagios</integration_name>
<integration_type>EVENT</integration_type>
</genint_meta>
<msg_node_name><![CDATA[esu1l268.federated.fds]]></msg_node_name>
<state><![CDATA[0]]></state>
<output><![CDATA[OK - 11.120.112.168: rta 45.119ms, lost 0%]]></output>
<current_state><![CDATA[0]]></current_state>
<current_state_name><![CDATA[OK]]></current_state_name>
<last_state><![CDATA[2]]></last_state>
<last_state_name><![CDATA[CRITICAL]]></last_state_name>
<current_event_id><![CDATA[130940]]></current_event_id>
<last_event_id><![CDATA[130602]]></last_event_id>
<service>
<description><![CDATA[Ping]]></description>
<display_name><![CDATA[Ping]]></display_name>
</service>
<host>
<name><![CDATA[s76d0z11]]></name>
<display_name><![CDATA[s76d0z11]]></display_name>
<alias><![CDATA[Solaris 10]]></alias>
<address><![CDATA[11.120.112.168]]></address>
</host>
<datetime>
<timestamp><![CDATA[1422645801]]></timestamp>
<iso><![CDATA[2015-01-30 14:23:21]]></iso>
</datetime>
</message>
We just want to know if we can get host group included on that.

Re: Nagios XI using HP's BSM Connector Question

Posted: Mon Feb 02, 2015 12:19 pm
by admin
Hi Jake -

It looks like the BSM module would have to be modified and recompiled in order to support sending hostgroup info. You might want to try posting to HP's forum about the module to see if the developers can make this change:

BSM connector discussion forum:
https://hpln.hp.com/node/19701/og/forum/555

General page for BSM connector:
https://hpln.hp.com/contentoffering/bsm ... tor-nagios