Browse code

Monitoring Zyppera.

Lukasz P authored on13/03/2021 08:16:35
Showing1 changed files
... ...
@@ -13,3 +13,5 @@ command[check_apt]=/usr/local/bin/check_apt_wrapper 2>/dev/null
13 13
 # Beware of SELinux preventing nrpe from using dnf
14 14
 command[check_dnf]=/usr/local/bin/check_dnf_wrapper 2>/dev/null
15 15
 
16
+command[check_zypper]=/usr/local/bin/check_zypper_wrapper 2>/dev/null
17
+
Browse code

Poprawki z czujce dnf

Lukasz P authored on27/02/2021 15:41:18
Showing1 changed files
... ...
@@ -1,11 +1,15 @@
1 1
 # Managed with Ansible
2
+
2 3
 command[check_load]={{ item.plugin_path }}/check_load -w "$(($(nproc --all)))" -c "$(($(nproc --all)+1))"
3 4
 command[check_disk]={{ item.plugin_path }}/check_disk / -w 20% -c 10%
4 5
 command[check_swap]={{ item.plugin_path }}/check_swap -w 30% -c 10% -n ok
5 6
 command[check_cron]={{ item.plugin_path }}/check_file_age -w 610 -c 1210 -W 0 -C 0 -f /var/local/check_cron
6 7
 
8
+
9
+# --- wrappers ---
10
+
7 11
 command[check_apt]=/usr/local/bin/check_apt_wrapper 2>/dev/null
8 12
 
9
-# Beware of SELinux preventing nagios from using dnf
13
+# Beware of SELinux preventing nrpe from using dnf
10 14
 command[check_dnf]=/usr/local/bin/check_dnf_wrapper 2>/dev/null
11 15
 
Browse code

Monitoring dnf

Lukasz P authored on18/02/2021 17:13:52
Showing1 changed files
... ...
@@ -4,5 +4,8 @@ command[check_disk]={{ item.plugin_path }}/check_disk / -w 20% -c 10%
4 4
 command[check_swap]={{ item.plugin_path }}/check_swap -w 30% -c 10% -n ok
5 5
 command[check_cron]={{ item.plugin_path }}/check_file_age -w 610 -c 1210 -W 0 -C 0 -f /var/local/check_cron
6 6
 
7
-command[check_apt]=/usr/local/bin/check_apt_wrapper
7
+command[check_apt]=/usr/local/bin/check_apt_wrapper 2>/dev/null
8
+
9
+# Beware of SELinux preventing nagios from using dnf
10
+command[check_dnf]=/usr/local/bin/check_dnf_wrapper 2>/dev/null
8 11
 
Browse code

Czujki crona dzialaja.

Lukasz P authored on17/02/2021 19:39:47
Showing1 changed files
... ...
@@ -2,7 +2,7 @@
2 2
 command[check_load]={{ item.plugin_path }}/check_load -w "$(($(nproc --all)))" -c "$(($(nproc --all)+1))"
3 3
 command[check_disk]={{ item.plugin_path }}/check_disk / -w 20% -c 10%
4 4
 command[check_swap]={{ item.plugin_path }}/check_swap -w 30% -c 10% -n ok
5
-command[check_cron]={{ item.plugin_path }}/check_file_age -w 610 -c 1210 -W 0 -C 0 -f /tmp/check_cron
5
+command[check_cron]={{ item.plugin_path }}/check_file_age -w 610 -c 1210 -W 0 -C 0 -f /var/local/check_cron
6 6
 
7 7
 command[check_apt]=/usr/local/bin/check_apt_wrapper
8 8
 
Browse code

Czujki apt oraz cron (cron jeszcze do konca nie dziala).

Lukasz P authored on17/02/2021 18:42:39
Showing1 changed files
... ...
@@ -2,4 +2,7 @@
2 2
 command[check_load]={{ item.plugin_path }}/check_load -w "$(($(nproc --all)))" -c "$(($(nproc --all)+1))"
3 3
 command[check_disk]={{ item.plugin_path }}/check_disk / -w 20% -c 10%
4 4
 command[check_swap]={{ item.plugin_path }}/check_swap -w 30% -c 10% -n ok
5
+command[check_cron]={{ item.plugin_path }}/check_file_age -w 610 -c 1210 -W 0 -C 0 -f /tmp/check_cron
6
+
7
+command[check_apt]=/usr/local/bin/check_apt_wrapper
5 8
 
Browse code

Monitoring SWAP i drobne porzadki.

Lukasz P authored on16/02/2021 12:10:45
Showing1 changed files
... ...
@@ -1,4 +1,5 @@
1 1
 # Managed with Ansible
2 2
 command[check_load]={{ item.plugin_path }}/check_load -w "$(($(nproc --all)))" -c "$(($(nproc --all)+1))"
3 3
 command[check_disk]={{ item.plugin_path }}/check_disk / -w 20% -c 10%
4
+command[check_swap]={{ item.plugin_path }}/check_swap -w 30% -c 10% -n ok
4 5
 
Browse code

Zautomatyzowany monitoring.

Lukasz P authored on15/02/2021 13:37:06
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,4 @@
1
+# Managed with Ansible
2
+command[check_load]={{ item.plugin_path }}/check_load -w "$(($(nproc --all)))" -c "$(($(nproc --all)+1))"
3
+command[check_disk]={{ item.plugin_path }}/check_disk / -w 20% -c 10%
4
+