aboutsummaryrefslogtreecommitdiff
path: root/monitorrc
diff options
context:
space:
mode:
authorImmae <immae@immae.eu>2014-06-08 15:18:58 +0200
committerImmae <immae@immae.eu>2014-06-08 15:18:58 +0200
commit27c20be31c9b1c88e1e4f55e86d0933782acf1e4 (patch)
treee6cbc8d33638aad08c5a7d3b7a7fdab82afebb01 /monitorrc
parent8b6154e92b39be265186c82ed0112d0926ae047c (diff)
downloadMonitor-27c20be31c9b1c88e1e4f55e86d0933782acf1e4.tar.gz
Monitor-27c20be31c9b1c88e1e4f55e86d0933782acf1e4.tar.zst
Monitor-27c20be31c9b1c88e1e4f55e86d0933782acf1e4.zip
TODO file and example monitor
Diffstat (limited to 'monitorrc')
-rw-r--r--monitorrc38
1 files changed, 13 insertions, 25 deletions
diff --git a/monitorrc b/monitorrc
index f2f6ca9..991714a 100644
--- a/monitorrc
+++ b/monitorrc
@@ -1,35 +1,23 @@
1[journalctl_err]
2Name = Journalctl errors
3Command = "journalctl --full -f -p4"
4Type = continuous
5Buffer = 5000
6
1[journalctl] 7[journalctl]
2Name = Journalctl bla bla bla bla bla bla bla 8Name = Journalctl
3Command = "journalctl --full -f" 9Command = "journalctl --full -f"
4Buffer = 100
5Type = continuous 10Type = continuous
11Buffer = 7000
6 12
7[tinc_check] 13[tinc_check]
8Name = Tinc 14Name = Tinc
9Command = "tinc_check_connect" 15Command = "tinc_check_connect"
10Type = oneshot 16Type = oneshot
11Periodic = 10 17Periodic = 600
12
13[test]
14Name = Test
15Command = "cat monitorrc"
16Type = oneshot
17Periodic = 10
18
19[lsR]
20Name = lsR
21Command = "ls -1 /var/named /etc/zsh"
22Type = oneshot
23Periodic = 10
24
25[test2]
26Name = Test
27Command = "cat monitorrc"
28Type = oneshot
29Periodic = 10
30 18
31[lsR2] 19[fail2ban_check]
32Name = 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 20Name = Fail2ban
33Command = "ls -1 /var/named /etc/zsh" 21Command = "fail2ban_check"
34Type = oneshot 22Type = oneshot
35Periodic = 10 23Periodic = 60