Nagios XI configurations file issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jyoti22
Posts: 254
Joined: Mon Mar 23, 2015 4:50 am

Nagios XI configurations file issue

Post 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
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Nagios XI configurations file issue

Post 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
Former Nagios employee
https://www.mcapra.com/
jyoti22
Posts: 254
Joined: Mon Mar 23, 2015 4:50 am

Re: Nagios XI configurations file issue

Post 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.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios XI configurations file issue

Post 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();"
Former Nagios Employee
Locked