Skip to content

Commit

Permalink
Fix cumulus mellanox test data (librenms#17056)
Browse files Browse the repository at this point in the history
it was in the wrong location and had old storage table structure
  • Loading branch information
murrant authored Jan 24, 2025
1 parent bf34be6 commit cf00665
Showing 1 changed file with 32 additions and 111 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13970,166 +13970,87 @@
"discovery": {
"storage": [
{
"storage_mib": "hrstorage",
"storage_index": "35",
"storage_type": "hrStorageFixedDisk",
"storage_descr": "/run",
"storage_size": 823316480,
"storage_units": 4096,
"storage_used": 87437312,
"storage_free": 0,
"storage_perc": 0,
"storage_perc_warn": 60,
"storage_deleted": 0
},
{
"storage_mib": "hrstorage",
"storage_index": "36",
"storage_type": "hrStorageFixedDisk",
"storage_descr": "/",
"storage_size": 15225360384,
"storage_units": 4096,
"storage_used": 7713853440,
"storage_free": 0,
"storage_perc": 0,
"storage_perc_warn": 60,
"storage_deleted": 0
},
{
"storage_mib": "hrstorage",
"storage_index": "38",
"storage_type": "hrStorageFixedDisk",
"storage_descr": "/dev/shm",
"storage_size": 4116582400,
"storage_units": 4096,
"storage_used": 32100352,
"storage_free": 0,
"storage_perc": 0,
"storage_perc_warn": 60,
"storage_deleted": 0
},
{
"storage_mib": "hrstorage",
"storage_index": "39",
"storage_type": "hrStorageFixedDisk",
"storage_descr": "/run/lock",
"storage_size": 5242880,
"storage_units": 4096,
"storage_used": 0,
"storage_free": 0,
"storage_perc": 0,
"storage_perc_warn": 60,
"storage_deleted": 0
},
{
"storage_mib": "hrstorage",
"storage_index": "40",
"storage_type": "hrStorageFixedDisk",
"storage_descr": "/sys/fs/cgroup",
"storage_size": 4116582400,
"storage_units": 4096,
"storage_used": 0,
"storage_free": 0,
"storage_perc": 0,
"storage_perc_warn": 60,
"storage_deleted": 0
},
{
"storage_mib": "hrstorage",
"storage_index": "58",
"storage_type": "hrStorageFixedDisk",
"storage_descr": "/tmp",
"storage_size": 4116582400,
"storage_units": 4096,
"storage_used": 5996544,
"storage_free": 0,
"storage_perc": 0,
"storage_perc_warn": 60,
"storage_deleted": 0
}
]
},
"poller": {
"storage": [
{
"storage_mib": "hrstorage",
"type": "hrstorage",
"storage_index": "35",
"storage_type": "hrStorageFixedDisk",
"storage_descr": "/run",
"storage_size": 823316480,
"storage_size_oid": null,
"storage_units": 4096,
"storage_used": 87437312,
"storage_used_oid": ".1.3.6.1.2.1.25.2.3.1.6.35",
"storage_free": 735879168,
"storage_free_oid": null,
"storage_perc": 11,
"storage_perc_warn": 60,
"storage_deleted": 0
"storage_perc_oid": null,
"storage_perc_warn": 60
},
{
"storage_mib": "hrstorage",
"type": "hrstorage",
"storage_index": "36",
"storage_type": "hrStorageFixedDisk",
"storage_descr": "/",
"storage_size": 15225360384,
"storage_size_oid": null,
"storage_units": 4096,
"storage_used": 7713853440,
"storage_used_oid": ".1.3.6.1.2.1.25.2.3.1.6.36",
"storage_free": 7511506944,
"storage_free_oid": null,
"storage_perc": 51,
"storage_perc_warn": 60,
"storage_deleted": 0
"storage_perc_oid": null,
"storage_perc_warn": 60
},
{
"storage_mib": "hrstorage",
"type": "hrstorage",
"storage_index": "38",
"storage_type": "hrStorageFixedDisk",
"storage_descr": "/dev/shm",
"storage_size": 4116582400,
"storage_size_oid": null,
"storage_units": 4096,
"storage_used": 32100352,
"storage_used_oid": ".1.3.6.1.2.1.25.2.3.1.6.38",
"storage_free": 4084482048,
"storage_free_oid": null,
"storage_perc": 1,
"storage_perc_warn": 60,
"storage_deleted": 0
"storage_perc_oid": null,
"storage_perc_warn": 60
},
{
"storage_mib": "hrstorage",
"type": "hrstorage",
"storage_index": "39",
"storage_type": "hrStorageFixedDisk",
"storage_descr": "/run/lock",
"storage_size": 5242880,
"storage_size_oid": null,
"storage_units": 4096,
"storage_used": 0,
"storage_used_oid": ".1.3.6.1.2.1.25.2.3.1.6.39",
"storage_free": 5242880,
"storage_free_oid": null,
"storage_perc": 0,
"storage_perc_warn": 60,
"storage_deleted": 0
},
{
"storage_mib": "hrstorage",
"storage_index": "40",
"storage_type": "hrStorageFixedDisk",
"storage_descr": "/sys/fs/cgroup",
"storage_size": 4116582400,
"storage_units": 4096,
"storage_used": 0,
"storage_free": 4116582400,
"storage_perc": 0,
"storage_perc_warn": 60,
"storage_deleted": 0
"storage_perc_oid": null,
"storage_perc_warn": 60
},
{
"storage_mib": "hrstorage",
"type": "hrstorage",
"storage_index": "58",
"storage_type": "hrStorageFixedDisk",
"storage_descr": "/tmp",
"storage_size": 4116582400,
"storage_size_oid": null,
"storage_units": 4096,
"storage_used": 5996544,
"storage_used_oid": ".1.3.6.1.2.1.25.2.3.1.6.58",
"storage_free": 4110585856,
"storage_free_oid": null,
"storage_perc": 0,
"storage_perc_warn": 60,
"storage_deleted": 0
"storage_perc_oid": null,
"storage_perc_warn": 60
}
]
}
},
"poller": "matches discovery"
}
}

0 comments on commit cf00665

Please sign in to comment.