Icinga / icinga2

The core of our monitoring platform with a powerful configuration language and REST API.
https://icinga.com/docs/icinga2/latest
GNU General Public License v2.0
2.03k stars 578 forks source link

Introduce new column `last_check` for the IcingaDB redis writer #7784

Closed nilmerg closed 4 years ago

nilmerg commented 4 years ago

last_update is used to display when a host/service has been last checked. Since IcingaDB this column is updated on every row update which will then be out of sync with the real time when the last check was made. Please introduce a new column last_check which represents exactly this case.

dnsmichi commented 4 years ago

@N-o-X I've created a PR, the getter was already in place.

N-o-X commented 4 years ago

We've decided that we don't want to introduce a new column called last_check, but to change the value of last_update to the value of last_check.