This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
maxiz1987
Posts: 25 Joined: Fri Jun 26, 2015 4:00 am
Post
by maxiz1987 » Fri Jul 22, 2016 2:23 pm
ssax wrote: This is likely a sudoers issue, please post your /etc/sudoers and check to make sure you don't have a /etc/sudoers.d/nagiosxi file.
Do you use AD/LDAP auth to login to the XI server when connecting with SSH?
Hi ssax!
I have realized that there was a missing line: 'reset_config_perms.sh'
I added that line and when I did ' # su nagios' - '# ./reconfigure_*.sh' - It has applied the configuration.
Could you please validate that my sudoers is ok now?
Regards,
You do not have the required permissions to view the files attached to this post.
Box293
Too Basu
Posts: 5126 Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:
Post
by Box293 » Sun Jul 24, 2016 11:37 pm
To validate the sudoers file:
Download the version of XI you are running
https://assets.nagios.com/downloads/nag ... rsions.php
Extract the file
In the nagiosxi directory there is a file called
nagiosxi.sudoers
Compare this file to the entries on your server
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new
Privacy Policy .
maxiz1987
Posts: 25 Joined: Fri Jun 26, 2015 4:00 am
Post
by maxiz1987 » Mon Jul 25, 2016 11:14 am
Hi All !
I have realized that there was a line missing on my sudoers file.
I am uploading a screenshot as how it was before and how it is after a change I have made - It seems to be working now.
However I'll compare it with nagiosxi.sudoers as @Box293 recommended to me.
Regards,
You do not have the required permissions to view the files attached to this post.
tgriep
Madmin
Posts: 9190 Joined: Thu Oct 30, 2014 9:02 am
Post
by tgriep » Mon Jul 25, 2016 3:26 pm
That is good to hear that it is working now.
Report back your findings or is we can close and lock this post as solved.
Be sure to check out our
Knowledgebase for helpful articles and solutions!
maxiz1987
Posts: 25 Joined: Fri Jun 26, 2015 4:00 am
Post
by maxiz1987 » Tue Aug 02, 2016 4:38 pm
It was a sudoers issue.
I don't know why the installation has deployed an incorrect sudoers file.
This thread can be closed.
Regards,
mcapra
Posts: 3739 Joined: Thu May 05, 2016 3:54 pm
Post
by mcapra » Tue Aug 02, 2016 4:39 pm
Closing this per your request