Page 1 of 2

Unable to open Configuration snapshots

Posted: Mon Feb 17, 2014 3:31 am
by MSPk
HI Team,

When I try to view/download the configuration snapshots(Configure->Core Config Manager->Configuration Snapshots) on nagios I get a message 'Internet Explorer Cannot display the webpage' Please suggest.

Re: Unable to open Configuration snapshots

Posted: Mon Feb 17, 2014 10:41 am
by tmcdonald
Have you tried it with a different browser?

Re: Unable to open Configuration snapshots

Posted: Thu Feb 20, 2014 7:08 am
by MSPk
I have tried it on firefox and I cant view the file there as well. I get a message saying page cant be displayed. We are using Nagios XI 2012R2.8c

Re: Unable to open Configuration snapshots

Posted: Thu Feb 20, 2014 11:05 am
by tmcdonald
Okay, go try to view a snapshot again and right after you do run the following on the server command line:

tail -20 /var/log/httpd/error_log

Be sure to censor any sensitive information.

Re: Unable to open Configuration snapshots

Posted: Thu Feb 20, 2014 4:02 pm
by MSPk
This is all I see when I run that command.
error.rtf
Please suugest the path of this config snapshot on the nagios server as we have a config error now and without the info in the file we cant move forward. Please help.

Re: Unable to open Configuration snapshots

Posted: Fri Feb 21, 2014 12:37 pm
by slansing
You need to set your timezone in php.ini:

http://assets.nagios.com/downloads/nagi ... m_Time.pdf

Re: Unable to open Configuration snapshots

Posted: Thu Feb 27, 2014 1:04 am
by MSPk
i Have done the required changes and it is still the same..!!

we have the run the command - tail -20 /var/log/httpd/error_log - again. results in attched file
config error-2.txt

Re: Unable to open Configuration snapshots

Posted: Thu Feb 27, 2014 11:09 am
by slansing
What is the output of:

Code: Select all

cat /etc/php.ini | grep 'timezone'

Re: Unable to open Configuration snapshots

Posted: Tue Mar 04, 2014 8:00 am
by MSPk
This is the Output I get

; Defines the default timezone used by the date functions
; http://www.php.net/manual/en/datetime.c ... e.timezone
date.timezone = UTC

Re: Unable to open Configuration snapshots

Posted: Tue Mar 04, 2014 3:48 pm
by lmiltchev
I would recommend disabling selinux by running the following command:

Code: Select all

setenforce 0
Next, open the "/etc/php.ini" file and enter the correct timezone on the following line:

Code: Select all

date.timezone =
You can view the available timezones here:

http://us3.php.net/timezones

You can also review this document:

http://assets.nagios.com/downloads/nagi ... m_Time.pdf

Restart apache:

Code: Select all

service httpd restart