summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2016-09-03 06:12:28 +0300
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2016-09-03 06:12:28 +0300
commit820398376a6911cb0a5fce02b1d883b2106f4f1e (patch)
tree1fa1f4ef7869f8dbbf14344610f7931a0915b32a /src
parent50c948c43b94c90d1a2ed4dc96ccbae7b00892e7 (diff)
values passed to alarm-email.sh without decimal digits
Diffstat (limited to 'src')
-rw-r--r--src/health.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/health.c b/src/health.c
index 2b2c720b76..80d506a5c3 100644
--- a/src/health.c
+++ b/src/health.c
@@ -1782,7 +1782,7 @@ static inline void health_alarm_execute(RRDHOST *host, ALARM_ENTRY *ae) {
const char *recipient = ae->recipient;
if(!recipient) recipient = health_default_recipient;
- 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'",
+ 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'",
exec,
recipient,
host->hostname,