Subversion Repositories sysadmin_scripts

Rev

Rev 92 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 92 Rev 93
Line 18... Line 18...
18
      'timeout' => 60, # the default timeout, in seconds
18
      'timeout' => 60, # the default timeout, in seconds
19
      'failure count' => 0, # the number of successive failures before a report
19
      'failure count' => 0, # the number of successive failures before a report
20
      'report to' => 'me@example.com',
20
      'report to' => 'me@example.com',
21
      'report type' => 'mail',
21
      'report type' => 'mail',
22
      'report from' => 'root@localhost',
22
      'report from' => 'root@localhost',
23
      'type' => 'ping'
23
      'type' => 'netcat'
24
   },
24
   },
25
   'sites to check' => { # all sites to check
25
   'sites to check' => { # all sites to check
26
      'some web site' => { # this is for display purposes only
26
      'some web site' => { # this is for display purposes only
27
         'url' => 'http://example.com', # the actual URL to use
27
         'url' => 'http://example.com', # the actual URL to use
28
         'type' => 'lwp' # type of test to run
28
         'type' => 'lwp' # type of test to run
Line 34... Line 34...
34
      },
34
      },
35
      'site with netcat server running' => {
35
      'site with netcat server running' => {
36
         'url' => '192.168.1.51',
36
         'url' => '192.168.1.51',
37
         'type' => 'netcat',
37
         'type' => 'netcat',
38
         'port' => 45654,
38
         'port' => 45654,
-
 
39
         # any additional netcat parameters. This is not checked, so 
-
 
40
         # use at your own risk.
-
 
41
         'additional parameters' => '-u',
39
         'timeout' => 3 # 20 second timeout
42
         'timeout' => 3 # 20 second timeout
40
      },
43
      },
41
   }
44
   }
42
};
45
};
43
 
46