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 load monitoring.

Alex Vandiverf95c8b894ad9
diff --git a/puppet/zulip_ops/files/nagios4/commands.cfg b/puppet/zulip_ops/files/nagios4/commands.cfg
index b6f395faf08..a2ecc9bf9ae 100644
--- a/puppet/zulip_ops/files/nagios4/commands.cfg
+++ b/puppet/zulip_ops/files/nagios4/commands.cfg
@@ -55,11 +55,6 @@ define command{
command_line /usr/lib/nagios/plugins/check_disk -W$ARG1$ -K$ARG2$ -w $ARG1$ -c $ARG2$ -A -l -X cgroup -X tmpfs -X devtmpfs -X squashfs -X configfs -X tracefs
}
-define command{
- command_name check_remote_load
- 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_load -w $ARG2$ -c $ARG3$'
-}
-
define command{
command_name check_zephyr_mirror_forwarding
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/zulip_zephyr_mirror/check_zephyr_mirror'
diff --git a/puppet/zulip_ops/files/nagios4/conf.d/services.cfg b/puppet/zulip_ops/files/nagios4/conf.d/services.cfg
index 8e2219ca606..7584e6afe1a 100644
--- a/puppet/zulip_ops/files/nagios4/conf.d/services.cfg
+++ b/puppet/zulip_ops/files/nagios4/conf.d/services.cfg
@@ -58,44 +58,6 @@ define service {
}
-### Load
-
-define service {
- use generic-service
- service_description Load
- hostgroup_name fullstack, redis, staging_frontends, smokescreen, other
- check_command check_remote_load!22!7.0,6.0,5.0!10.0,8.0,6.0
- contact_groups admins
-}
-
-define service {
- use generic-service
- service_description Load
- hostgroup_name postgresql
- check_command check_remote_load!22!9.0,8.0,7.0!11.0,10.0,9.0
- contact_groups admins
-}
-
-define service {
- use generic-service
- service_description Load
- hostgroup_name prod_frontends
- check_command check_remote_load!22!15.0,14.0,12.0!18.0,16.0,14.0
- contact_groups admins
-}
-
-define service {
- use generic-service
- service_description Load
- hostgroup_name flaky_servers
- check_command check_remote_load!22!5.0,4.0,3.0!10.0,6.0,4.0
- normal_check_interval 2
- retry_check_interval 2
- max_check_attempts 5
- contact_groups admins
-}
-
-
### System updates
define service {