puppet: ssh as the nagios user instead of zulip user.

This is a follow-up to 4f58fef54b,
touching services.cfg instead of commands.cfg.
This commit is contained in:
Tim Abbott 2016-07-30 22:51:00 -07:00 committed by Tim Abbott
parent a350d43683
commit 96cf330649
1 changed files with 11 additions and 11 deletions

View File

@ -146,7 +146,7 @@ define service {
define service { define service {
use generic-service use generic-service
service_description Check postgres autovac_freeze service_description Check postgres autovac_freeze
check_command check_postgres!zulip!zulip!autovac_freeze check_command check_postgres!zulip!nagios!autovac_freeze
hostgroup postgres_appdb_primary hostgroup postgres_appdb_primary
contact_groups admins contact_groups admins
} }
@ -154,7 +154,7 @@ define service {
define service { define service {
use generic-service use generic-service
service_description Check postgres backends service_description Check postgres backends
check_command check_postgres!zulip!zulip!backends check_command check_postgres!zulip!nagios!backends
hostgroup postgres_appdb hostgroup postgres_appdb
contact_groups admins contact_groups admins
} }
@ -162,7 +162,7 @@ define service {
define service { define service {
use generic-service use generic-service
service_description Check postgres connection service_description Check postgres connection
check_command check_postgres!zulip!zulip!connection check_command check_postgres!zulip!nagios!connection
hostgroup postgres_appdb hostgroup postgres_appdb
contact_groups admins contact_groups admins
} }
@ -170,7 +170,7 @@ define service {
define service { define service {
use generic-service use generic-service
service_description Check postgres disabled triggers service_description Check postgres disabled triggers
check_command check_postgres!zulip!zulip!disabled_triggers check_command check_postgres!zulip!nagios!disabled_triggers
hostgroup postgres_appdb hostgroup postgres_appdb
contact_groups admins contact_groups admins
} }
@ -178,7 +178,7 @@ define service {
define service { define service {
use generic-service use generic-service
service_description Check postgres hitratio service_description Check postgres hitratio
check_command check_postgres!zulip!zulip!hitratio check_command check_postgres!zulip!nagios!hitratio
hostgroup postgres_appdb hostgroup postgres_appdb
contact_groups admins contact_groups admins
} }
@ -186,7 +186,7 @@ define service {
define service { define service {
use generic-service use generic-service
service_description Check postgres locks service_description Check postgres locks
check_command check_postgres_alert_args!zulip!zulip!locks!100!200 check_command check_postgres_alert_args!zulip!nagios!locks!100!200
hostgroup postgres_appdb hostgroup postgres_appdb
contact_groups admins contact_groups admins
} }
@ -194,7 +194,7 @@ define service {
define service { define service {
use generic-service use generic-service
service_description Check postgres query_time service_description Check postgres query_time
check_command check_postgres_alert_args!zulip!zulip!query_time!20 seconds!40 seconds check_command check_postgres_alert_args!zulip!nagios!query_time!20 seconds!40 seconds
hostgroup postgres_appdb hostgroup postgres_appdb
contact_groups admins contact_groups admins
} }
@ -202,7 +202,7 @@ define service {
define service { define service {
use generic-service use generic-service
service_description Check postgres sequence service_description Check postgres sequence
check_command check_postgres!zulip!zulip!sequence check_command check_postgres!zulip!nagios!sequence
hostgroup postgres_appdb hostgroup postgres_appdb
contact_groups admins contact_groups admins
} }
@ -210,7 +210,7 @@ define service {
define service { define service {
use generic-service use generic-service
service_description Check postgres timesync service_description Check postgres timesync
check_command check_postgres!zulip!zulip!timesync check_command check_postgres!zulip!nagios!timesync
hostgroup postgres_appdb hostgroup postgres_appdb
contact_groups admins contact_groups admins
} }
@ -218,7 +218,7 @@ define service {
# define service { # define service {
# use generic-service # use generic-service
# service_description Check postgres txn_idle # service_description Check postgres txn_idle
# check_command check_postgres_alert_args!zulip!zulip!txn_idle!20 seconds!40 seconds # check_command check_postgres_alert_args!zulip!nagios!txn_idle!20 seconds!40 seconds
# hostgroup postgres_appdb # hostgroup postgres_appdb
# contact_groups admins # contact_groups admins
# } # }
@ -226,7 +226,7 @@ define service {
define service { define service {
use generic-service use generic-service
service_description Check postgres txn_time service_description Check postgres txn_time
check_command check_postgres_alert_args!zulip!zulip!txn_time!20 seconds!40 seconds check_command check_postgres_alert_args!zulip!nagios!txn_time!20 seconds!40 seconds
hostgroup postgres_appdb hostgroup postgres_appdb
contact_groups admins contact_groups admins
} }