diff options
author | Immae <immae@immae.eu> | 2014-06-08 15:18:58 +0200 |
---|---|---|
committer | Immae <immae@immae.eu> | 2014-06-08 15:18:58 +0200 |
commit | 27c20be31c9b1c88e1e4f55e86d0933782acf1e4 (patch) | |
tree | e6cbc8d33638aad08c5a7d3b7a7fdab82afebb01 | |
parent | 8b6154e92b39be265186c82ed0112d0926ae047c (diff) | |
download | Monitor-27c20be31c9b1c88e1e4f55e86d0933782acf1e4.tar.gz Monitor-27c20be31c9b1c88e1e4f55e86d0933782acf1e4.tar.zst Monitor-27c20be31c9b1c88e1e4f55e86d0933782acf1e4.zip |
TODO file and example monitor
-rw-r--r-- | README | 4 | ||||
-rw-r--r-- | TODO | 10 | ||||
-rw-r--r-- | monitorrc | 38 |
3 files changed, 27 insertions, 25 deletions
@@ -0,0 +1,4 @@ | |||
1 | This is a simple monitoring program that will run a list of commands | ||
2 | periodically or continuously (like tail -f) | ||
3 | |||
4 | Still in early development | ||
@@ -0,0 +1,10 @@ | |||
1 | - sudo commands (ask for password) | ||
2 | - config in different places | ||
3 | - adding/removing entries directly from the program | ||
4 | - keep previous buffers for oneshot commands | ||
5 | - custom key bindings (and informations in the window) | ||
6 | - Man file | ||
7 | - Check correctness of entries in config file (and capitalization) | ||
8 | - Key to force window update | ||
9 | - Customization of window size | ||
10 | - ~Internationalization | ||
@@ -1,35 +1,23 @@ | |||
1 | [journalctl_err] | ||
2 | Name = Journalctl errors | ||
3 | Command = "journalctl --full -f -p4" | ||
4 | Type = continuous | ||
5 | Buffer = 5000 | ||
6 | |||
1 | [journalctl] | 7 | [journalctl] |
2 | Name = Journalctl bla bla bla bla bla bla bla | 8 | Name = Journalctl |
3 | Command = "journalctl --full -f" | 9 | Command = "journalctl --full -f" |
4 | Buffer = 100 | ||
5 | Type = continuous | 10 | Type = continuous |
11 | Buffer = 7000 | ||
6 | 12 | ||
7 | [tinc_check] | 13 | [tinc_check] |
8 | Name = Tinc | 14 | Name = Tinc |
9 | Command = "tinc_check_connect" | 15 | Command = "tinc_check_connect" |
10 | Type = oneshot | 16 | Type = oneshot |
11 | Periodic = 10 | 17 | Periodic = 600 |
12 | |||
13 | [test] | ||
14 | Name = Test | ||
15 | Command = "cat monitorrc" | ||
16 | Type = oneshot | ||
17 | Periodic = 10 | ||
18 | |||
19 | [lsR] | ||
20 | Name = lsR | ||
21 | Command = "ls -1 /var/named /etc/zsh" | ||
22 | Type = oneshot | ||
23 | Periodic = 10 | ||
24 | |||
25 | [test2] | ||
26 | Name = Test | ||
27 | Command = "cat monitorrc" | ||
28 | Type = oneshot | ||
29 | Periodic = 10 | ||
30 | 18 | ||
31 | [lsR2] | 19 | [fail2ban_check] |
32 | 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 | 20 | Name = Fail2ban |
33 | Command = "ls -1 /var/named /etc/zsh" | 21 | Command = "fail2ban_check" |
34 | Type = oneshot | 22 | Type = oneshot |
35 | Periodic = 10 | 23 | Periodic = 60 |