Using SSH to run remote command checks

Andy Shellam (Mailing Lists) andy.shellam-lists at mailnetwork.co.uk
Fri Feb 16 18:10:42 CET 2007


Nagios Mail wrote:
> I wanted to update this problem as it appears to have never been 
> resolved. The current version of check_by_ssh still returns an 
> "UKNOWN" status in nagios. I have ran the command manually from the 
> command line and echoed $?, and while it does return 0, nagios is 
> putting in an UNKNOWN status. Not only that but the status appears to 
> be flapping.
>
> The Critical and Warning status appear to work every time, but when an 
> OK status is returned from one of the check programs (check_load, 
> check_disk, check_process), check_by_ssh returns an UNKNOWN almost 80% 
> of the time.
>
> I've followed up with three different people on this list who have 
> reported the problem, and all of them just decided to move to NRPE.
>
> Has anyone gotten this plugin to work? I am assuming this is a code 
> problem with check_by_ssh

I just get the following very helpful error message:

Remote command execution failed:  _______  _______ _________ _

Not even a reason why it failed, just a lot of underscores!

I preferred NRPE from the beginning anyway, so I've always used that.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list