check_by_ssh plugin - remote command execution failed.

saimon michelson saimonation at gmail.com
Sun Feb 17 23:58:52 CET 2013


Hi,

I have a question regarding the check_by_ssh plugin.

I have a Linux server running a Nagios-core server and i am developing a
plugin to obtain information from a remote SunOS host over SSH.

I assumed that the way it works is that the nagios establishes a SSH
connection with the remote host, executes the plugin, fetches the output
and return code and displays it on the server.

But, since my script uses a command available only in SunOS by default, the
check_by_ssh plugin returns an error saying that the remote-command was not
found.

example: trying to execute: "zpool status syspool"  ( available on SunOS )

Remote command execution failed: libexec/check_zpool: line 53: zpool:
command not found

Is there a workaround for this?

Thanks,

-- 

Saimon Michelson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20130218/1ef6b7da/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
-------------- next part --------------
_______________________________________________
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