Home > English, Operations Manager, System Center, Uncategorized > PreInfo: SCOM2Nagios 1.3

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:

  1. Possibility to change the hostname (you don’t use fqdn host names in nagios…)
  2. 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, state

compare:
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…

  1. Sean
    November 10th, 2009 at 12:55 | #1

    Hi Markus,

    Can you send me the SCOM2Nagios 1.3 version so I can test?

    Regards
    Sean

  2. DAvide Villani
    November 20th, 2009 at 12:03 | #2

    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

  3. markus
    December 6th, 2009 at 15:56 | #3

    Hi DAvide!

    I have uploaded a version of 1.3. Be free to test and report any problem!

    Thanks for your feedback

    Markus

  4. markus
    December 6th, 2009 at 15:56 | #4

    Hi Sean,

    Sorry for answering so late. There is a new download available.

    Thanks for your feedback

    Markus

  5. Sean
    January 14th, 2010 at 13:29 | #5

    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

  6. Artur Pinheiro
    February 4th, 2010 at 19:50 | #6

    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

  7. Martin
    February 12th, 2010 at 14:30 | #7

    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

  8. markus
    February 15th, 2010 at 20:26 | #8

    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 :-)

  1. October 14th, 2009 at 19:12 | #1
  2. December 7th, 2009 at 20:32 | #2