Page 5 of 6
Re: New NagiosXI server apply configuration taking hours
Posted: Thu Mar 23, 2017 9:44 am
by akepley
I haven't seen any new jobs start for php in the last 10 minutes, but the jobs that were running are still running (132 php processes). Should I reboot the server to get a clean start?
Re: New NagiosXI server apply configuration taking hours
Posted: Thu Mar 23, 2017 10:15 am
by avandemore
Sure, if that doesn't upset your environment that is the cleanest way to ensure good operation and start up.
Re: New NagiosXI server apply configuration taking hours
Posted: Thu Mar 23, 2017 10:18 am
by akepley
This is still setup for the new production server, so we're still using our old server until I get the bugs out of this one. I'll reboot.
Re: New NagiosXI server apply configuration taking hours
Posted: Thu Mar 23, 2017 11:11 am
by akepley
Since restart almost an hour ago, only 12 php processes currently. So this seems like a good fix. Any idea what caused the issues in the database?
Re: New NagiosXI server apply configuration taking hours
Posted: Thu Mar 23, 2017 11:39 am
by akepley
Ok, so php processes are fine now and hopefully we won't see a memory leak.
I still have the issue with the apply configuration showing successful, writing to the configs, but when viewing the service in core config manager, it still shows as Not Applied and the service detail is also not showing the updated config.
Re: New NagiosXI server apply configuration taking hours
Posted: Thu Mar 23, 2017 12:52 pm
by avandemore
I don't have a reason for how your system got into that state, but it's not something that happens under normal conditions.
What is the output of:
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();"
Re: New NagiosXI server apply configuration taking hours
Posted: Thu Mar 23, 2017 4:50 pm
by akepley
The MySQL database is in RDS which defaults to UTC. You want me to match it with the NagiosXI server?
Re: New NagiosXI server apply configuration taking hours
Posted: Thu Mar 23, 2017 4:54 pm
by avandemore
Yes, they need to be in sync. Normally this can be accomplished by toggling timezones in XI > Admin, but I'm not sure if that would work in your case.
Re: New NagiosXI server apply configuration taking hours
Posted: Thu Mar 23, 2017 4:55 pm
by akepley
Making the change now. I've got some more changes to make in core config so I'll wait until this is complete before making those changes and testing.
Thanks!
Re: New NagiosXI server apply configuration taking hours
Posted: Fri Mar 24, 2017 8:29 am
by akepley
Hey, found something else! This is more toward my post last week about import configs, but that thread is locked and since we're talking about apply configs, I guess I'll put it here. When deleting services, I get the dependent relationships failures. That's not a problem, the problem is that my service escalations from the import have terrible names. See below.
Is this normal for imported service escalations/host escalations? This is really tricky to find specific escalations that were named by host in the prior nagiosxi server, but have these random strings in the new.