Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I´ve been trying to integrate Nagios 3 with HP Service Manager, but without success.

Has anybody done that already?

Can anyone help me please?

Tks

share|improve this question
    
What does "without success" mean? You should provide more info. –  quanta Aug 8 '11 at 14:42
    
It'd probably also help to explain what "integrate" means. You can run them both on the same system trivially, for example, but that may not be what's intended. –  dannysauer Aug 25 '11 at 14:32
add comment

3 Answers

We did it by using the Nagios event handler and a ruby script that called the HPSM soap based web service. Which would open a incident and add a comment to the host in comment with the incident number.

Your best bet is to look at the code published here: http://www.ifost.org.au/Software/soap-course-progs/ and do the same thing.

share|improve this answer
add comment

Try this plugin out:

http://labs.consol.de/nagios/check_hpasm/

It allows nagios to access SM through various SNMP MIBS.

share|improve this answer
    
he is referring to HP Service Manager. Not HP hardware. –  Thomas Vincent May 21 at 0:35
add comment

I haven't done this specifically, but I know both Service Manager and Nagios. Getting Nagios to create an incident is pretty straightforward. Try smcli.py (from http://www.ifost.org.au/Software/#smcli ) to create an incident.

The Nagios clear event then needs to trigger a close, but you need to keep track of which incident was previously opened to make this happen. You could either save the output from the incident create and leave it on the Nagios server somewhere so that the close script can find it, or you need to run a search against the Service Manager server to find it.

If you go with the search-and-then-close, then you will need to store "this is an incident which came from Nagios monitoring test XXXX" somewhere on Service Manager (xreference? foreign.id? third.party.reference? Add a custom field?) when you create the incident.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.