check_disk problem on Solaris 8
Rhugga
nagios at zulu420.com
Tue Nov 25 17:35:28 CET 2003
Yea, I was trying /usr/bin/df at first but noticed the syntax was
different than the Linux equivalents so went to /usr/local/bin/df in my
troubleshooting efforts. If someone has it working with Sun's df, that
is what I prefer.
I will go back to troubleshooting with Sun's df then.
Thanks,
CC
Voon, Ton wrote:
> Chuck,
>
> I think you have two options:
>
> - You should let configure work out the df command to use - it should then
> pick up Solaris' standard df command. This will definitely work as there are
> reported successes with Sol 8
> - Use the CVS HEAD version (see http://nagiosplug.sf.net/snapshot) as this
> uses GNU coreutil's libraries to simluate the df command
>
> Ton
>
>
>>-----Original Message-----
>>From: Rhugga [mailto:nagios at zulu420.com]
>>Sent: Tuesday, November 25, 2003 3:07 PM
>>To: Nagios Mailing List
>>Subject: [Nagios-users] check_disk problem on Solaris 8
>>
>>
>>
>>I am trying to run some disk checks against Solaris 8
>>systems. I built
>>nagios-plugins-1.3.1 as follows:
>>./configure --prefix=/usr/local/nagios-1.1
>>--with-mysql=/usr/local/mysql
>>--with-open ssl=/usr/local/ssl --with-df-command=/usr/local/bin/df
>>--with-ping-command=/usr/sbin/ping --with-nagios-user=nagios
>>--with-nagios-group=nagios
>>
>>I am using df in /usr/local/bin, which is the GNU compatrible version.
>>
>>Here is sample output from the df command:
>>
>>file-0202:/usr/local/nagios-1.1/libexec #/usr/local/bin/df
>>/mnt/data/raid1/comp-biol/
>>Filesystem 1k-blocks Used Available Use% Mounted on
>>/dev/vx/dsk/compbioldg/comp-biol 986699559 610657253 366175311 63%
>>/mnt/data/raid1/comp-biol
>>
>>Here is what I get when I run check_disk:
>>
>>#/usr/local/nagios-1.1/libexec/check_disk -w 10% -c 5%
>>/mnt/data/raid1/comp-biol/
>>
>>Unable to read output:
>>/usr/local/bin/df /mnt/data/raid1/comp-biol/
>>/dev/vx/dsk/compbioldg/comp-biol
>>
>>I also tried:
>>
>>Are my mount points and device paths to long for the utility or is my
>>problem elsewhere? (for example, lacking Veritas support??)
>>
>>Note: I have not even tried to run this remotely via nrpe yet, just
>>trying to get it to work locally first.
>>
>>Muchas Gracias,
>>CC
>>
>>--
>>Chuck Carson - Sr. Systems Engineer
>>Syrrx, Inc.
>>10410 Science Center Drive
>>San Diego, CA 92121
>>Work: 858.731.3540
>>Cell: 858.967.5959
>>
>>
>>
>>-------------------------------------------------------
>>This SF.net email is sponsored by: SF.net Giveback Program.
>>Does SourceForge.net help you be more productive? Does it
>>help you create better code? SHARE THE LOVE, and help us help
>>YOU! Click Here: http://sourceforge.net/donate/
>>_______________________________________________
>>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
>>
>
>
>
> This private and confidential e-mail has been sent to you by Egg.
> The Egg group of companies includes Egg Banking plc
> (registered no. 2999842), Egg Financial Products Ltd (registered
> no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
> carries out investment business on behalf of Egg and is regulated
> by the Financial Services Authority.
> Registered in England and Wales. Registered offices: 1 Waterhouse Square,
> 138-142 Holborn, London EC1N 2NA.
> If you are not the intended recipient of this e-mail and have
> received it in error, please notify the sender by replying with
> 'received in error' as the subject and then delete it from your
> mailbox.
>
--
Chuck Carson - Sr. Systems Engineer
Syrrx, Inc.
10410 Science Center Drive
San Diego, CA 92121
Work: 858.731.3540
Cell: 858.967.5959
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
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