objects/statehistory API data
Posted: Wed Dec 11, 2019 4:24 pm
I am noticing in the objects/statehistory API some data that seems like should be in there is not. It looks like only the past 24 hrs of data appears in the API, is that correct? And what isn't appearing is if a service state has been in a critical status for > 24 hrs but the last check was 5 minutes ago and is still critical, that last state does not appear in the API. Is that the right behavior?
Example of what isn't reporting to the objects/statehistory API:
Service status for: ntpd
Service State: Critical
Duration: 1d 23h 22m 3s
Service Stability: Unchanging (stable)
Last Check: 2019-12-11 12:59:41
Next Check: 2019-12-11 13:02:01
Example of what isn't reporting to the objects/statehistory API:
Service status for: ntpd
Service State: Critical
Duration: 1d 23h 22m 3s
Service Stability: Unchanging (stable)
Last Check: 2019-12-11 12:59:41
Next Check: 2019-12-11 13:02:01