[Nagiosplug-help] check_disk problems
Subhendu Ghosh
sghosh at sghosh.org
Tue Mar 4 20:51:07 CET 2003
On Tue, 4 Mar 2003, Todd Bushnell wrote:
> I have two problems with check_disk:
>
> 1. I need to exclude multiple nfs mounts on several systems, but the -x
> option does not seem to work with multiple exclusions. There are way
> too many fs' to do individually, but I came across some info that
> suggested I can reconfigure plugins to use a modification of the df
> command. How can I reconfigure a plug-in? Is this done prior to
> compiling?
Currently -x only accepts one argument.
To modify the command - edit "configure.in"
search for "DF_COMMAND"
replace "df -Pk" with "df -Pkl"
run tools/setup
run configure
run make
>
> 2. check_by_ssh.... check_disk commands on my AIX boxes yield a message
> "Unable to read output". I hopped on the box and discovered that
> problem is due to /proc: -={tbushnel at sfodtijct001}=- pts
> -={16:23/04-Mar-03}=- -={$:/usr/local/nagios/libexec}=-./check_disk -w
> 20% -c 10% Unable to read output: /usr/bin/df -Pk /proc - - - - /proc
>
> If I choose any other device other than /proc it works okay, but the -x
> /proc option does not help my problem. These boxes have a bunch of
> mounts so doing them individually is a LAST resort.
>
> Any solutions for either of my problems?
>
is the output of /proc on one line or multiple lines?
check_disk currently has a problem with multiline output.
--
-sg
More information about the Help
mailing list