summaryrefslogtreecommitdiff
path: root/parser/parser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'parser/parser.rb')
-rwxr-xr-xparser/parser.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/parser/parser.rb b/parser/parser.rb
index e59294a..9e5f1ea 100755
--- a/parser/parser.rb
+++ b/parser/parser.rb
@@ -270,7 +270,12 @@ class MonitorConfig
#
# must run http with content 'text'
#
- # If those are sepcified then include them here
+ # If those are sepcified then include them here.
+ #
+ # Note we're deliberately fast and loose here - which allows both to be specified
+ #
+ # http://example.vm/ must run http with status 200 and content 'OK' otherwise 'boo!'.
+ #
#
if ( line =~ /\s+with\s+status\s+([0-9]+)\s+/ )
test[:http_status]=$1.dup