[Nagiosplug-help] check_by_ssh check_disk returning NULL

SAMSON, AARON (ATTOPS) rs1865 at att.com
Mon Mar 22 15:33:15 CET 2010


######### Command Definition ########

define command {
        command_name    check_remote_disk
        command_line    $USER1$/check_by_ssh -H $HOSTADDRESS$ -C
"/home/nagios/bin/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$

########## Service ##########

define service {
        host_name               panther
        service_description     Check Root Partition
        check_command           check_remote_disk!20%!10%!/
        check_period            24x7
        max_check_attempts      5
        check_interval          1
        retry_interval          1
        notification_period     24x7
        notification_interval   30
        notifications_enabled   1
        contact_groups          admins
}


-----Original Message-----
From: Marc Powell [mailto:lists at xodus.org] 
Sent: Saturday, March 20, 2010 10:14 AM
To: Nagios Plugin Help List
Subject: Re: [Nagiosplug-help] check_by_ssh check_disk returning NULL


On Mar 19, 2010, at 9:26 AM, SAMSON, AARON (ATTOPS) wrote:

> Here is my command line string and response:
> 
> ./check_by_ssh -H <SERVER> -C "/home/nagios/bin/check_disk -w 20% -c
10%
> -p /"
> 
> DISK OK - free space: / 2832 MB (32% inode=92%);|
> /=5869MB;7340;8257;0;9175

Please show us the non-working service and corresponding command
definitions.

--
Marc


------------------------------------------------------------------------
------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue.

::: Messages without supporting info will risk being sent to /dev/null




More information about the Help mailing list