Check_disk_smb problem

Steve Dussaux stevox2000 at yahoo.com
Thu Apr 24 14:20:34 CEST 2003


Thanks for your answer but I'm still being confused.
Even you have redefined the plugin usage instruction, the results with % usage are still false
since this plugin returns % FREE and not % USED.
What does it mean to specify a WARNING STATE of 85% FREE and a CRITICAL STATE of 95% FREE disk ?
!!

Steve


 --- Stanley Hopcroft <Stanley.Hopcroft at IPAustralia.Gov.AU> a écrit : > Dear Sir,
> 
> This plugins usage instructions were not clear to me either so I
> 'improved' it ...
> 
> Here's my usage instructions
> 
> -w, --warning=STRING == \d+ | \d+% | \d+(\.\d+)?(K|M|G|T)
>    Either the amount of free space __below__ which a warning will be
> generated (followed by a unit suffix), Or
>    Percent of used space __above__ which a warning will be generated
> (Default: 85%)
> -c, --critical=STRING == \d+ | \d+% | \d+(\.\d+)?(K|M|G|T)
> 
>    Either the amount of free space __below__ which a critical will be
> generated (followed by a unit suffix), Or
>    Percent of used space __above__ which a critical will be generated
> (Default: 95%)
> 
>    if %    theshholds, Critical if disk_usage% >= crit_threshold, Warn
> if warn_threshold <= disk_usage% < crit_thresh
>    if byte threshold,  Critical if free_bytes  <= crit_threshold, Warn
> if warn_threshold >= free_bytes  > crit_thresh 
> 
> Therefore since the thresholds are specified as Percentages, the first
> inequalities apply so
> 
> '- First the script tells me to specify a WARNING thresold < CRITICAL
> thresold. I don't understand the WARN threshold sould be > CRIT
> threshold for free space.'
> 
> then WARN is < CRITICAL (so warn if 85% is used, alert if 95%).
>  
> You are right. Every time I look at this it's confusing. An unreasonable
> trade-off, in my view, for plugin helpfulness - will interpret any
> definition of disk usage - against ambiguity.
> 
> Yours sincerely.
> 
> 
> -- 
> ------------------------------------------------------------------------
> Stanley Hopcroft
> ------------------------------------------------------------------------
> 
> '...No man is an island, entire of itself; every man is a piece of the
> continent, a part of the main. If a clod be washed away by the sea,
> Europe is the less, as well as if a promontory were, as well as if a
> manor of thy friend's or of thine own were. Any man's death diminishes
> me, because I am involved in mankind; and therefore never send to know
> for whom the bell tolls; it tolls for thee...'
> 
> from Meditation 17, J Donne.
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> 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 

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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