From f666e168e11b29e61052a59c2083d80ddc992f1b Mon Sep 17 00:00:00 2001 From: Zev Benjamin Date: Thu, 5 Sep 2013 19:47:11 -0400 Subject: [PATCH] nagios: Fix argument expansion in check_postgres_alert_args command This was apparently causing some quoting weirdness. (imported from commit 680d3cb9f4b1cf47cc1652feeb9f19855e7aa3e0) --- servers/puppet/modules/zulip/files/nagios3/commands.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/puppet/modules/zulip/files/nagios3/commands.cfg b/servers/puppet/modules/zulip/files/nagios3/commands.cfg index 4ddaaaaf07..a78b73f194 100644 --- a/servers/puppet/modules/zulip/files/nagios3/commands.cfg +++ b/servers/puppet/modules/zulip/files/nagios3/commands.cfg @@ -98,7 +98,7 @@ define command{ define command{ command_name check_postgres_alert_args - command_line /usr/lib/nagios/plugins/check_by_ssh -p $ARG1$ -l humbug -t 30 -i /var/lib/nagios/.ssh/id_rsa -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/check_postgres.pl --dbname=humbug --dbuser=humbug --action $ARG2$ --warning="$ARG3" --critical="$ARG4"' + command_line /usr/lib/nagios/plugins/check_by_ssh -p $ARG1$ -l humbug -t 30 -i /var/lib/nagios/.ssh/id_rsa -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/check_postgres.pl --dbname=humbug --dbuser=humbug --action $ARG2$ --warning="$ARG3$" --critical="$ARG4$"' } define command{