We've got a Nagios 3.0.3 installation with maybe 500 hosts monitored and a lot of services. Cron jobs generate config files for some of the devices, based on an inventory control system.
In preparing a project plan for the migration, how realistic is it to assume most of the existing config files can be simply moved to xi? Rebuilding everything from scratch seems like a large effort. I wouldn't expect the xi gui to manage these config files.
The Unix/Linux hosts are using a fairly old version of nrpe and in-house check scripts. Windows hosts are using nsclient, not nsclient++. Will xi demand I reinstall client software everywhere (not that it wouldn't be worthwhile, but again a large effort all at once).
Thanks....Lyle
migration project from Core to xi
-
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
Re: migration project from Core to xi
Normally xi is designed to manage the config files, but there is an exception for these sorts of setups. Any config files that you drop into the /usr/local/nagios/etc/static/ directory should be left alone by the GUI and loaded alongside everything else. There is also an import tool for things that you want to permanently convert to xi, that won't be re-written by the cron jobs. You may find these two documents useful on that front:
http://library.nagios.com/library/produ ... -nagios-xi
http://library.nagios.com/library/produ ... es-into-xi
However, things in the "static" directory have the obvious limitation of not being managed by the GUI by design, so if you wanted the best of both worlds you could rewrite your cron scripts to instead write the information to the "nagiosql" MySQL database where xi manipulates data before writing it out to text files.
As for the client software, that can stay the same.
http://library.nagios.com/library/produ ... -nagios-xi
http://library.nagios.com/library/produ ... es-into-xi
However, things in the "static" directory have the obvious limitation of not being managed by the GUI by design, so if you wanted the best of both worlds you could rewrite your cron scripts to instead write the information to the "nagiosql" MySQL database where xi manipulates data before writing it out to text files.
As for the client software, that can stay the same.