--- xymond_client.c.dist 2016-02-02 21:16:19.000000000 +0100 +++ xymond_client.c 2018-01-16 11:46:52.188004224 +0100 @@ -389,7 +389,7 @@ int hours = (uptimesecs % 86400) / 3600; int mins = (uptimesecs % 3600) / 60; - if (days) sprintf(myupstr, "up: %d days", days); + if (days) sprintf(myupstr, "up: %d days %02d:%02d", days, hours, mins); else sprintf(myupstr, "up: %02d:%02d", hours, mins); } else *myupstr = '\0'; @@ -528,6 +528,9 @@ (timestr ? timestr : ""), ((upstatuscolor == COL_GREEN) ? "OK" : "Not OK")); addtostatus(msgline); + if (STRBUFLEN(upmsg)) { + addtostrstatus(upmsg); + } sprintf(msgline, "\nSystem has been %s\n", myupstr); addtostatus(msgline); if (fromline && !localmode) addtostatus(fromline);