Page 4 of 4

Re: Nagios XI 5.2.0 upgrade - Apply configuration not workin

Posted: Tue Nov 10, 2015 4:53 pm
by tgriep
Were you logged in as root when you ran ./reconfigure_nagios.sh or logged in as the nagios user?
Try this and post back the results.

Code: Select all

su nagios
cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.sh

Re: Nagios XI 5.2.0 upgrade - Apply configuration not workin

Posted: Thu Nov 12, 2015 10:31 am
by amit.ahuja
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors: 0

Things look okay - No serious problems were detected during the pre-flight check
RET: 0
nagios is not allowed to run sudo on esu4v187. This incident will be reported.
Request rejected by Privilege Manager

Re: Nagios XI 5.2.0 upgrade - Apply configuration not workin

Posted: Thu Nov 12, 2015 11:51 am
by tgriep
This message
nagios is not allowed to run sudo on esu4v187. This incident will be reported.
Request rejected by Privilege Manager
Is what is causing the Apply Configuration to fail.

There must be some other type authentication running on the server which is blocking nagios from running SUDO commands.
Do you know if the system is using LDAP/AD or some kind of PAM authentication for user accounts?

Can you look in the following file on the XI system to see what the error is and post back?

Code: Select all

/var/log/secure

Re: Nagios XI 5.2.0 upgrade - Apply configuration not workin

Posted: Thu Nov 12, 2015 12:16 pm
by amit.ahuja
cond[11203]: pam_unix(crond:session): session opened for user nagios by (uid=0)
crond[11205]: pam_unix(crond:session): session opened for user nagios by (uid=0)
crond[11207]: pam_unix(crond:session): session opened for user nagios by (uid=0)
crond[11206]: pam_unix(crond:session): session opened for user nagios by (uid=0)
crond[11201]: pam_unix(crond:session): session opened for user nagios by (uid=0)
crond[11208]: pam_unix(crond:session): session opened for user nagios by (uid=0)

Re: Nagios XI 5.2.0 upgrade - Apply configuration not workin

Posted: Thu Nov 12, 2015 3:07 pm
by tgriep
I looks like you may have Privilege Manager installed in the server, it that true?
Can you run the following and post the output?

Code: Select all

sudo –U nagios -l
pmpolicy masterstatus
cat /etc/opt/quest/qpm4u/policy/sudoers
pmsrvcheck
pmsrvinfo
Thanks