blob: ff5abc62310ab8f60d1c60f7204ba1ed1258a208 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
#
# This is the sample configuration file which is installed with Custodian.
#
# Lines beginning with "#" are comments and are ignored, otherwise the general
# form of lines is:
#
# TARGET must (not) run SERVICE otherwise 'some text'.
#
# TARGET is typically a hostname, or a URL, but it might also a macro. In this
# context a macro is a simple list of hostnames. Any line involving a macro
# as a target will be replaced, inline, once for each target.
#
# For example the following two snippets are equivilent:
#
##
## Snippet 1
##
# MACRO_FOO is host1.example.com and host2.example.com.
# MACRO_FOO must ping otherwise 'ping failure'.
##
##
## Snippet 2
##
# host1.example.com must ping otherwise 'ping failure'.
# host2.example.com must ping otherwise 'ping failure'.
##
#
# Now we have some simple tests
#
#
# Bytemark hosts a mirror of various things, for the benefit of our users
# and the general UK network.
#
# Test that this mirror is available
#
mirror.bytemark.co.uk must run ftp otherwise 'mirror ftp failure'.
mirror.bytemark.co.uk must run rsync otherwise 'mirror rsync failure'.
mirror.bytemark.co.uk must run ping otherwise 'mirror ping failure'.
# Ensure the Bytemark blog is active
#
blog.bytemark.co.uk must ping otherwise 'blog failure?'.
http://blog.bytemark.co.uk/ must run http with content 'Bytemark Blog' otherwise 'blog is not available'.
|