[Nagiosplug-help] check_disk problems
Subhendu Ghosh
sghosh at sghosh.org
Tue Mar 4 22:03:02 CET 2003
Can you post your NRPE config bits and the error.
-sg
On Tue, 4 Mar 2003, Chris Mathis wrote:
> well i am having almost the same issues with check_nrpe... it spits out
> the same unable to read output but when i run the program directly on
> the system check_disk -w 10% -c 5% -p /dev/sda3 it works great but i
> cant seem to get the output... can anyone help with this...
>
>
> Thanks to all who do help
>
> Chris
>
>
> On Tue, Mar 04, 2003 at 11:50:09PM -0500, Subhendu Ghosh wrote:
> > 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
> >
> >
> >
> > -------------------------------------------------------
> > 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
> > _______________________________________________
> > 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