X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=monitorrc;fp=monitorrc;h=991714ad7605aee48948a69aef51d0b5c3ebaeb8;hb=27c20be31c9b1c88e1e4f55e86d0933782acf1e4;hp=f2f6ca9219fc37db1fe008ba95469c0006eb136b;hpb=8b6154e92b39be265186c82ed0112d0926ae047c;p=perso%2FImmae%2FProjets%2FRuby%2FMonitor.git 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