Hi, I'm running OMD 1.20. I can't find a procedure to switch to Icinga core on the OMD site. Do you have to create a new site so it creates the correct config? omd config change resulted in an error so I updated icinga.conf. Now starting OMD it just says 'ERROR' and I can't see anything in the logs to help. Thanks, John.
omd config Change Basic/CORE from Nagios to Icinga $ omd start Removing Crontab... Stopping dedicated Apache for site mysite....OK Stopping icinga...Not running. OK Stopping npcd...OK Stopping rrdcached...waiting for termination...OK Starting rrdcached...OK Starting npcd...OK Starting icinga... Icinga 1.11.4 Copyright (c) 2009-2014 Icinga Development Team (http://www.icinga.org) Copyright (c) 2009-2013 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 05-28-2014 License: GPL Reading configuration data... Read main config file okay... Warning: Could not open object cache file '/usr/local/icinga/var/objects.precache' for writing! Read object config files okay... Running pre-flight check on configuration data... Checking services... Warning: There are no services defined! Checked 0 services. Checking hosts... Warning: There are no hosts defined! Checked 0 hosts. Checking host groups... Checked 0 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Warning: There are no contacts defined! Checked 0 contacts. Checking contact groups... Checked 0 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 0 commands. Checking time periods... Checked 0 time periods. Checking modules... Checked 0 modules. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Error: Unable to write to check_result_path ('/usr/local/icinga/var/spool/checkresults') - No such file or directory Total Warnings: 3 Total Errors: 1 ***> One or more problems was encountered while running the pre-flight check... Check your configuration file(s) to ensure that they contain valid directives and data definitions. If you are upgrading from a previous version of Icinga, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. Starting dedicated Apache for site mysite...OK Initializing Crontab...OK :~/etc/icinga$ vi icinga.cfg check_result_path=/omd/sites/mysite/tmp/nagios/checkresults OMD[mysite]:~$ omd start Starting rrdcached...OK Starting npcd...OK Starting icinga.............ERROR Starting dedicated Apache for site mysite...OK Initializing Crontab...OK
_______________________________________________ omd-users mailing list [email protected] http://lists.mathias-kettner.de/mailman/listinfo/omd-users
