diff options
-rw-r--r-- | modules/private/monitoring/objects_caldance-1.nix | 9 | ||||
-rw-r--r-- | modules/private/monitoring/objects_tiboqorl-fr.nix | 2 |
2 files changed, 0 insertions, 11 deletions
diff --git a/modules/private/monitoring/objects_caldance-1.nix b/modules/private/monitoring/objects_caldance-1.nix index 2879124..d5b2d8d 100644 --- a/modules/private/monitoring/objects_caldance-1.nix +++ b/modules/private/monitoring/objects_caldance-1.nix | |||
@@ -13,45 +13,36 @@ in | |||
13 | alias = "caldance-1.v.immae.eu"; | 13 | alias = "caldance-1.v.immae.eu"; |
14 | address = "caldance-1.v.immae.eu"; | 14 | address = "caldance-1.v.immae.eu"; |
15 | use = "linux-server"; | 15 | use = "linux-server"; |
16 | hostgroups = "webstatus-hosts"; | ||
17 | _webstatus_name = "caldance-1"; | ||
18 | }; | 16 | }; |
19 | }; | 17 | }; |
20 | service = map (s: defaultPassiveInfo // s) [ | 18 | service = map (s: defaultPassiveInfo // s) [ |
21 | { | 19 | { |
22 | service_description = "Size on root partition"; | 20 | service_description = "Size on root partition"; |
23 | servicegroups = "webstatus-resources"; | ||
24 | } | 21 | } |
25 | 22 | ||
26 | { | 23 | { |
27 | service_description = "Total number of process"; | 24 | service_description = "Total number of process"; |
28 | servicegroups = "webstatus-resources"; | ||
29 | } | 25 | } |
30 | 26 | ||
31 | { | 27 | { |
32 | service_description = "Average load"; | 28 | service_description = "Average load"; |
33 | servicegroups = "webstatus-resources"; | ||
34 | } | 29 | } |
35 | 30 | ||
36 | { | 31 | { |
37 | service_description = "Swap usage"; | 32 | service_description = "Swap usage"; |
38 | servicegroups = "webstatus-resources"; | ||
39 | } | 33 | } |
40 | 34 | ||
41 | { | 35 | { |
42 | service_description = "fail2ban is active"; | 36 | service_description = "fail2ban is active"; |
43 | servicegroups = "webstatus-resources"; | ||
44 | } | 37 | } |
45 | 38 | ||
46 | { | 39 | { |
47 | service_description = "NTP is activated and working"; | 40 | service_description = "NTP is activated and working"; |
48 | servicegroups = "webstatus-resources"; | ||
49 | freshness_threshold = "5400"; | 41 | freshness_threshold = "5400"; |
50 | } | 42 | } |
51 | 43 | ||
52 | { | 44 | { |
53 | service_description = "Databases are present in postgresql"; | 45 | service_description = "Databases are present in postgresql"; |
54 | servicegroups = "webstatus-databases"; | ||
55 | } | 46 | } |
56 | ]; | 47 | ]; |
57 | } | 48 | } |
diff --git a/modules/private/monitoring/objects_tiboqorl-fr.nix b/modules/private/monitoring/objects_tiboqorl-fr.nix index 847143e..1cc6ea0 100644 --- a/modules/private/monitoring/objects_tiboqorl-fr.nix +++ b/modules/private/monitoring/objects_tiboqorl-fr.nix | |||
@@ -5,8 +5,6 @@ | |||
5 | alias = "tiboqorl.fr"; | 5 | alias = "tiboqorl.fr"; |
6 | address = "tiboqorl.fr"; | 6 | address = "tiboqorl.fr"; |
7 | use = "linux-server"; | 7 | use = "linux-server"; |
8 | hostgroups = "webstatus-hosts"; | ||
9 | _webstatus_name = "tiboqorl"; | ||
10 | }; | 8 | }; |
11 | }; | 9 | }; |
12 | } | 10 | } |