check_disk plugin

Parish, Brent bparish at cognex.com
Tue May 11 15:43:00 CEST 2010


Hi Davide.

Sorry it took so long for me to respond, I had to wait for my plugin to
be approved before it would show up on Nagios Exchange.

I don't know if you have already solved you disk regex problem or not,
but I uploaded the one that I wrote and use if you want to give it a
whirl.

http://exchange.nagios.org/directory/Plugins/System-Metrics/File-System/
check_disk_snmp/details

If you decide to try it out, please do read the help! (-h and for more
details: -H)

I have been able to use it to do something like you mentioned, but mine
is not multiple "-i" arguments.
Instead, it is a single "-i" followed by multiple expressions, each
comma separated.

e.g. your example would look like this with my script:  -i
'/my/fist/,/second/'

HTH,
Brent




-----Original Message-----
From: Davide Blasi [mailto:davide.blasi at infracom.it] 
Sent: Thursday, May 06, 2010 1:01 PM
To: Nagios Users List
Subject: Re: [Nagios-users] check_disk plugin



Aidan Anderson wrote :

>Davide Blasi wrote:
>> with or without quotes give me the same result :(
>>
>>   
>
> Try using single quotes, e.g.
>
> -I '/my/fist/.*' -I '/second/.*'

No, It doesn't works :(
But I don't think that is a quote problem. 
If I invert path order, the check correctly accepts first argument but
ignore the others.

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