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