Nagios XI admin using check_by_ssh defect found!
Posted: Tue Aug 29, 2017 9:21 am
I've done extensive testing and discovered a defect with the Nagios XI Administration GUI where Service Detail Page is not correctly updating the monitoring status using "check_by_ssh".
From CCM I execute successfully to verify that my check_by_ssh root disk service is working and it does work! This is the command:
[[email protected] ~]$ /usr/local/nagios/libexec/check_by_ssh -H 49.27.72.116 -C "/usr/local/nagios/libexec/check_disk /" -l ikekim
DISK OK - free space: / 4915 MB (77.59% inode=98%);| /=1418MB;;;0;6334
Then from my admin GUI under "Service Status Detail" for "Root Disk Space" I click "Force an immediate check" and I get a "Command processed successfully", so this verifies that the above command is executing correctly.
However, my main status message stays on as "Remote command execution failed: Permission denied, please try again." This message contradicts the actual result of the commands an dthis is where the defect is.
I have uploaded the screenshots of 2 images; one shows command is successful and the other is incorrect message showing.
Let me know if anyone thinks my conclusion is incorrect.
thanks
ik
From CCM I execute successfully to verify that my check_by_ssh root disk service is working and it does work! This is the command:
[[email protected] ~]$ /usr/local/nagios/libexec/check_by_ssh -H 49.27.72.116 -C "/usr/local/nagios/libexec/check_disk /" -l ikekim
DISK OK - free space: / 4915 MB (77.59% inode=98%);| /=1418MB;;;0;6334
Then from my admin GUI under "Service Status Detail" for "Root Disk Space" I click "Force an immediate check" and I get a "Command processed successfully", so this verifies that the above command is executing correctly.
However, my main status message stays on as "Remote command execution failed: Permission denied, please try again." This message contradicts the actual result of the commands an dthis is where the defect is.
I have uploaded the screenshots of 2 images; one shows command is successful and the other is incorrect message showing.
Let me know if anyone thinks my conclusion is incorrect.
thanks
ik