move some defaults from code to global configuration defaults and add resonable new...
[WWW-Mechanize-Script.git] / etc / check_web2.json
blob348266259728c1fbbe044b4fc7d21d9e38941e49
2     "defaults" : {
3         "check" : {
4             "code_cmp" : ">",
5             "response_code" : 2,
6             "min_bytes_code" : 2,
7             "max_bytes_code" : 1,
8             "regex_forbid_code" : 2,
9             "regex_require_code" : 2,
10             "text_forbid_code" : 2,
11             "text_require_code" : 2,
12             "min_elapsed_time_code" : 1,
13             "max_elapsed_time_code" : 2,
14             "ignore_case" : true,
15             "text_forbid" : [
16                 "Premature end of script headers",
17                 "Error processing directive",
18                 "XML Parsing partner document",
19                 "sun.io.MalformedInputException",
20                 "an error occurred while processing this directive"
21             ]
22         },
23         "request" : {}
24     },
25     "script_dirs" : ["/data/devel/Vodafone/vzapp-nagios/nagios-plugins/check_web_config"],
26     "summary" : {
27         "template" : "[% CODE_NAME; IF MESSAGES.size > 0 %] - [% MESSAGES.join(', '); END %]\n",
28         "target" : "-"
29     },
30     "report" : {
31         "template" : "[% USE Dumper; Dumper.dump(RESPONSE) %]",
32         "target" : "/tmp/@OPTS_FILE@.log",
33         "append" : true
34     }