check_disk SunOS 5.9
Andreas Ericsson
ae at op5.se
Tue Sep 27 15:44:56 CEST 2005
Richard Gliebe wrote:
> Hi,
>
> I've downloaded and installed the nagios plugins from
> http://non-gnu.uvt.nl/pub/nrpe/solaris/solaris9/ for SunOS 5.9
>
> While running check_disk, I've got the following Error:
>
> # ./check_disk -w 10% -c 5% -p /
> Disk "/" not mounted or nonexistant
>
> Has anyone a running check_disk plugin for SunOS 5.9 (Sol9)
> because my plugin runs the 'df' command as followed:
>
> # strings check_disk | grep df
> /usr/local/bin/df -Pk
>
> # which df
> /usr/bin/df
>
> # df -Pk /
> df: unknown option: P
> Usage: df [-F FSType] [-abeghklntVv] [-o FSType-specific_options]
> [directory | block_device | resource]
>
The -P is supposed to force POSIX behaviour. I don't know if it's
required by POSIX, but practically all df's implement it (even if only
ignoring it) for that very reason.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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