Commits on Jan 26, 2013
  1. Merge pull request #2 from shr3kst3r/master

    Modify the handling of @ symbol when specifying the check range
    committed Jan 26, 2013
Commits on Jan 17, 2013
  1. Modify the handling of @ symbol when specifying the check range

    It looks like the @ symbol does not behave as defined in http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT.  In the range code the @ symbol changed the range 10:20 from alerting on x < 10 or x > 20 to alerting on x <= 10 or x >= 20, when it should have change it to alerting on x >= 10 or x <= 20.
    
    Because the spec is a bit difficult to understand, I generated this table.
    Range   Generate an alert if x
    10      x < 0 or x > 10, (x does not alert if x >= 0 or x <= 10)
    @10     x >= 0 or x <= 10, (x does not alert if x < 0 or x > 10)
    10:     x < 10, (x does not alert if x >= 10)
    @10:    x >= 10, (x does not alert if x < 10)
    ~:10    x > 10, (x does not alert if x <= 10)
    @~:10   x <= 10, (x does not alert if x > 10)
    10:20   x < 10 or x > 20, (x does not alert if x >= 10 or x <= 20)
    @10:20  x >= 10 and x <= 20, (x does not alert if x < 10 or x > 20)
    
    So, with the above information, I changed the specs to match the above table.  Then I went and modified the range code to handle the change in the specs.
    Dennis Rowe committed Jan 17, 2013
Commits on Jul 19, 2012
Commits on Jul 11, 2012
  1. Better error handling

    Bumping version number to 0.1.0
    committed Jul 11, 2012
Commits on Jul 3, 2012
  1. Cosmetic spaces

    committed Jul 3, 2012
  2. Merge pull request #1 from benbc/master

    Ruby 1.8 compatibility
    committed Jul 3, 2012
  3. @benbc
Commits on Mar 21, 2012
  1. Bumping to version 0.0.5

    Better CLI parsing error handling
    committed Mar 21, 2012
Commits on Dec 10, 2011
  1. Better use of OptParser

    Default values work now
    committed Dec 10, 2011
Commits on Dec 9, 2011
Commits on Nov 30, 2011
Commits on Nov 24, 2011
  1. Better specs for option testing

    Added ability to transform an option (to_i, to_f, etc.)
    committed Nov 24, 2011
  2. Bumping version number to 0.0.2

    Replacing empty README.rdoc by a basic README.md
    committed Nov 23, 2011
Commits on Nov 22, 2011
  1. Added some documentation

    committed Nov 22, 2011
  2. Finishing status handling

    Correct ranges
    
    Added timeout feature
    committed Nov 22, 2011
Commits on Nov 21, 2011
  1. Skeleton README

    committed Nov 22, 2011
  2. First shot at a simple module structure to express checks.

    First simple range parsing ability.
    committed Nov 22, 2011