solaris check_disk util does not see mounts/disks...
Luis Cerezo
luis.cerezo at pgs.com
Wed Dec 14 15:02:48 CET 2005
which version of df is it expecting? ... sunfreeware?
Solaris 9...
bash-2.05$ df -h | grep users
/dev/dsk/c3t1d1s3 340G 230G 107G 69% /users
bash-2.05$ mount | grep users
/users on /dev/dsk/c3t1d1s3
read/write/setuid/intr/largefiles/logging/quota/xattr/onerror=panic/dev=1d8000b
on Tue Nov 29 21:00:27 2005
bash-2.05$ ./check_disk -w 10% -c 2% -p /users
Disk "/users" not mounted or nonexistant
bash-2.05$ ./check_disk -w 10% -c 2% -p /users/
Disk "/users/" not mounted or nonexistant
bash-2.05$ ./check_disk -w 10% -c 2% -p "/users"
Disk "/users" not mounted or nonexistant
bash-2.05$ ./check_disk -w 10% -c 2% -p"/users"
Disk "/users" not mounted or nonexistant
bash-2.05$ ./check_disk -w 10% -c 2% -p/users
Disk "/users" not mounted or nonexistant
bash-2.05$ ./check_disk
Could not parse arguments
Usage: check_disk -w limit -c limit [-p path | -x device] [-t timeout]
[-m] [-e] [--verbose]
check_disk (-h|--help)
check_disk (-V|--version)
bash-2.05$ ./check_disk -w 10% -c 2% -p /users --verbose
*/usr/local/bin/df -Pk /users ==> Disk "/users" not mounted or nonexistant*
bash-2.05$ /usr/local/bin/df
*bash: /usr/local/bin/df: No such file or directory*
bash-2.05$ which df
WARNING *** No CM login file - CM is not setup ***
/usr/bin/df
bash-2.05$ df -Pk
*df: unknown option: P*
Usage: df [-F FSType] [-abeghklntVv] [-o FSType-specific_options]
[directory | block_device | resource]
bash-2.05$
--
Luis E. Cerezo
281.509.8397
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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