when supplying a hyphen as part of the pathname to
check_disk, it appears to break. i symlinked the
hyphenated directory to 'test' and was successfully
able to query it for information.
[11:24am] 134
[/usr/local/apache]:www1% /usr/local/netsaint/libexec/c
heck_disk -w 15% -c 10% -p /usr/local/apache/web-
fragrancenet/share/orders
[11:24am] 135
[/usr/local/apache]:www1% /usr/local/netsaint/libexec/c
heck_disk -w 15% -c 10% -
p /usr/local/apache/test/share/orders
DISK OK - [11618713 kB (84%) free on
db:/usr/local/apache-share]
[11:25am] 136 [/usr/local/apache]:www1%
Logged In: YES
user_id=1671
I don't see this problem. It seems to work fine for me.
./plugins/check_disk -w 15%% -c 5%
/home/ftp/pub/test-me/test
DISK OK - [968548 kB (19%) free on /dev/hda9]
What platform are you using? I sort of suspect that df is
truncating the longer paths, so a match cannot be found. Is
that a possibility?
Logged In: YES
user_id=114435
hmm. it may be possible that df is truncating, but it
works when i change the path name to something only
slightly shorter but without the hyphen.
nrpep is running on an Ultra 5 with Solaris 2.7.
check_nrpep is running on a Redhat 7 box.