Archive

Archive for the ‘SCOM2Nagios’ Category

SCOM2Nagios 1.5

October 16th, 2011 5 comments

Find the newest version on top of: http://www.mbaeker.de/tag/scom2nagios/

Released a new Version of the SCOM2Nagios Connector. Changes:

1.5
* NEW: NagiosHost2 and NagiosPort2 in config (fast change upon request)
* BUG: Processings equals instruction hasnt’t worked correctly

This is currently a fast release without much testing. Please add a comment if anything is broken!

Download: SCOM2Nagios (Version 1.5) (170)

SCOM2Nagios 1.4

April 12th, 2010 22 comments

Find the newest version on top of: http://www.mbaeker.de/tag/scom2nagios/

Released a new Version of the SCOM2Nagios Connector. Changes:

1.4

* NEW: variables for processing instruction
* NEW: change case of output (upper/lower)
* BUG: no crash if scom connection is lost
* BUG: no longer needs fullpath in config

Example:

<instruction>
<input field=”path” compare=”containsIgnoreCase”>mcscom</input>
<output field=”host” case=”upper”>$path</output>
</instruction>

If path contains mcscom than replace the host in the output with the upper case of the ObjectFullPath variable of the input alert.

Possible replacement variables:

path, netbios, fullname, severity, state, name, description, alertid

Download: SCOM2Nagios (615)

SCOM2Nagios 1.3

December 6th, 2009 No comments

Find the newest version on top of: http://www.mbaeker.de/tag/scom2nagios/

I have uploaded a release of the Nagios Connector 1.3. You can read about the changes in this post:

http://www.mbaeker.de/2009/10/preinfo-nagios2scom-1-3/
I have only made some short and fast tests. So be cautious.

Download: SCOM2Nagios (141)

PreInfo: SCOM2Nagios 1.3

October 12th, 2009 17 comments

The new version is released here: http://www.mbaeker.de/category/tools/scom2nagios/

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…

FB_Addon_TelNo{ height:15px !important; white-space: nowrap !important; background-color: #0ff0ff;}

FB_Addon_TelNo{ height:15px !important; white-space: nowrap !important; background-color: #0ff0ff;}

SCOM2Nagios 1.2

July 30th, 2009 21 comments

Find the newest version on top of: http://www.mbaeker.de/tag/scom2nagios/

Attached is the new version of the SCOM2Nagios Connector.

There is just one small thing changed:

You can now define the OK message in config file. So no more german status messages in your nagios :-)

And thanks to Thomas Karatzoglou we now have an english installation instruction in the file.

Download Link: SCOM2Nagios (252)

FB_Addon_TelNo{ height:15px !important; white-space: nowrap !important; background-color: #0ff0ff;}

SCOM2Nagios Version 1.1

July 13th, 2009 2 comments

Find the newest version on top of: http://www.mbaeker.de/category/tools/scom2nagios/

Anbei die Version 1.1 des Nagios Connectors. Er beinhaltet nur geringe Änderungen:

  • Ausgabe der Versionsnummer in der Logdatei
  • Detailliertere Logausgaben
  • Fehler beim zweiten Nagios Server: er wurde in jedem Fall aufgerufen

Download: SCOM2Nagios_1.1

Connector SCOM -> Nagios

November 30th, 2008 11 comments

Find the newest version on top of: http://www.mbaeker.de/category/tools/scom2nagios/

In meinem Umfeld ist Nagios als oberster Überwachungspunkt definiert worden. Daher hat sich bereits eine on mir betreute Diplomarbeit u.a. mit der Anbindung von SCOM an Nagios beschäftigt. Daraus hat sich ergeben, dass sich SCOM am Besten mittels send_ncsa anbinden lässt, da dieses Tool (das auch für Windows existiert) die Übertragung verschlüsseln kann und nicht auf Email (Verzögerung und was ist wenn man damit die Emailumgebung überwachen will?) bzw. snmp (wird von einigen als unsicher angesehen…) setzt.

Innerhalb der Diplomarbeit wurde ein vbs Skript entwickelt, dass regelmäßig ausgeführt die Alerts ausliest und per send_ncsa weiterleitet. Auf Seiten des Nagios existiert pro weitergeleiteten Host ein dummy Host (nicht aktiv überwacht) und ein Service SCOM.

Im Rahmen der Produktivsetzung, die ich letzte Woche bekommen habe, habe ich mich entschieden, dass es sinnvoller ist dieses Script als Connector für SCOM umzusetzen. Bis jetzt läuft es recht gut..