Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

With the different views (24h 1w 1m) there are different down tims #27

Closed
tinoklauer opened this issue Sep 7, 2021 · 2 comments
Closed

Comments

@tinoklauer
Copy link

Hi,

why i have different downtimes?

System Debian 10 with Nagios 4 (4.4.6)

...
check_interval 5
retry_interval 1
...
Bild 2
Bild3

@nook24
Copy link
Member

nook24 commented Sep 7, 2021

It would be good if you create the issue to the corresponding repositories: https://github.com/statusengine/interface

The Chart will always display 100 (or 500 I'm not sure) datapoints. So in the background a "compression" needs to be done. The system will average various data points together. Also the timestamp is an average in this case.

https://github.com/statusengine/interface/blob/master/src/Controller/ServicePerfdata.php#L72-L112
Maybe not the best implementation, idk

You can try to increase the limit to get a more accurate chart but this could lead to browser crashes.

@tinoklauer
Copy link
Author

Change to statusengine/interface#51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants