Page 1 of 1

Nagios XI configurations file issue

Posted: Wed Dec 21, 2016 12:44 am
by jyoti22
Hi,

There seems to be some problem with the Nagios XI in our production system.

When we try and apply configurations from the web console it doesn't get applied. We get error saying no hosts assigned to the service.
But already many hosts assigned & present.

We have to everytime go to .cfg file on Nagios XI box and add the host names. And then Apply configuration on web console. then it gets applied.
Please can some one urgently have a look.

We tried sending the profile zip file to the customer support through email. It was blocked. they didn't receive the profile.

Kindly request someone to look at this as its a very urgent and needs to be fixed ASAP.

Regards,
Jyoti

Re: Nagios XI configurations file issue

Posted: Wed Dec 21, 2016 11:42 am
by mcapra
If your email was blocked, you might try contacting [email protected] to have the email you sent from whitelisted.

Would it be possible for you to PM me a profile? We should be able to get it that way.
jyoti22 wrote: We have to everytime go to .cfg file on Nagios XI box and add the host names. And then Apply configuration on web console. then it gets applied.
Please can some one urgently have a look.
This makes me think there is a discrepancy in the system's time. Could you try running the following command (replace My/Timezone with your preferred locale):

Code: Select all

/usr/local/nagiosxi/scripts/change_timezone.sh -z My/Timezone

Re: Nagios XI configurations file issue

Posted: Thu Dec 22, 2016 4:07 am
by jyoti22
Sorry I didn't catch this.
Time difference between which systems, I believe on the console and on the Nagios XI server it will be same.

Re: Nagios XI configurations file issue

Posted: Thu Dec 22, 2016 11:36 am
by rkennedy
After you lined things up, did that fix the system? Feel free to PM a profile over through the forum if that's easier.

What is the output for these commands to verify the time?

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();"