Lcarr has submitted this change and it was merged. Change subject: no need for echocmd when bin/bash has echo built in ......................................................................
no need for echocmd when bin/bash has echo built in trying to remove any extra steps that may be causing these crazy lockups in submit_check_result Change-Id: I13e621fd1c2bd133d662059f6366ff99c9af1ff3 --- M files/icinga/submit_check_result 1 file changed, 4 insertions(+), 2 deletions(-) Approvals: Lcarr: Looks good to me, approved jenkins-bot: Verified diff --git a/files/icinga/submit_check_result b/files/icinga/submit_check_result index a759f15..57dd390 100755 --- a/files/icinga/submit_check_result +++ b/files/icinga/submit_check_result @@ -2,7 +2,9 @@ # SUBMIT_CHECK_RESULT # Written by Ethan Galstad ([email protected]) -# Last Modified: 02-18-2002 +# Modified by Leslie Carr ([email protected]) +# +# Last Modified: 07-02-2013 # # This script will write a command to the Nagios command # file to cause Nagios to process a passive service check @@ -37,4 +39,4 @@ cmdline="[$datetime] PROCESS_SERVICE_CHECK_RESULT;$hostname;$2;$3;$4" # append the command to the end of the command file -`$echocmd $cmdline >> $CommandFile` +echo "$cmdline" >> $CommandFile` -- To view, visit https://gerrit.wikimedia.org/r/71645 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I13e621fd1c2bd133d662059f6366ff99c9af1ff3 Gerrit-PatchSet: 2 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Lcarr <[email protected]> Gerrit-Reviewer: Lcarr <[email protected]> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
