Dzahn has uploaded a new change for review.
https://gerrit.wikimedia.org/r/143527
Change subject: deprecated syntax in icinga checkcommands.cfg.erb
......................................................................
deprecated syntax in icinga checkcommands.cfg.erb
Change-Id: I67f45f914070f90be14b24b0450daf9def22605c
---
M templates/icinga/checkcommands.cfg.erb
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/27/143527/1
diff --git a/templates/icinga/checkcommands.cfg.erb
b/templates/icinga/checkcommands.cfg.erb
index 7c4ea55..c0e6531 100644
--- a/templates/icinga/checkcommands.cfg.erb
+++ b/templates/icinga/checkcommands.cfg.erb
@@ -236,7 +236,7 @@
define command{
command_name check_mysqlstatus
- command_line /usr/bin/php $USER1$/check_MySQL.php -h $HOSTADDRESS$
-u nagios -p <%= nagios_mysql_check_pass %> $ARG1$
+ command_line /usr/bin/php $USER1$/check_MySQL.php -h $HOSTADDRESS$
-u nagios -p <%= @nagios_mysql_check_pass %> $ARG1$
}
# 'check_http_wikipedia' command definition, querying a different URL
@@ -373,12 +373,12 @@
define command{
command_name check_longqueries
- command_line /usr/lib/nagios/plugins/check_longqueries -H
$HOSTADDRESS$ -u nagios -p <%= nagios_mysql_check_pass %> -w 30 -c 66
+ command_line /usr/lib/nagios/plugins/check_longqueries -H
$HOSTADDRESS$ -u nagios -p <%= @nagios_mysql_check_pass %> -w 30 -c 66
}
define command{
command_name check_db_lag
- command_line $USER1$/check_mysql-replication.pl -sa $HOSTADDRESS$
-sl nagios -spd <%= nagios_mysql_check_pass %> -a lag -w 60 -c 600
+ command_line $USER1$/check_mysql-replication.pl -sa $HOSTADDRESS$
-sl nagios -spd <%= @nagios_mysql_check_pass %> -a lag -w 60 -c 600
}
define command {
--
To view, visit https://gerrit.wikimedia.org/r/143527
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I67f45f914070f90be14b24b0450daf9def22605c
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits