Oops.. I'm a nuff nuff..<br><br>There's a plugin called check_by_ssh in the standard set of plugins (at least the source - check to see if your install of nagios has it compiled)<br><br>$ ./check_by_ssh --help<br>check_by_ssh v2002 (nagios-plugins 1.4.13)<br>
Copyright (c) 1999 Karl DeBisschop <<a href="mailto:kdebisschop@users.sourceforge.net">kdebisschop@users.sourceforge.net</a>><br>Copyright (c) 2000-2008 Nagios Plugin Development Team<br>    <<a href="mailto:nagiosplug-devel@lists.sourceforge.net">nagiosplug-devel@lists.sourceforge.net</a>><br>
<br>This plugin uses SSH to execute commands on a remote host<br><br>Usage: check_by_ssh -H <host> -C <command> [-fqv] [-1|-2] [-4|-6]<br>       [-S [lines]] [-E [lines]] [-t timeout] [-i identity]<br>       [-l user] [-n name] [-s servicelist] [-O outputfile]<br>
       [-p port] [-o ssh-option]<br><br>