-O


On Wed, Mar 19, 2014 at 6:08 PM, Björn Rabenstein
<notifications@github.com>wrote:

> In check_prometheus_metric.sh:
>
> >      -n NAME     A name for the metric being checked
> >      -m METHOD   Comparison method, one of gt, ge, lt, le, eq, ne
> >                  (defaults to ge unless otherwise specified)
> > +    -O          Accept NaN as an "OK" result
>
> I thought so, first, but then -o is usually used for an output file (-o
> log.out), and that might be even more confusing.
> The option should be "special" as its side effects should not happen
> accidentally.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/prometheus/nagios_plugins/pull/3/files#r10759478>
> .
>