From 27c20be31c9b1c88e1e4f55e86d0933782acf1e4 Mon Sep 17 00:00:00 2001 From: Immae Date: Sun, 8 Jun 2014 15:18:58 +0200 Subject: TODO file and example monitor --- monitorrc | 38 +++++++++++++------------------------- 1 file changed, 13 insertions(+), 25 deletions(-) (limited to 'monitorrc') diff --git a/monitorrc b/monitorrc index f2f6ca9..991714a 100644 --- a/monitorrc +++ b/monitorrc @@ -1,35 +1,23 @@ +[journalctl_err] +Name = Journalctl errors +Command = "journalctl --full -f -p4" +Type = continuous +Buffer = 5000 + [journalctl] -Name = Journalctl bla bla bla bla bla bla bla +Name = Journalctl Command = "journalctl --full -f" -Buffer = 100 Type = continuous +Buffer = 7000 [tinc_check] Name = Tinc Command = "tinc_check_connect" Type = oneshot -Periodic = 10 - -[test] -Name = Test -Command = "cat monitorrc" -Type = oneshot -Periodic = 10 - -[lsR] -Name = lsR -Command = "ls -1 /var/named /etc/zsh" -Type = oneshot -Periodic = 10 - -[test2] -Name = Test -Command = "cat monitorrc" -Type = oneshot -Periodic = 10 +Periodic = 600 -[lsR2] -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 -Command = "ls -1 /var/named /etc/zsh" +[fail2ban_check] +Name = Fail2ban +Command = "fail2ban_check" Type = oneshot -Periodic = 10 +Periodic = 60 -- cgit v1.2.3