Faidon Liambotis has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/140126

Change subject: check_smtp: send the FQDN on HELO
......................................................................

check_smtp: send the FQDN on HELO

Workaround a check_smtp bug during which it sends a HELO with the short
hostname, spamming our exim mainlogs. Use an undocumented -F option as
described in https://bugs.debian.org/578333

Change-Id: I6c08108d60ba13f24e39fb7fce0b4ec989007f2c
---
M templates/icinga/checkcommands.cfg.erb
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/26/140126/1

diff --git a/templates/icinga/checkcommands.cfg.erb 
b/templates/icinga/checkcommands.cfg.erb
index 8a96d75..459a773 100644
--- a/templates/icinga/checkcommands.cfg.erb
+++ b/templates/icinga/checkcommands.cfg.erb
@@ -157,7 +157,8 @@
 # 'check_smtp' command definition
 define command{
         command_name    check_smtp
-        command_line    $USER1$/check_smtp -H $HOSTADDRESS$
+        # workaround Debian #578333
+        command_line    $USER1$/check_smtp -F <%= @hostname %> -H $HOSTADDRESS$
         }
 
 

-- 
To view, visit https://gerrit.wikimedia.org/r/140126
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6c08108d60ba13f24e39fb7fce0b4ec989007f2c
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon Liambotis <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to