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: Adjust load alerting by hostgroup.

Alex Vandiver83c82c8e15e7
diff --git a/puppet/zulip_ops/files/nagios4/conf.d/services.cfg b/puppet/zulip_ops/files/nagios4/conf.d/services.cfg
index c4f6723b05b..ef0bd0c0d19 100644
--- a/puppet/zulip_ops/files/nagios4/conf.d/services.cfg
+++ b/puppet/zulip_ops/files/nagios4/conf.d/services.cfg
@@ -74,22 +74,30 @@ define service {
define service {
use generic-service
service_description Load
- hostgroup_name pageable_servers
- check_command check_remote_load!22!14.0,12.0,10.0!18.0,16.0,14.0
+ hostgroup_name fullstack, redis, staging_frontends, smokescreen
+ 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 not_pageable_servers
- check_command check_remote_load!22!7.0,6.0,5.0!10.0,8.0,6.0
+ 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 for flaky machines
+ 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