Hey @bb-Ricardo
it's been a while, hope you're doing good!
I have a small issue with performance data and pnp4nagios.
This is the redfish data:
"MediaType": "SSD",
"Model": "VR000480KXLXF",
"Multipath": false,
"NegotiatedSpeedGbs": 16.0,
"PhysicalLocation": {
"PartLocation": {
"LocationOrdinalValue": 1,
"LocationType": "Bay",
"ServiceLabel": "Slot=23:Bay=1"
}
},
"PredictedMediaLifeLeftPercent": 100.0,
"Protocol": "NVMe",
This creates 'media_life_left_drive_480GB_16G_NVMe_SSD_Slot=23:Bay=1'=100%;10;5 in the performance metrics and pnp4nagios breaks when it sees the = in the label 😄
Maybe it would be a good idea to replace all kind of special chars with _ or - in the performance labels?
Hey @bb-Ricardo
it's been a while, hope you're doing good!
I have a small issue with performance data and pnp4nagios.
This is the redfish data:
This creates
'media_life_left_drive_480GB_16G_NVMe_SSD_Slot=23:Bay=1'=100%;10;5in the performance metrics and pnp4nagios breaks when it sees the=in the label 😄Maybe it would be a good idea to replace all kind of special chars with
_or-in the performance labels?