Skip to content

Commit

Permalink
fix sensor data too
Browse files Browse the repository at this point in the history
  • Loading branch information
murrant committed Apr 26, 2023
1 parent b42a6f5 commit 0b4201c
Showing 1 changed file with 23 additions and 10 deletions.
33 changes: 23 additions & 10 deletions tests/data/icr-os.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
"version": "6.3.6 (2022-06-16)",
"hardware": "LR77-v2",
"features": null,
"location": "<private>",
"os": "icr-os",
"type": "network",
"serial": "1234567",
"icon": "advantech.svg",
"location": "<private>"
"icon": "advantech.svg"
}
]
},
Expand Down Expand Up @@ -500,6 +500,7 @@
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "CONEL-IO-MIB::ioBin0"
},
{
Expand All @@ -524,6 +525,7 @@
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "CONEL-IO-MIB::ioOut0"
},
{
Expand All @@ -548,6 +550,7 @@
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "CONEL-STATUS-MIB::statusRTCBattery"
},
{
Expand All @@ -572,6 +575,7 @@
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": null
},
{
Expand All @@ -596,6 +600,7 @@
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": null
}
],
Expand Down Expand Up @@ -675,7 +680,8 @@
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_oids": "[\".1.3.6.1.4.1.30140.4.41.0\"]"
"sensor_oids": "[\".1.3.6.1.4.1.30140.4.41.0\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
Expand All @@ -696,7 +702,8 @@
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_oids": "[\".1.3.6.1.4.1.30140.4.32.0\"]"
"sensor_oids": "[\".1.3.6.1.4.1.30140.4.32.0\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
Expand All @@ -717,7 +724,8 @@
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_oids": "[\".1.3.6.1.4.1.30140.4.33.0\"]"
"sensor_oids": "[\".1.3.6.1.4.1.30140.4.33.0\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
Expand All @@ -738,7 +746,8 @@
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_oids": "[\".1.3.6.1.4.1.30140.4.30.0\"]"
"sensor_oids": "[\".1.3.6.1.4.1.30140.4.30.0\"]",
"rrd_type": "GAUGE"
}
]
},
Expand All @@ -763,7 +772,8 @@
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_oids": "[\".1.3.6.1.4.1.30140.4.41.0\"]"
"sensor_oids": "[\".1.3.6.1.4.1.30140.4.41.0\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
Expand All @@ -784,7 +794,8 @@
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_oids": "[\".1.3.6.1.4.1.30140.4.32.0\"]"
"sensor_oids": "[\".1.3.6.1.4.1.30140.4.32.0\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
Expand All @@ -805,7 +816,8 @@
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_oids": "[\".1.3.6.1.4.1.30140.4.33.0\"]"
"sensor_oids": "[\".1.3.6.1.4.1.30140.4.33.0\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
Expand All @@ -826,7 +838,8 @@
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_oids": "[\".1.3.6.1.4.1.30140.4.30.0\"]"
"sensor_oids": "[\".1.3.6.1.4.1.30140.4.30.0\"]",
"rrd_type": "GAUGE"
}
]
}
Expand Down

0 comments on commit 0b4201c

Please sign in to comment.