The new version is released here: http://www.mbaeker.de/category/tools/scom2nagios/
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, 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…