X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FRuby%2FMonitor.git;a=blobdiff_plain;f=monitorrc;h=8bd4c4bbd01a1a49649091ad00d848e2deaa2bb6;hp=f2f6ca9219fc37db1fe008ba95469c0006eb136b;hb=HEAD;hpb=8b6154e92b39be265186c82ed0112d0926ae047c diff --git a/monitorrc b/monitorrc index f2f6ca9..b4db9bc 100644 --- a/monitorrc +++ b/monitorrc @@ -1,35 +1,32 @@ +[global] +list_size = 50 + +[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 +Periodic = 600 -[test2] -Name = Test -Command = "cat monitorrc" +[fail2ban_check] +Name = Fail2ban +Command = "fail2ban_check" 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" +[check_all] +Name = Check all +Command = "check_all" Type = oneshot -Periodic = 10 +Periodic = 3600