shell script in nagios
Anthony
anthony-nagios at hogan.id.au
Mon Sep 7 19:16:38 CEST 2009
Oops.. I'm a nuff nuff..
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)
$ ./check_by_ssh --help
check_by_ssh v2002 (nagios-plugins 1.4.13)
Copyright (c) 1999 Karl DeBisschop <kdebisschop at users.sourceforge.net>
Copyright (c) 2000-2008 Nagios Plugin Development Team
<nagiosplug-devel at lists.sourceforge.net>
This plugin uses SSH to execute commands on a remote host
Usage: check_by_ssh -H <host> -C <command> [-fqv] [-1|-2] [-4|-6]
[-S [lines]] [-E [lines]] [-t timeout] [-i identity]
[-l user] [-n name] [-s servicelist] [-O outputfile]
[-p port] [-o ssh-option]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090908/faf4c17f/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
-------------- 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