-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.config
67 lines (56 loc) · 1.69 KB
/
example.config
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Tests for checking the EDOS sites
to monitor "ara"
check that
url "http://ara.edos-project.org/"
has
/Search Debian packages using ara/ and
/The EDOS project/ and
/Sort cache/ and
not /could not be located|error|exception/
then check that
url "http://ara.edos-project.org/search?p=false&s=popularity&x=false&q=poland+%26+not+gadu&a=Search&m=25&n=true"
has
/ydpdict/ and /Interface for Collins dictionaries/
on more than 3 consecutive failures
with subject "Ara server"
mail "[email protected]"
then
with subject "Dear professor"
mail "[email protected]"
thanks
# Netclient does not support https
to monitor "svn"
check that
command "/usr/bin/wget --quiet --no-check-certificate -O - https://protactinium.pps.jussieu.fr:12345/svn/edos/users/berke"
outputs
/Revision \\d+/ and
/formalization/ and
/monitor/ and
not /could not be located|error|exception/
on failure
with subject "SVN server"
mail "[email protected]"
then
with subject "Hey dude, about the SVN server"
mail "[email protected]"
thanks
to monitor "wiki"
check that
url "http://www.edos-project.org/xwiki/bin/view/Main/WebHome"
has
/Environment for the development/
and
not
/Apache Tomcat\/5\\.0/
then check that
url "http://www.edos-project.org/xwiki/bin/view/Main/WhatsNew"
has
/The following documents have been recently created or modified/
and not /Apache Tomcat\/5\\.0/
on more than 5 consecutive failures
with subject "Wiki"
mail
"[email protected]" and
thanks