Page 4 of 4

Re: Nagios XI - Apply Configuration Never Completes

Posted: Thu Apr 19, 2018 2:47 pm
by scottwilkerson
I actually am stumped, but temporarily, I 'd like to have you try this.

Edit /usr/local/nagiosxi/scripts/export_nagiosql.sh and on line 7 change this

Code: Select all

sudo $BASEDIR/reset_config_perms.sh
to this

Code: Select all

#sudo $BASEDIR/reset_config_perms.sh
Then try applying configuration again

Re: Nagios XI - Apply Configuration Never Completes

Posted: Thu Apr 19, 2018 4:25 pm
by MOHANREDDY

Re: Nagios XI - Apply Configuration Never Completes

Posted: Thu Apr 19, 2018 4:46 pm
by scottwilkerson
There is something that is killing all the commands being run with sudo

I would change the previous line back.

Something on this system is killing these commands

Code: Select all

13252 Killed sudo $BASEDIR/manage_services.sh restart nagios
same as this

Code: Select all

10568 Killed sudo $BASEDIR/reset_config_perms.sh
There isn't anything more we can do from here, it is going to have to be determined by your administrators what is killing them commands when the cronjob is running them.

Re: Nagios XI - Apply Configuration Never Completes

Posted: Thu Apr 19, 2018 4:48 pm
by scottwilkerson
Maybe someone on the security team installed something that kills sudo command being run form cron...

Re: Nagios XI - Apply Configuration Never Completes

Posted: Fri Apr 20, 2018 9:49 am
by MOHANREDDY
Thanks a lot Scottwilkerson, we were able to figure it and resolved the issue. its the root privileges problem

Thanks again

Re: Nagios XI - Apply Configuration Never Completes

Posted: Fri Apr 20, 2018 10:43 am
by scottwilkerson
I am glad to hear you were able to resolve the issue!

Locking