From ef48b1ea323a736ced863d06dd683da66d820888 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Tue, 13 Nov 2012 10:19:19 +0000 Subject: Mention that both are expected to work. --- parser/parser.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'parser') 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 -- cgit v1.2.1