CMDB import - mostly linux server CIs

Moderator: crythias

Post Reply
EivindBengtsson
Znuny newbie
Posts: 4
Joined: 12 Sep 2011, 12:18
Znuny Version: 3.09
Real Name: Eivind Bengtsson
Company: DMI

CMDB import - mostly linux server CIs

Post by EivindBengtsson »

Hi forum,

We would like to populate our CMDB with a large amount of linux server CIs. Which way of server discovery could be recommended?

Has anyone experience with integration to Nagios for importing and linking Nagios alerts to the actual CI and changing the CI state?
I would like to import the CIs from Nagios, if possible, in order to ensure alignment between the Nagios hosts and the OTRS CIs.

Thanks in advance,
/Eivind
Wolfgangf
Znuny ninja
Posts: 1029
Joined: 13 Apr 2009, 12:26
Znuny Version: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: CMDB import - mostly linux server CIs

Post by Wolfgangf »

I using such environment

- install import/export module
- define an import job
- exporting hosts from nagios into csv format according to your import definition
- run importExport from shell (or cron)
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
Lorenzo_Marschall
Znuny advanced
Posts: 106
Joined: 13 May 2011, 14:47
Znuny Version: 2.4 / 3.x
Real Name: Lorenzo Marschall
Company: bmsoft information technologies GmbH
Location: Germany, Italy
Contact:

Re: CMDB import - mostly linux server CIs

Post by Lorenzo_Marschall »

Just some additional notes, since everything Wolfgang wrote is right.

Please make sure, you understand the meaning of a CMDB. In ITIL terms: In your CMDB you define the baseline (!) of your Configuration Management. http://en.wikipedia.org/wiki/Configuration_management

Means, apart from populating your CMDB one time with existing Nagios data in order to start it up, the CMDB should be the leading system. Going this way, your processes will be well defined if you plan to use Change Management later on.

In any case, you can use Nagios to ensure alignment between the CMDB baseline (e.g. SystemMonitoring opm) and real world.

We use our CMDB to create a complete and running Nagios configuration.
Some basic rules: No change = no config item. No config item = no monitoring.
You can easily control your IT staff and your client(s) using tools like arpwatch, always based on the output of the CMDB.

Best wishes,

Lorenzo
OTRS + ITSM + PostgreSQL @ Debian
EivindBengtsson
Znuny newbie
Posts: 4
Joined: 12 Sep 2011, 12:18
Znuny Version: 3.09
Real Name: Eivind Bengtsson
Company: DMI

Re: CMDB import - mostly linux server CIs

Post by EivindBengtsson »

Hi Lorenzo and Wolfgang

Many thanks for your replys..
I got the import working and the nagiosmails are being caught by otrs. I need a little more tweaking to make it work great but I'm getting there ;-)
/Eivind
Post Reply