Erste Version des SCOM2Nagios Connectors

Achtung: Neue Version http://www.mbaeker.de/2009/07/scom2nagios-version-1-1/

Does anyone need an english version of the instruction? Then just post a comment.

In Absprache mit meinem früheren Chef habe ich den bereits vor längerer Zeit versprochenen SCOM2Nagios Connector aufgeräumt und in eine releasefähige Version verpackt.

Ich stelle ihn hiermit unter die GPL. Lizenzinformationen sind mit im Zip File enthalten.

Ein Wort der Warnung:  Obwohl diese Version des Programms bei meinem früheren Arbeitgeber bereits im produktiven Umfeld lief, sollte er natürlich vorher ausgiebig in einer Testumgebung ausprobiert werden.

Die aktuell vorliegende Dokumentation ist sehr rudimentär und beschreibt hauptsächlich die (relative komplexe) Installation. Voraussetzung ist ein aktuelles .Net Framework, dass auch für den OpsMgr notwendig ist. Detailiertere Informationen müssen momentan noch aus dem mitgelieferten Quellcode entnommen werden.

Bei Rückfragen stehe ich natürlich über diese Webseite zur Verfügung (ohne Anspruch auf eine schnelle Reaktion).

Die Zip-Datei mit allen Informationen ist unter scc-scom2nagios_v10 zu finden.

This entry was posted in Operations Manager, System Center and tagged , , , , , . Bookmark the permalink.

4 Responses to Erste Version des SCOM2Nagios Connectors

  1. Reinhard Weh says:

    Hallo Markus,
    ich aheb nun deinen KIT Service installiert. Nun habe ich noch ein paar Fragen:

    1. der KIT Dienst stürzt häufig ab und hinterläßt im ApplicationEventlog folgendes:

    Source: SCOMAdapterService
    EventID: 0

    Fatal Error: The system cannot find the file specified
    at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
    at System.Diagnostics.Process.Start()
    at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
    at NagiosService.NagiosAdapter.sendToNagios(String server, Int32 port, String line)
    at NagiosService.NagiosAdapter.sendToNagios(String line)
    at NagiosService.SCOMAdapter.checkEvents()
    at NagiosService.NagiosService.checkEvents(Object data)
    at System.Threading._TimerCallback.TimerCallback_Context(Object state)
    at System.Threading.ExecutionContext.runTryCode(Object userData)
    at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading._TimerCallback.PerformTimerCallback(Object state)

    Wir habe am SCOM ein englisches Windows2003 SP2 mit alle Hotfixes

    Source: .NET Runtime 2.0 Error
    EventID: 5000
    EventType clr20r3, P1 nagios-scomconnector.exe, P2 1.0.0.0, P3 49df1fcc, P4 system, P5 2.0.0.0, P6 4889de7a, P7 39f4, P8 394, P9 system.componentmodel.win32, P10 NIL.

    Müssen wir das evtl. nochmal selber kompilieren ?
    Wenn ja wie?

    Ich sende noch eine separate Mail mit Anhängen und erläuterungen

    Wie kann ich denn vom SCOM Server mal ein Testevent an den Nagios ncsa senden, wie lautet da die Syntax.

    Hier aus dem NAGIOS2SCOM Logfile

    05.05.2009 13:54:47: Application startup.
    05.05.2009 13:54:47: Connection to ManagementGroup on localhost opened.
    05.05.2009 13:56:17: Alert Received: Path: fileserver01, Name: nworks VirtualCenter: Virtual Machine Memory Alarm changed to Yellow, Severity: Warning, ResolutionState: 255
    05.05.2009 13:56:17: Send to Nagios commandline: -H nagios.cds.testo -d ; -c “”C:\Program Files\NAGIOS2SCOM\Release\send_ncsa.cfg”” -p 5667, Message: fileserver01;p_scom;0;alles ok

    Gruß
    Reinhard

  2. chamlali says:

    Hi Markus,
    I want to use the connector to forward from scom to nagios. We use English versions of scom and nagios and wonder if i have to change something in your application to have all messages etc. in English as we don’t want German language mixing English. Beste regards and thanks a lot for the connector and i hope i can get it working.

    • markus says:

      Hi,

      all messages (in eventlog…) are written in english. I myself use it on a english scom system. Only the installation instructions are german (but the main commands are quite simple). The programming environment .Net 3.0 is language neutral.
      So I don’t see any risk in a german/english mix.

      Hope it helps

      Markus

  3. markus says:

    >Fatal Error: The system cannot find the file specified

    Ursache ist gefunden. Problem war ein Schreibfehler in der config Datei.

Leave a Reply to markus Cancel reply