Page 2 of 2

Re: Service Management - issue

Posted: Thu Sep 13, 2012 12:29 pm
by maxwellmiranda
nagprod:/home/nagios> ls -l /usr/local/nagios/etc/services/
total 44
-rw-r--r-- 1 apache nagios 3081 Sep 13 11:46 localhost.cfg
-rw-r--r-- 1 apache nagios 8089 Sep 13 11:46 mxtjmfgdrmhau.bose.com.cfg
-rw-r--r-- 1 apache nagios 8321 Sep 13 11:46 nxhau.bose.com.cfg
-rw-r--r-- 1 apache nagios 8177 Sep 13 11:46 remhau.bose.com.cfg
-rw-r--r-- 1 apache nagios 8322 Sep 13 11:46 tlehau.bose.com.cfg
nagprod:/home/nagios>

Re: Service Management - issue

Posted: Thu Sep 13, 2012 3:51 pm
by mguthrie
Do you get anything in the apache log when you apply configuration?

Code: Select all

tail -f /var/log/httpd/error_log

Re: Service Management - issue

Posted: Fri Sep 14, 2012 10:49 am
by maxwellmiranda
i get this message

[Fri Sep 14 11:49:11 2012] [error] [client 10.2.24.184] PHP Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/nagiosxi/html/includes/utilsl.inc.php on line 381, referer: http://10.100.30.31/nagiosxi/includes/c ... &dest=auto
[Fri Sep 14 11:49:11 2012] [error] [client 10.2.24.184] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 70, referer: http://10.100.30.31/nagiosxi/includes/c ... &dest=auto

Re: Service Management - issue

Posted: Fri Sep 14, 2012 10:56 am
by mguthrie
Please apply the fix referenced in the wiki that was posted previously, the log output confirms the issue.
http://support.nagios.com/wiki/index.ph ... e.22_Error

Re: Service Management - issue

Posted: Fri Sep 14, 2012 1:20 pm
by maxwellmiranda
thank you...this resolved the problem