check_disk plugin

Richard Lynch richard.lynch at rasmussen.edu
Wed May 5 16:12:49 CEST 2010


I would have wrapped he wlidcard paths in quotes, but I have no idea if
that's right or not...

-I "/my/fist/.*" -I "/second/.*"



On 5/5/10 5:49 AM, "Davide Blasi" <davide.blasi at infracom.it> wrote:

> 
> Hi list,
> 
> I have a question about check_disk plugin.
> Running check_disk -h I read :
> 
> [...]
>  -I, --ignore-eregi-path=PATH, --ignore-eregi-partition=PARTITION
>     Regular expression to ignore selected path/partition (case insensitive)
> (may be repeated)
> [...]
> 
> Good it working fine :)
> 
> But now I have to add another path to ignore.
> This help say "may be repeated" but if I try to use my check like this " -I
> /my/fist/.* -I /second/.* " only first occurrence works.
> I tried with one -I using coma, colon, semicolon or space to separate paths
> but nothing works :(
> 
> How can I concatenate more than one path to ignore ?
> 
> Thank you in advance and sorry for my bad English ;)
> 
> Dave
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> 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


------------------------------------------------------------------------------
_______________________________________________
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