When I am manually executing the command it's showing normal output on the Nagios server whereas when I am executing the same from the Front-end of Nagios XI its showing error.
COMMAND: /usr/local/nagios/libexec/check_by_ssh -H DNRBTA -C "/home/nagios/check_mem.sh" -E
OUTPUT: UNKNOWN - check_by_ssh: Remote command '/home/nagios/check_mem.sh' returned status 255
can you help me out and away forward to solve. I am getting this error for all nodes.
Check_by_ssh :: returned status 255 || Error
-
ericssonvietnam
- Posts: 239
- Joined: Mon Jun 27, 2016 11:05 pm
Check_by_ssh :: returned status 255 || Error
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Check_by_ssh :: returned status 255 || Error
Have you saved the service and get the same error or just run the Test command in the CCM?
I ask because with check_by_ssh there is a problem using the test command because of privilege separation
Re: https://support.nagios.com/forum/viewto ... 10#p137154
I ask because with check_by_ssh there is a problem using the test command because of privilege separation
Re: https://support.nagios.com/forum/viewto ... 10#p137154