]> git.immae.eu Git - perso/Immae/Projets/Ruby/Monitor.git/blobdiff - monitorrc
TODO file and example monitor
[perso/Immae/Projets/Ruby/Monitor.git] / monitorrc
index f2f6ca9219fc37db1fe008ba95469c0006eb136b..991714ad7605aee48948a69aef51d0b5c3ebaeb8 100644 (file)
--- 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