test_id:metrics=>{"data": {"127.0.0.1": {"metrics_groups": [{"dimensions": {"sensor": "temp_sensor_name.$index"},"group_name": "environment","metrics": {"temperature_fahrenheit": {"metric_type": "gauge","transform": "lambda x: round((x * 1.8) + 32, 2) if x != 0 else 0.0","type": "float","value": "temp_sensor_values.$index"}}},{"dimensions": {"cpu_name": "cpu_name.$index","cpu_no": "cpu_no.$index","cpu_type": "'data' if 'Routing Engine' in cpu_name.$index else 'ctrl'"},"group_name": "cpu","metrics": {"cpu_utilization": {"metric_type": "gauge","value": "cpu_util.$index"}}},{"dimensions": {"memory_type": "cpu_name.$index"},"group_name": "memory","metrics": {"memory_total": {"metric_type": "gauge","value": "memory_total.$index"},"memory_used": {"indices_from": "memory_total","metric_type": "gauge","value": "float(memory_used.$index) / 100.0 * memory_total.$index"}}},{"dimensions": {"power_module_type": "power_module_types.$index"},"group_name": "environment","metrics": {"power_units_on": {"indices_from": "power_units_total","metric_type": "gauge","value": "len([(x,y) for (x,y) in oper_status.items() if x in power_module_types and y not in ['6'] and power_module_types[x] == $index])"},"power_units_total": {"metric_type": "gauge","value": "power_units_total.$index"}}},{"dimensions": {},"group_name": "environment","metrics": {"fans_ok": {"metric_type": "gauge","value": "len([(x,y) for (x,y) in oper_status.items() if x in fans and y not in ['6']])"},"fans_total": 24}}],"oids": {"cpu_name": {"method": "static","values": {"10.1.1.0": "FPM Board","7.1.0.0": "FPC: MPC6E 3D @ 0/*/*","7.10.0.0": "FPC: MPC5E 3D 24XGE+6XLGE @ 9/*/*","7.11.0.0": "FPC: MPC5E 3D 24XGE+6XLGE @ 10/*/*","7.12.0.0": "FPC: MPC5E 3D 24XGE+6XLGE @ 11/*/*","7.13.0.0": "FPC: MPC8E 3D @ 12/*/*","7.18.0.0": "FPC: MPC6E 3D @ 17/*/*","7.19.0.0": "FPC: MPC6E 3D @ 18/*/*","7.2.0.0": "FPC: MPC6E 3D @ 1/*/*","7.20.0.0": "FPC: MPC6E 3D @ 19/*/*","7.3.0.0": "FPC: MPC6E 3D @ 2/*/*","7.4.0.0": "FPC: MPC6E 3D @ 3/*/*","7.6.0.0": "FPC: MPC5E 3D 24XGE+6XLGE @ 5/*/*","7.8.0.0": "FPC: MPC8E 3D @ 7/*/*","7.9.0.0": "FPC: MPC5E 3D 24XGE+6XLGE @ 8/*/*","8.1.1.0": "PIC: 2X100GE CFP2 OTN @ 0/0/*","8.1.2.0": "PIC: 2X100GE CFP2 OTN @ 0/1/*","8.10.1.0": "PIC: 12X10GE SFPP OTN @ 9/0/*","8.10.4.0": "PIC: 3X40GE QSFPP @ 9/3/*","8.11.1.0": "PIC: 12X10GE SFPP OTN @ 10/0/*","8.11.4.0": "PIC: 3X40GE QSFPP @ 10/3/*","8.12.1.0": "PIC: 12X10GE SFPP OTN @ 11/0/*","8.12.4.0": "PIC: 3X40GE QSFPP @ 11/3/*","8.13.1.0": "PIC: MRATE-12xQSFPP-XGE-XLGE-CGE @ 12/0/*","8.13.2.0": "PIC: MRATE-12xQSFPP-XGE-XLGE-CGE @ 12/1/*","8.18.1.0": "PIC: 2X100GE CFP2 OTN @ 17/0/*","8.18.2.0": "PIC: 24X10GE SFPP @ 17/1/*","8.19.1.0": "PIC: 2X100GE CFP2 OTN @ 18/0/*","8.19.2.0": "PIC: 2X100GE CFP2 OTN @ 18/1/*","8.2.1.0": "PIC: 2X100GE CFP2 OTN @ 1/0/*","8.2.2.0": "PIC: 2X100GE CFP2 OTN @ 1/1/*","8.20.1.0": "PIC: 2X100GE CFP2 OTN @ 19/0/*","8.20.2.0": "PIC: 2X100GE CFP2 OTN @ 19/1/*","8.3.1.0": "PIC: 24X10GE SFPP @ 2/0/*","8.3.2.0": "PIC: 2X100GE CFP2 OTN @ 2/1/*","8.4.2.0": "PIC: 2X100GE CFP2 OTN @ 3/1/*","8.6.3.0": "PIC: 3X40GE QSFPP @ 5/2/*","8.6.4.0": "PIC: 3X40GE QSFPP @ 5/3/*","8.8.1.0": "PIC: MRATE-12xQSFPP-XGE-XLGE-CGE @ 7/0/*","8.8.2.0": "PIC: MRATE-12xQSFPP-XGE-XLGE-CGE @ 7/1/*","8.9.3.0": "PIC: 3X40GE QSFPP @ 8/2/*","8.9.4.0": "PIC: 3X40GE QSFPP @ 8/3/*","9.1.0.0": "Routing Engine 0"}},"cpu_no": {"method": "static","values": {"10.1.1.0": "Module 10.1.1.0","7.1.0.0": "Module 7.1.0.0","7.10.0.0": "Module 7.10.0.0","7.11.0.0": "Module 7.11.0.0","7.12.0.0": "Module 7.12.0.0","7.13.0.0": "Module 7.13.0.0","7.18.0.0": "Module 7.18.0.0","7.19.0.0": "Module 7.19.0.0","7.2.0.0": "Module 7.2.0.0","7.20.0.0": "Module 7.20.0.0","7.3.0.0": "Module 7.3.0.0","7.4.0.0": "Module 7.4.0.0","7.6.0.0": "Module 7.6.0.0","7.8.0.0": "Module 7.8.0.0","7.9.0.0": "Module 7.9.0.0","8.1.1.0": "Module 8.1.1.0","8.1.2.0": "Module 8.1.2.0","8.10.1.0": "Module 8.10.1.0","8.10.4.0": "Module 8.10.4.0","8.11.1.0": "Module 8.11.1.0","8.11.4.0": "Module 8.11.4.0","8.12.1.0": "Module 8.12.1.0","8.12.4.0": "Module 8.12.4.0","8.13.1.0": "Module 8.13.1.0","8.13.2.0": "Module 8.13.2.0","8.18.1.0": "Module 8.18.1.0","8.18.2.0": "Module 8.18.2.0","8.19.1.0": "Module 8.19.1.0","8.19.2.0": "Module 8.19.2.0","8.2.1.0": "Module 8.2.1.0","8.2.2.0": "Module 8.2.2.0","8.20.1.0": "Module 8.20.1.0","8.20.2.0": "Module 8.20.2.0","8.3.1.0": "Module 8.3.1.0","8.3.2.0": "Module 8.3.2.0","8.4.2.0": "Module 8.4.2.0","8.6.3.0": "Module 8.6.3.0","8.6.4.0": "Module 8.6.4.0","8.8.1.0": "Module 8.8.1.0","8.8.2.0": "Module 8.8.2.0","8.9.3.0": "Module 8.9.3.0","8.9.4.0": "Module 8.9.4.0","9.1.0.0": "Module 9.1.0.0"}},"cpu_util": {"method": "bulk_walk","oid": ".1.3.6.1.4.1.2636.3.1.13.1.24"},"fans": {"method": "static","values": {"4.1.1.0": "Fan Tray 0 Fan 1","4.1.2.0": "Fan Tray 0 Fan 2","4.1.3.0": "Fan Tray 0 Fan 3","4.1.4.0": "Fan Tray 0 Fan 4","4.1.5.0": "Fan Tray 0 Fan 5","4.1.6.0": "Fan Tray 0 Fan 6","4.2.1.0": "Fan Tray 1 Fan 1","4.2.2.0": "Fan Tray 1 Fan 2","4.2.3.0": "Fan Tray 1 Fan 3","4.2.4.0": "Fan Tray 1 Fan 4","4.2.5.0": "Fan Tray 1 Fan 5","4.2.6.0": "Fan Tray 1 Fan 6","4.3.1.0": "Fan Tray 2 Fan 1","4.3.2.0": "Fan Tray 2 Fan 2","4.3.3.0": "Fan Tray 2 Fan 3","4.3.4.0": "Fan Tray 2 Fan 4","4.3.5.0": "Fan Tray 2 Fan 5","4.3.6.0": "Fan Tray 2 Fan 6","4.4.1.0": "Fan Tray 3 Fan 1","4.4.2.0": "Fan Tray 3 Fan 2","4.4.3.0": "Fan Tray 3 Fan 3","4.4.4.0": "Fan Tray 3 Fan 4","4.4.5.0": "Fan Tray 3 Fan 5","4.4.6.0": "Fan Tray 3 Fan 6"}},"memory_total": {"method": "static","values": {"14.1.0.0": 2952790016,"7.1.0.0": 3758096384,"7.10.0.0": 3758096384,"7.11.0.0": 3758096384,"7.12.0.0": 3758096384,"7.13.0.0": 3355443200,"7.18.0.0": 3758096384,"7.19.0.0": 3758096384,"7.2.0.0": 3758096384,"7.20.0.0": 3758096384,"7.3.0.0": 3758096384,"7.4.0.0": 3758096384,"7.6.0.0": 3758096384,"7.8.0.0": 3355443200,"7.9.0.0": 3758096384,"9.1.0.0": 34306260992}},"memory_used": {"method": "bulk_walk","oid": ".1.3.6.1.4.1.2636.3.1.13.1.11"},"oper_status": {"method": "bulk_walk","oid": ".1.3.6.1.4.1.2636.3.1.13.1.6"},"power_module_types": {"method": "static","values": {"21.1.0.0": "PDM","21.2.0.0": "PDM","21.3.0.0": "PDM","21.4.0.0": "PDM","22.1.0.0": "PSM","22.10.0.0": "PSM","22.11.0.0": "PSM","22.12.0.0": "PSM","22.13.0.0": "PSM","22.14.0.0": "PSM","22.15.0.0": "PSM","22.16.0.0": "PSM","22.17.0.0": "PSM","22.18.0.0": "PSM","22.2.0.0": "PSM","22.3.0.0": "PSM","22.4.0.0": "PSM","22.5.0.0": "PSM","22.6.0.0": "PSM","22.7.0.0": "PSM","22.8.0.0": "PSM","22.9.0.0": "PSM","PDM": "PDM","PSM": "PSM"}},"power_modules": {"method": "static","values": {"21.1.0.0": "PDM 0","21.2.0.0": "PDM 1","21.3.0.0": "PDM 2","21.4.0.0": "PDM 3","22.1.0.0": "PSM 0","22.10.0.0": "PSM 9","22.11.0.0": "PSM 10","22.12.0.0": "PSM 11","22.13.0.0": "PSM 12","22.14.0.0": "PSM 13","22.15.0.0": "PSM 14","22.16.0.0": "PSM 15","22.17.0.0": "PSM 16","22.18.0.0": "PSM 17","22.2.0.0": "PSM 1","22.3.0.0": "PSM 2","22.4.0.0": "PSM 3","22.5.0.0": "PSM 4","22.6.0.0": "PSM 5","22.7.0.0": "PSM 6","22.8.0.0": "PSM 7","22.9.0.0": "PSM 8"}},"power_units_total": {"method": "static","values": {"PDM": 4,"PSM": 18}},"temp_sensor_name": {"method": "static","values": {"12.1.0.0": "CB 0","14.1.0.0": "SPMB 0","15.1.0.0": "SFB 0","15.2.0.0": "SFB 1","15.3.0.0": "SFB 2","15.4.0.0": "SFB 3","15.5.0.0": "SFB 4","15.6.0.0": "SFB 5","15.7.0.0": "SFB 6","15.8.0.0": "SFB 7","22.1.0.0": "PSM 0","22.1.1.0": "PSM 0 INP0","22.1.2.0": "PSM 0 INP1","22.10.0.0": "PSM 9","22.10.1.0": "PSM 9 INP0","22.10.2.0": "PSM 9 INP1","22.11.0.0": "PSM 10","22.11.1.0": "PSM 10 INP0","22.11.2.0": "PSM 10 INP1","22.12.0.0": "PSM 11","22.12.1.0": "PSM 11 INP0","22.12.2.0": "PSM 11 INP1","22.13.0.0": "PSM 12","22.13.1.0": "PSM 12 INP0","22.13.2.0": "PSM 12 INP1","22.14.0.0": "PSM 13","22.14.1.0": "PSM 13 INP0","22.14.2.0": "PSM 13 INP1","22.15.0.0": "PSM 14","22.15.1.0": "PSM 14 INP0","22.15.2.0": "PSM 14 INP1","22.16.0.0": "PSM 15","22.16.1.0": "PSM 15 INP0","22.16.2.0": "PSM 15 INP1","22.17.0.0": "PSM 16","22.17.1.0": "PSM 16 INP0","22.17.2.0": "PSM 16 INP1","22.18.0.0": "PSM 17","22.18.1.0": "PSM 17 INP0","22.18.2.0": "PSM 17 INP1","22.2.0.0": "PSM 1","22.2.1.0": "PSM 1 INP0","22.2.2.0": "PSM 1 INP1","22.3.0.0": "PSM 2","22.3.1.0": "PSM 2 INP0","22.3.2.0": "PSM 2 INP1","22.4.0.0": "PSM 3","22.4.1.0": "PSM 3 INP0","22.4.2.0": "PSM 3 INP1","22.5.0.0": "PSM 4","22.5.1.0": "PSM 4 INP0","22.5.2.0": "PSM 4 INP1","22.6.0.0": "PSM 5","22.6.1.0": "PSM 5 INP0","22.6.2.0": "PSM 5 INP1","22.7.0.0": "PSM 6","22.7.1.0": "PSM 6 INP0","22.7.2.0": "PSM 6 INP1","22.8.0.0": "PSM 7","22.8.1.0": "PSM 7 INP0","22.8.2.0": "PSM 7 INP1","22.9.0.0": "PSM 8","22.9.1.0": "PSM 8 INP0","22.9.2.0": "PSM 8 INP1","23.10.0.0": "ADC 9","23.11.0.0": "ADC 10","23.12.0.0": "ADC 11","23.6.0.0": "ADC 5","23.9.0.0": "ADC 8","4.1.1.0": "Fan Tray 0 Fan 1","4.1.2.0": "Fan Tray 0 Fan 2","4.1.3.0": "Fan Tray 0 Fan 3","4.1.4.0": "Fan Tray 0 Fan 4","4.1.5.0": "Fan Tray 0 Fan 5","4.1.6.0": "Fan Tray 0 Fan 6","4.2.1.0": "Fan Tray 1 Fan 1","4.2.2.0": "Fan Tray 1 Fan 2","4.2.3.0": "Fan Tray 1 Fan 3","4.2.4.0": "Fan Tray 1 Fan 4","4.2.5.0": "Fan Tray 1 Fan 5","4.2.6.0": "Fan Tray 1 Fan 6","4.3.1.0": "Fan Tray 2 Fan 1","4.3.2.0": "Fan Tray 2 Fan 2","4.3.3.0": "Fan Tray 2 Fan 3","4.3.4.0": "Fan Tray 2 Fan 4","4.3.5.0": "Fan Tray 2 Fan 5","4.3.6.0": "Fan Tray 2 Fan 6","4.4.1.0": "Fan Tray 3 Fan 1","4.4.2.0": "Fan Tray 3 Fan 2","4.4.3.0": "Fan Tray 3 Fan 3","4.4.4.0": "Fan Tray 3 Fan 4","4.4.5.0": "Fan Tray 3 Fan 5","4.4.6.0": "Fan Tray 3 Fan 6","7.1.0.0": "FPC: MPC6E 3D @ 0/*/*","7.10.0.0": "FPC: MPC5E 3D 24XGE+6XLGE @ 9/*/*","7.11.0.0": "FPC: MPC5E 3D 24XGE+6XLGE @ 10/*/*","7.12.0.0": "FPC: MPC5E 3D 24XGE+6XLGE @ 11/*/*","7.13.0.0": "FPC: MPC8E 3D @ 12/*/*","7.18.0.0": "FPC: MPC6E 3D @ 17/*/*","7.19.0.0": "FPC: MPC6E 3D @ 18/*/*","7.2.0.0": "FPC: MPC6E 3D @ 1/*/*","7.20.0.0": "FPC: MPC6E 3D @ 19/*/*","7.3.0.0": "FPC: MPC6E 3D @ 2/*/*","7.4.0.0": "FPC: MPC6E 3D @ 3/*/*","7.6.0.0": "FPC: MPC5E 3D 24XGE+6XLGE @ 5/*/*","7.8.0.0": "FPC: MPC8E 3D @ 7/*/*","7.9.0.0": "FPC: MPC5E 3D 24XGE+6XLGE @ 8/*/*","9.1.0.0": "Routing Engine 0"}},"temp_sensor_values": {"method": "bulk_walk","oid": ".1.3.6.1.4.1.2636.3.1.13.1.7"}}}}}