[Nagiosplug-devel] [ nagiosplug-Bugs-1350249 ] check_disk -p ignores third and following argument of -p

SourceForge.net noreply at sourceforge.net
Tue Nov 29 13:48:01 CET 2005


Bugs item #1350249, was opened at 2005-11-07 04:50
Message generated for change (Comment added) made by harpermann
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1350249&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Argument proccessing
Group: Release (specify)
Status: Open
Resolution: None
Priority: 5
Submitted By: Maik (aussendorf)
>Assigned to: Harper Mann (harpermann)
Summary: check_disk -p  ignores third and following argument of -p

Initial Comment:
Using version 1.4.2 (tar download from 11/07/05 
 
If I call check_disk with the -p option, it will check 
the first two named pathes only. It will ignore  any 
following path. 
 
e.g. 
check_disk -w 100 -c 30 -p  /p1 / p2 /p3 
 
will only check /p1 and /p2, while /p3 is ignored. 
 
With kind regards 
Maik Aussendorf 

----------------------------------------------------------------------

>Comment By: Harper Mann (harpermann)
Date: 2005-11-29 13:47

Message:
Logged In: YES 
user_id=939531

Hi Maik,

The "-p" argument works if you use multiple ones.  Like this:

./check_disk -w 100 -c 30 -p / -p /boot
DISK OK - free space: / 22014 MB (62% inode=94%); /boot 84
MB (85% inode=100%);| /=13471MB;35385;35455;94;35485
/boot=14MB;98;68;99;98

I think that's a more traditional use of a *NIX CLI
argument.  Does that work for you?

Cheers,

- Harper


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1350249&group_id=29880




More information about the Devel mailing list