Problems with NRPE Client on 10.20 machine
''C. Bensend' '
benny at bennyvision.com
Fri Mar 14 19:40:01 CET 2003
On Fri, Mar 14, 2003 at 01:32:20PM -0500, Kaplan, Andrew H. wrote:
>
> If I go with the check_by_ssh plugin, then the syntax on the Nagios server
> would be similar to the following:
>
> check_by_ssh!check_disk1
Um, I generally create a new test in checkcommands.cfg. For
example:
# 'check_mailq' command definition
define command{
command_name check_mailq
command_line $USER1$/check_by_ssh -l nagios -H $HOSTADDRESS$ -C '/home/nagios/check_mailq'
}
That way, I can just use 'check_mailq' in the service definition.
Keep in mind - check_by_ssh takes more resources to fire off -
SSH is, obviously, cryptographically intensive. If you're
testing slow boxen, SSH might not be recommended.
Please just reply to the list itself - I don't need multiple
copies. :)
Benny
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Discharge of a nuclear weapon shall be deemed a warlike act,
even if accidental." -- My homeowners insurance policy
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
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