glpi_monitoring
glpi_monitoring copied to clipboard
For 1 week, 1 month , 6 months and 1 year graph, use serviceevents
We can use directly serviceevents for display these graphs
In my test 6 months takes 0,1 seconds to extract all data, so we make average on data. So remove servicegraph table and updaterrd cron
Good idea !
3 things to fix again :
- dates: get it different like for 1week with the week is on 2 différent months
- not get data for dates outside of calendar
- clean cron
Please note that monthly graph is always corrupted !

When incremental, and have no perfdata, keep last value and not define it as '0'