Paul Cuzner [Tue, 20 Jun 2017 04:16:52 +0000 (16:16 +1200)]
dashboards updated to account for null missing values
Prior to this change the charts had "Display/Null Value" set as null - but in
an environment where observations/metrics are arriving late or miss, the
resulting chart would be part populated at best, at worst blank with only
hover only providing an indication that data points are present.
Ideally the data should be present - but by setting as connected, null values
will not stop the graphs from being rendered.
Paul Cuzner [Mon, 19 Jun 2017 20:47:25 +0000 (08:47 +1200)]
at-a-glance : health history chart updated
The health history query lead to interpolation of health values, so you'd see 1,2 or 3's due to averaging. This
change updates the query to use consolidateBy function which should keep the values as intended - 0,4,8
representing OK, WARN, ERROR
INSTALL instructions updated since this chart problem was listed as a Known Issue
Paul Cuzner [Mon, 19 Jun 2017 04:10:09 +0000 (16:10 +1200)]
added osd-state information
The mon collector now includes the status of osd's in it's output
(where 0 = up, 1 = down). To use this additional info, the at-a-glance
and backend-storage dashboards have been updated.
at-a-glance now includes a link from the OSD's 'down' value to the
backend storage dashboard
backend-storage dashboard includes an osd down table - which basically
shows osd's with a status of > 0
Paul Cuzner [Sun, 18 Jun 2017 22:08:23 +0000 (10:08 +1200)]
dashUpdater - refactoring and startup options added
Multiple changes
- refactored code
- added argparse to provide runtime options
- adding logging module to provide more debug information
- added checks to confirm grafana port is available before attempting to fetch dashboards
- issue a return code back to the calling shell