diff --git a/src/naemon/broker.c b/src/naemon/broker.c index a1b950c4..04b124f7 100644 --- a/src/naemon/broker.c +++ b/src/naemon/broker.c @@ -460,6 +460,7 @@ void broker_host_status(int type, int flags, int attr, host *hst) ds.flags = flags; ds.attr = attr; get_broker_timestamp(&ds.timestamp); + hst->last_update = ds.timestamp.tv_sec; ds.object_ptr = (void *)hst; @@ -483,6 +484,7 @@ void broker_service_status(int type, int flags, int attr, service *svc) ds.flags = flags; ds.attr = attr; get_broker_timestamp(&ds.timestamp); + svc->last_update = ds.timestamp.tv_sec; ds.object_ptr = (void *)svc;