X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fnotify_nagios.c;h=f744d486156bfba6255fae5a10ee4d1c89750639;hb=6d79874b8afa65cbb4a8e348caf37b8e60fbeded;hp=bea0faad3079093fbef68c77884014b5e6b5b375;hpb=be126043c2be20399d7670fe194645292018bde0;p=collectd.git diff --git a/src/notify_nagios.c b/src/notify_nagios.c index bea0faad..f744d486 100644 --- a/src/notify_nagios.c +++ b/src/notify_nagios.c @@ -142,9 +142,9 @@ static int nagios_notify(const notification_t *n, /* {{{ */ } snprintf(buffer, sizeof(buffer), - "[%.0f] PROCESS_SERVICE_CHECK_RESULT;%s;%s;%d;%s\n", - CDTIME_T_TO_DOUBLE(n->time), n->host, &svc_description[1], code, - n->message); + "[%.0f] PROCESS_SERVICE_CHECK_RESULT;%s;%s;%d;%s\n", + CDTIME_T_TO_DOUBLE(n->time), n->host, &svc_description[1], code, + n->message); return nagios_print(buffer); } /* }}} int nagios_notify */