NagiosEnterprises / ncpa

Nagios Cross-Platform Agent
Other
176 stars 95 forks source link

NCPA update breaks graphs #1055

Closed shodgson11 closed 7 months ago

shodgson11 commented 7 months ago

I upgraded an Ubuntu 20.04 server to NCPA 3.0 today and the Memory and Disk Usage graphs are now broken. Several values swapped places in the graph.

Obviously the disk didn't completely swap its values in an instant this morning, and same with system memory. chrome_2023-11-29_10-10-11 chrome_2023-11-29_10-09-41

ne-bbahn commented 7 months ago

It seems the order of the items is different causing the colors to change, but the actual values should correspond correctly to the labels.

shodgson11 commented 7 months ago

but the actual values should correspond correctly to the labels.

The new values do correspond to the new labels, but this corrupts all historical data. For example on the disk usage chart, obviously the Free space wasn't ~59 GB prior to the NCPA upgrade and then magically ~38 GB after the NCPA upgrade.

ne-bbahn commented 7 months ago

This will be fixed with release 3.0.1

shodgson11 commented 7 months ago

Could you clarify what will be fixed here? For example, will the broken graph be fixed or will the fix only apply to servers that update from 2.x directly to 3.0.1?

ne-bbahn commented 7 months ago

All future data from NCPA 3.0.1 will be in the same format as from NCPA 2, so machines that upgraded to 3.0.0 will still have some swapped values until they upgrade to 3.0.1.