Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

nagios: Remove swap check.

Alex Vandiver3feb536df330
diff --git a/puppet/zulip_ops/files/nagios4/commands.cfg b/puppet/zulip_ops/files/nagios4/commands.cfg
index 2db0debc852..b6f395faf08 100644
--- a/puppet/zulip_ops/files/nagios4/commands.cfg
+++ b/puppet/zulip_ops/files/nagios4/commands.cfg
@@ -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$
diff --git a/puppet/zulip_ops/files/nagios4/conf.d/services.cfg b/puppet/zulip_ops/files/nagios4/conf.d/services.cfg
index 1837a649fa1..0437cbc48b7 100644
--- a/puppet/zulip_ops/files/nagios4/conf.d/services.cfg
+++ b/puppet/zulip_ops/files/nagios4/conf.d/services.cfg
@@ -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 {