summaryrefslogtreecommitdiff
path: root/parser/parser.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-13 10:19:19 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-13 10:19:19 +0000
commitef48b1ea323a736ced863d06dd683da66d820888 (patch)
treefed6fda25c0838ee65a4f5bff9fca7187accd397 /parser/parser.rb
parent9fe95bc72671e34f44c1ac1cc7e7e0fb330f1c02 (diff)
Mention that both are expected to work.
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