nagios: Remove swap check.

Swap usage is not a high signal thing to alert on, and is likely to flap.
This commit is contained in:
Alex Vandiver 2023-03-27 20:48:01 +00:00 committed by Tim Abbott
parent 89733670fd
commit 3feb536df3
2 changed files with 0 additions and 17 deletions

View File

@ -130,12 +130,6 @@ define command{
command_line /usr/lib/nagios/plugins/check_by_ssh -p 22 -l nagios -t 30 -i /var/lib/nagios/.ssh/id_ed25519 -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/zulip_app_frontend/check_cron_file /var/lib/nagios_state/check-analytics-state 4000' # Last argument is acceptable delay in seconds.
}
define command{
command_name check_remote_swap
# `-n ok` means having no swap is OK
command_line /usr/lib/nagios/plugins/check_by_ssh -p $ARG1$ -l nagios -t 30 -i /var/lib/nagios/.ssh/id_ed25519 -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/check_swap -w $ARG2$ -c $ARG3$ -n ok'
}
define command {
command_name check_named_procs
command_line /usr/lib/nagios/plugins/check_procs -C $ARG1$ -w $ARG2$ -c $ARG3$

View File

@ -58,17 +58,6 @@ define service {
}
### Swap
define service {
use generic-service
service_description swap
hostgroup_name all
check_command check_remote_swap!22!80%!50%
contact_groups admins
}
### Load
define service {