-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgrammar.bnf
More file actions
42 lines (33 loc) · 746 Bytes
/
grammar.bnf
File metadata and controls
42 lines (33 loc) · 746 Bytes
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
ENTRY ::= to monitor STRING CHECKLIST ACTIONS thanks
CHECKLIST ::=
| CHECK
| CHECK then CHECKLIST
CHECK ::=
| check that url STRING has EXPRESSION
| check that command STRING outputs EXPRESSION
EXPRESSION ::=
| REGEXP
| EXPRESSION and EXPRESSION
| LPAREN EXPRESSION RPAREN
| EXPRESSION or EXPRESSION
| not EXPRESSION
| true
| false
ACTIONS ::= FAILURE_CONDITION ACTION_LIST
FAILURE_CONDITION ::=
| on more than INT consecutive (failure|failures)
| on failure
ACTION_LIST ::=
| ACTION then ACTION_LIST
| ACTION
ACTION ::=
| with subject STRING
| mail RECIPIENT_LIST
| echo STRING
| execute STRING
RECIPIENT_LIST ::=
| STRING
| COMPOUND_RECIPIENT_LIST
COMPOUND_RECIPIENT_LIST ::=
| STRING COMMA COMPOUND_RECIPIENT_LIST
| STRING and STRING