Service Management - issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
maxwellmiranda
Posts: 113
Joined: Thu Mar 22, 2012 3:24 pm

Re: Service Management - issue

Post 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>
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Service Management - issue

Post by mguthrie »

Do you get anything in the apache log when you apply configuration?

Code: Select all

tail -f /var/log/httpd/error_log
maxwellmiranda
Posts: 113
Joined: Thu Mar 22, 2012 3:24 pm

Re: Service Management - issue

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Service Management - issue

Post 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
maxwellmiranda
Posts: 113
Joined: Thu Mar 22, 2012 3:24 pm

Re: Service Management - issue

Post by maxwellmiranda »

thank you...this resolved the problem
Locked