Page 1 of 1

apply config not write on files nagios xi

Posted: Wed Nov 23, 2016 3:46 am
by abhishek
Hi ,
There is one issue that is when i do apply configuration it shows error like "could not find any host XXXX " . but when i do apply config again 2 or 3 times error will not show. i think the apply configuration not writing data properly on files . Any suggestion to over come this situation.

Re: apply config not write on files nagios xi

Posted: Wed Nov 23, 2016 11:33 am
by rkennedy
Is your database hosted locally or offloaded?

What is the output for these commands?

Code: Select all

grep "date.timezone" /etc/php.ini
ls -l /etc/localtime
php -r 'echo date("D M j G:i:s T Y")."\n";'
date
mysql -unagiosxi -pn@gweb -e "SELECT NOW();"