diff options
author | Immae <immae@immae.eu> | 2014-06-08 15:18:58 +0200 |
---|---|---|
committer | Immae <immae@immae.eu> | 2014-06-08 15:18:58 +0200 |
commit | 27c20be31c9b1c88e1e4f55e86d0933782acf1e4 (patch) | |
tree | e6cbc8d33638aad08c5a7d3b7a7fdab82afebb01 /monitorrc | |
parent | 8b6154e92b39be265186c82ed0112d0926ae047c (diff) | |
download | Monitor-27c20be31c9b1c88e1e4f55e86d0933782acf1e4.tar.gz Monitor-27c20be31c9b1c88e1e4f55e86d0933782acf1e4.tar.zst Monitor-27c20be31c9b1c88e1e4f55e86d0933782acf1e4.zip |
TODO file and example monitor
Diffstat (limited to 'monitorrc')
-rw-r--r-- | monitorrc | 38 |
1 files changed, 13 insertions, 25 deletions
@@ -1,35 +1,23 @@ | |||
1 | [journalctl_err] | ||
2 | Name = Journalctl errors | ||
3 | Command = "journalctl --full -f -p4" | ||
4 | Type = continuous | ||
5 | Buffer = 5000 | ||
6 | |||
1 | [journalctl] | 7 | [journalctl] |
2 | Name = Journalctl bla bla bla bla bla bla bla | 8 | Name = Journalctl |
3 | Command = "journalctl --full -f" | 9 | Command = "journalctl --full -f" |
4 | Buffer = 100 | ||
5 | Type = continuous | 10 | Type = continuous |
11 | Buffer = 7000 | ||
6 | 12 | ||
7 | [tinc_check] | 13 | [tinc_check] |
8 | Name = Tinc | 14 | Name = Tinc |
9 | Command = "tinc_check_connect" | 15 | Command = "tinc_check_connect" |
10 | Type = oneshot | 16 | Type = oneshot |
11 | Periodic = 10 | 17 | Periodic = 600 |
12 | |||
13 | [test] | ||
14 | Name = Test | ||
15 | Command = "cat monitorrc" | ||
16 | Type = oneshot | ||
17 | Periodic = 10 | ||
18 | |||
19 | [lsR] | ||
20 | Name = lsR | ||
21 | Command = "ls -1 /var/named /etc/zsh" | ||
22 | Type = oneshot | ||
23 | Periodic = 10 | ||
24 | |||
25 | [test2] | ||
26 | Name = Test | ||
27 | Command = "cat monitorrc" | ||
28 | Type = oneshot | ||
29 | Periodic = 10 | ||
30 | 18 | ||
31 | [lsR2] | 19 | [fail2ban_check] |
32 | Name = Test bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla | 20 | Name = Fail2ban |
33 | Command = "ls -1 /var/named /etc/zsh" | 21 | Command = "fail2ban_check" |
34 | Type = oneshot | 22 | Type = oneshot |
35 | Periodic = 10 | 23 | Periodic = 60 |