PreInfo: SCOM2Nagios 1.3
The new version is released here: http://www.mbaeker.de/2009/12/scom2nagios-1-3/
The next release will address two feature requests:
- Possibility to change the hostname (you don’t use fqdn host names in nagios…)
- Possibility to use more than one service in nagios (you want to separate the alerts for dns and acitve directory)
I will try to solve both by using “processing instructions”. This instructions will use the scom alert as an input filter and the nagios alert as the object to manipulate.
This instructions are defined in a xml file:
<?xml version=’1.0′ encoding=’ISO-8859-1′?>
<instructions><!–
field:
scom: path (of monitoringobject), fullname (of monitoringobject), severity, state, name (of alert), description
nagios: text, host, service, statecompare:
contains, containsIgnoreCase, equals, equalIgnoreCase–>
<instruction>
<input field=”path” compare=”contains”>DNS</input>
<output field=”service”>DNS</output>
</instruction><instruction>
<input field=”state” compare=”equals”>255</input>
<output field=”text”>Everything is OK</output>
</instruction></instructions>
What do you think about this feature?
The main code is ready. It even compiles without problems… Next step is testing – but currently I have no operations manager test system with a connected nagios…


Hi Markus,
Can you send me the SCOM2Nagios 1.3 version so I can test?
Regards
Sean
Good morning Markus,
I’m very interested in SCOM2Nagios 1.3 as soon as it will include the possibility to use more than one service in nagios.
Can you send me the SCOM2Nagios 1.3 version so eventually I can help you test out the new features?
Please, let me know and enjoy the rest of the day.
DAvide
Hi DAvide!
I have uploaded a version of 1.3. Be free to test and report any problem!
Thanks for your feedback
Markus
Hi Sean,
Sorry for answering so late. There is a new download available.
Thanks for your feedback
Markus
Hi Markus,
Can you provide an example for the instruction.xml to just display the hostname and not FQDN. For instance server1.test.local to be just server1.
Also I have 1 SCOM host that is sent as “Microsoft.Windows.Computer:server1.test.local” to Nagios. How can that be filtered to just server1.
Thanks
Sean
Hi,
this seems the rigth solution for me, but I have some issues.
I need to change the host name send by SCOM to the one used by Nagios.
I try create a processing.xml, using the instructions but it seems that it’s not working. (Does version 1.3 processes the instructions? it’s not clear if it’s version 1.3 or the next version)
In the tracelog.txt the path is empty “04-02-2010 17:30:08: Alert Received: Path: , Name: …”. In the SCOM console the path exists.
Tanks
Artur
Hi,
I’n trying to make it work on windows 2008 r2 64 bits and the service just won’t start. Anyone got this configuration working?
Ty
Hi Martin,
please be a little bit patience. Yesterday I ordered my new testing environment. I hope that it is up in a week and that I can install a full SCOM server for answering all upcoming questions around this tool