575d0e3927b1fafb65182e69d9574375a14c6e65
[WWW-Mechanize-Script.git] / etc / check_web.json
blob575d0e3927b1fafb65182e69d9574375a14c6e65
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     "wtscript_extensions" : [ "txt", "wts", "wtscript" ],
26     "script_dirs" : ["/data/devel/Vodafone/vzapp-nagios/nagios-plugins/check_web_config"],
27     "summary" : {
28         "template" : "[% CODE_NAME; IF MESSAGES.size > 0 %] - [% MESSAGES.join(', '); END %]\n",
29         "target" : "-"
30     },
31     "report" : {
32         "template" : "[% USE Dumper; Dumper.dump(RESPONSE) %]",
33         "target" : "/tmp/@OPTS_FILE@.log",
34         "append" : true
35     }