mirror of https://github.com/zulip/zulip.git
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:
parent
89733670fd
commit
3feb536df3
|
@ -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$
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue