]> git.immae.eu Git - perso/Immae/Projets/Ruby/Monitor.git/blobdiff - monitorrc
Separation in sub-files
[perso/Immae/Projets/Ruby/Monitor.git] / monitorrc
index f2f6ca9219fc37db1fe008ba95469c0006eb136b..8bd4c4bbd01a1a49649091ad00d848e2deaa2bb6 100644 (file)
--- a/monitorrc
+++ b/monitorrc
@@ -1,35 +1,29 @@
+[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