X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fnotify_nagios.c;h=f744d486156bfba6255fae5a10ee4d1c89750639;hp=bea0faad3079093fbef68c77884014b5e6b5b375;hb=e746ad785774de37a30302fef65f1c4aaf8698ab;hpb=f81a5a84d3d5fc941b624c28b1ab70971cc23ac9 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 */