Nagios XI - Apply Configuration Never Completes

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI - Apply Configuration Never Completes

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI - Apply Configuration Never Completes

Post 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.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI - Apply Configuration Never Completes

Post by scottwilkerson »

Maybe someone on the security team installed something that kills sudo command being run form cron...
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
MOHANREDDY
Posts: 81
Joined: Tue Apr 10, 2018 4:14 pm

Re: Nagios XI - Apply Configuration Never Completes

Post by MOHANREDDY »

Thanks a lot Scottwilkerson, we were able to figure it and resolved the issue. its the root privileges problem

Thanks again
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI - Apply Configuration Never Completes

Post by scottwilkerson »

I am glad to hear you were able to resolve the issue!

Locking
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked