|
|
|
@ -95,6 +95,8 @@ def handle_megaraid_controller(response):
|
|
|
|
|
add_metric('scheduled_patrol_read', baselabel, |
|
|
|
|
int('hrs' in response['Scheduled Tasks']['Patrol Read Reoccurrence'])) |
|
|
|
|
add_metric('temperature', baselabel, int(response['HwCfg']['ROC temperature(Degree Celsius)'])) |
|
|
|
|
for cvidx, cvinfo in enumerate(response['Cachevault_Info']): |
|
|
|
|
add_metric('cv_temperature', baselabel + ',cvidx="' + str(cvidx) + '"', int(cvinfo['Temp'].replace('C',''))) |
|
|
|
|
|
|
|
|
|
time_difference_seconds = -1 |
|
|
|
|
system_time = datetime.strptime(response['Basics'].get('Current System Date/time'), |
|
|
|
|