Hello,
I just finished setting up a powerpath service check on multiple hosts. The check returns OK on all the hosts except for one. The particular settings for this check are mirrored across all the hosts with this check, so I'm really confused. The weird thing is that when I run the check on that host in from the command line, as Nagios, it returns OK. It also returns OK, when I "Run Check Command" in the CCM. It's very odd. Any help?
Thanks !
Check Returns OK on CLI, but WARNING in GUI
Check Returns OK on CLI, but WARNING in GUI
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Check Returns OK on CLI, but WARNING in GUI
Hi @hixavier,
Indeed this is odd. Make sure there is no difference in the command arguments for this service compared to the others. Can you send me the sudoers file along with a system profile?
Also, when you are testing this from the command line, are you logged in as root or the nagios user account? If root, try testing again as the nagios users account.
To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share in a private message or upload it to the post/ticket, and then reply to this post to bring it up in the queue.
Indeed this is odd. Make sure there is no difference in the command arguments for this service compared to the others. Can you send me the sudoers file along with a system profile?
Also, when you are testing this from the command line, are you logged in as root or the nagios user account? If root, try testing again as the nagios users account.
Code: Select all
su - nagios
To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share in a private message or upload it to the post/ticket, and then reply to this post to bring it up in the queue.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Check Returns OK on CLI, but WARNING in GUI
Turns out the host's IP address, in Nagios, was incorrect. Check is now cleared. Thanks !
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Check Returns OK on CLI, but WARNING in GUI
Greathixavier wrote:Turns out the host's IP address, in Nagios, was incorrect. Check is now cleared. Thanks !
Locking thread