@cryptotaxi247 / netdata-1 / commits / 820398376

values passed to alarm-email.sh without decimal digits

Costa Tsaousis (ktsaou) committed Sep 3, 2016 at 06:12 UTC 820398376a6911cb0a5fce02b1d883b2106f4f1e
1 file changed +1 -1
src/health.c
+1 -1
@@ -1782,7 +1782,7 @@ static inline void health_alarm_execute(RRDHOST *host, ALARM_ENTRY *ae) {
1782 const char *recipient = ae->recipient;
1783 if(!recipient) recipient = health_default_recipient;
1784
1785 - snprintfz(buffer, FILENAME_MAX, "exec %s '%s' '%s' '%u' '%u' '%u' '%zu' '%s' '%s' '%s' '%s' '%s' '%0.1Lf' '%0.1Lf' '%s' '%u' '%u' '%s' '%s'",
1785 + snprintfz(buffer, FILENAME_MAX, "exec %s '%s' '%s' '%u' '%u' '%u' '%zu' '%s' '%s' '%s' '%s' '%s' '%0.0Lf' '%0.0Lf' '%s' '%u' '%u' '%s' '%s'",
1786 exec,
1787 recipient,
1788 host->hostname,