- bump version to 0.001_003
[WWW-Mechanize-Script.git] / etc / check_web.json
blob32d138437d3b3ae6d8db08f3110424342bd977e3
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             "method" : "GET"
25         }
26     },
27     "wtscript_extensions" : [ "txt", "wts", "wtscript" ],
28     "script_dirs" : ["/data/devel/Vodafone/vzapp-nagios/nagios-plugins/check_web_config"],
29     "templating" : {
30         "vars" : {
31             "CODE_NAMES" : ["OK", "WARNING", "CRITICAL", "UNKNOWN", "DEPENDENT", "EXCEPTION"]
32         },
33     },
34     "summary" : {
35         "template" : "[% CODE_NAMES.$CODE; IF MESSAGES.size > 0 %] - [% MESSAGES.join(', '); END %]\n",
36         "target" : "-"
37     },
38     "report" : {
39         "template" : "[% USE Dumper; Dumper.dump(RESPONSE) %]",
40         "target" : "/tmp/@OPTS_FILE@.log",
41         "append" : true
42     }