stumbleupon/opentsdb — pull request #123 by isavin (2012-08-17 11:34:15+00:00)
Title: Allow "0" as parameter to -w and -c.

I want to add a check for negative values for a metric but the "0" on the cmdline is interpreted as "no value specified".

sample:

$ ./check_tsd -m foo.bar -x lt -w 0
Usage: check_tsd [options]

check_tsd: error: You must specify at least a warning threshold (-w) or a critical threshold (-c).