check_disk troubles

Subhendu Ghosh sghosh at sghosh.org
Wed Mar 5 06:23:27 CET 2003


On Tue, 4 Mar 2003, maxxik wrote:

>   Hi again ...
> 
>   i have a LVM volume (/dev/main/home-smb-profiles)
> 
>   when i try to check it thru check_disk plugin :
> 
>        check_command defined in services.cfg :
>   
>                      check_command check_local_disk!20%!10%!/dev/main/home-smb-profiles

try putting the ARG3 in double quotes

> 
>     (check_local_disk is defined as
> 
> define command{
>         command_name    check_local_disk
>         command_line    $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
>         }
> 
>         )
>     
>     there was a trouble : nagios cant check it
>         nagios write :
>     Disk "/dev/main/home-smb-profiles" not mounted or nonexistant  ...
> 
>     but check near ( check_command
>     check_local_disk!20%!10%!/dev/main/home-smb) finished succesfully
>     ....
> 
>     when i try to run check_disk manually
>     (check_disk -w 20% -c 10% /dev/main/home-smb-profiles)
> 
>     all normally executing ...
>     
>     any ideas ?
> 
> 
>     wbr,maxx
> 

-- 

-sg



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
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