check_disk SunOS 5.9

Richard Gliebe richard.gliebe at fhv.at
Wed Sep 28 07:25:22 CEST 2005


On Tue, 2005-09-27 at 16:31 +0200, Andreas Ericsson wrote:

Hi,

> xpg4 is a sort of trademark of the Open Group (handling the Single Unix 
> Specification). The short answer to fix the problems is thus to symlink 
> the original df to the xpg one. Should work a treat.
> 

thanks, now it works:

bash-2.05# cd /usr/local/bin
bash-2.05# ls -l df
df: No such file or directory
bash-2.05# ln -s /usr/xpg4/bin/df
bash-2.05# pwd
/usr/local/bin
bash-2.05# ./df -Pk /
Filesystem           1024-blocks        Used   Available Capacity
Mounted on
/dev/md/dsk/d0          10080200     1135758     8843640    12%    /
bash-2.05# /usr/local/lib/nagios/plugins/check_disk -w 10% -c5% -p /
DISK OK [8843640 kB (88%) free on /dev/md/dsk/d0]

Regards
Richard

-- 
Richard Gliebe
Fachhochschule Vorarlberg GmbH / University for Applied Science
Information Services

Hochschulstraße 1, A-6850 Dornbirn
Telefon ++43 / (0)5572 / 20336-2207
E-Mail: richard.gliebe at fhv.at



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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