Nagios Apply Configuration on Browser
Nagios Apply Configuration on Browser
To Nagios Community,
I have been running into the issue with the "Apply Configuration" on CCM on the browser, it has never worked for me, and I keep having to us ./reconfigure_nagios.sh to apply my changes. Please take a look at the attached image. I am missing some configs, or permission issue. Thanks for your time.
I have been running into the issue with the "Apply Configuration" on CCM on the browser, it has never worked for me, and I keep having to us ./reconfigure_nagios.sh to apply my changes. Please take a look at the attached image. I am missing some configs, or permission issue. Thanks for your time.
You do not have the required permissions to view the files attached to this post.
Re: Nagios Apply Configuration on Browser
What XI version is this? What is shown if you click "Show Errors"?
Former Nagios employee
Re: Nagios Apply Configuration on Browser
Hey tmcdonald,
Version is Nagios XI 2014R2.7 version=4.0.8. Seems like that server is stuck on this one specific error, and I dunno how to clear it.
Version is Nagios XI 2014R2.7 version=4.0.8. Seems like that server is stuck on this one specific error, and I dunno how to clear it.
You do not have the required permissions to view the files attached to this post.
Re: Nagios Apply Configuration on Browser
Are you running the reconfigure_nagios.sh as root?
If so, try running it as nagios to see if it errors and post the full output in code tags:
If so, try running it as nagios to see if it errors and post the full output in code tags:
Code: Select all
su - nagios
cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.shRe: Nagios Apply Configuration on Browser
hey ssax,
I have no issue running the ./reconfigure_nagios.sh as root without an errors, the error u see above is from the Browser under CCM "Apply Configuration" button.
I have no issue running the ./reconfigure_nagios.sh as root without an errors, the error u see above is from the Browser under CCM "Apply Configuration" button.
Re: Nagios Apply Configuration on Browser
Did you try running it as the nagios user though? That's what I want to see, when you run it through the browser it runs it as nagios and we need to see what is really going on during that.
Re: Nagios Apply Configuration on Browser
im getting "nagios is not allowed to run sudo on xxxx. This incident will be reported.
Request rejected by Privilege Manager"
Request rejected by Privilege Manager"
Re: Nagios Apply Configuration on Browser
Can you post your sudoers file (in code wraps)?
Also, what is the output of:
Code: Select all
cat /etc/sudoersCode: Select all
visudo -c
grep manage_service /usr/local/nagiosxi/scripts/restart_nagios_with_export.shFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Nagios Apply Configuration on Browser
Hey guys, i've got it working from an older post. I had to remove "sudo" in from of $BASEDIR/manage_services.sh. Thanks all!!
Re: Nagios Apply Configuration on Browser
haile711, humor me for a second, does your /etc/sudoers file contain:
?
Code: Select all
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/scripts/manage_services.sh *