mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 18:38:25 +00:00
298d217a8b
* Added support for Nutanix VM count, disk state, CPU usage and RAM usage * Added num_oid values required for pull request * Fixes for Nutanix AOS graphs
447 lines
18 KiB
JSON
447 lines
18 KiB
JSON
{
|
|
"os": {
|
|
"discovery": {
|
|
"devices": [
|
|
{
|
|
"sysName": null,
|
|
"sysObjectID": ".1.3.6.1.4.1.41263",
|
|
"sysDescr": "Linux ntnx-abc1234aaa-d-cvm 3.10.0-1160.76.1.el7.nutanix.20220817.cvm.x86_64 #1 SMP Wed Aug 17 10:15:46 UTC 2022 x86_64",
|
|
"sysContact": null,
|
|
"version": "3.10.0-1160.76.1.el7.nutanix.20220817.cvm.x86_64",
|
|
"hardware": "Generic x86 64-bit",
|
|
"features": null,
|
|
"location": null,
|
|
"os": "nutanix-aos",
|
|
"type": "server",
|
|
"serial": null,
|
|
"icon": "nutanix.svg"
|
|
}
|
|
]
|
|
},
|
|
"poller": "matches discovery"
|
|
},
|
|
"sensors": {
|
|
"discovery": {
|
|
"sensors": [
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "count",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.41263.9.1.4.4",
|
|
"sensor_index": "VMS-HOST01.",
|
|
"sensor_type": "nutanix-aos",
|
|
"sensor_descr": "HOST01. VM Count",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 1,
|
|
"sensor_limit": null,
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": null,
|
|
"sensor_limit_low_warn": null,
|
|
"sensor_alert": 1,
|
|
"sensor_custom": "No",
|
|
"entPhysicalIndex": null,
|
|
"entPhysicalIndex_measured": null,
|
|
"sensor_prev": null,
|
|
"user_func": null,
|
|
"rrd_type": "GAUGE",
|
|
"state_name": null
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "count",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.41263.9.1.4.5",
|
|
"sensor_index": "VMS-HOST02.",
|
|
"sensor_type": "nutanix-aos",
|
|
"sensor_descr": "HOST02. VM Count",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 2,
|
|
"sensor_limit": null,
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": null,
|
|
"sensor_limit_low_warn": null,
|
|
"sensor_alert": 1,
|
|
"sensor_custom": "No",
|
|
"entPhysicalIndex": null,
|
|
"entPhysicalIndex_measured": null,
|
|
"sensor_prev": null,
|
|
"user_func": null,
|
|
"rrd_type": "GAUGE",
|
|
"state_name": null
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "count",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.41263.9.1.4.1",
|
|
"sensor_index": "VMS-HOST03.",
|
|
"sensor_type": "nutanix-aos",
|
|
"sensor_descr": "HOST03. VM Count",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 1,
|
|
"sensor_limit": null,
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": null,
|
|
"sensor_limit_low_warn": null,
|
|
"sensor_alert": 1,
|
|
"sensor_custom": "No",
|
|
"entPhysicalIndex": null,
|
|
"entPhysicalIndex_measured": null,
|
|
"sensor_prev": null,
|
|
"user_func": null,
|
|
"rrd_type": "GAUGE",
|
|
"state_name": null
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "count",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.41263.9.1.4.2",
|
|
"sensor_index": "VMS-HOST04.",
|
|
"sensor_type": "nutanix-aos",
|
|
"sensor_descr": "HOST04. VM Count",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 2,
|
|
"sensor_limit": null,
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": null,
|
|
"sensor_limit_low_warn": null,
|
|
"sensor_alert": 1,
|
|
"sensor_custom": "No",
|
|
"entPhysicalIndex": null,
|
|
"entPhysicalIndex_measured": null,
|
|
"sensor_prev": null,
|
|
"user_func": null,
|
|
"rrd_type": "GAUGE",
|
|
"state_name": null
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "count",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.41263.9.1.4.3",
|
|
"sensor_index": "VMS-HOST05.",
|
|
"sensor_type": "nutanix-aos",
|
|
"sensor_descr": "HOST05. VM Count",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 2,
|
|
"sensor_limit": null,
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": null,
|
|
"sensor_limit_low_warn": null,
|
|
"sensor_alert": 1,
|
|
"sensor_custom": "No",
|
|
"entPhysicalIndex": null,
|
|
"entPhysicalIndex_measured": null,
|
|
"sensor_prev": null,
|
|
"user_func": null,
|
|
"rrd_type": "GAUGE",
|
|
"state_name": null
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "percent",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.41263.9.1.6.4",
|
|
"sensor_index": "CPU-HOST01.",
|
|
"sensor_type": "nutanix-aos",
|
|
"sensor_descr": "HOST01. CPU",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 11,
|
|
"sensor_limit": 95,
|
|
"sensor_limit_warn": 90,
|
|
"sensor_limit_low": null,
|
|
"sensor_limit_low_warn": null,
|
|
"sensor_alert": 1,
|
|
"sensor_custom": "No",
|
|
"entPhysicalIndex": null,
|
|
"entPhysicalIndex_measured": null,
|
|
"sensor_prev": null,
|
|
"user_func": null,
|
|
"rrd_type": "GAUGE",
|
|
"state_name": null
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "percent",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.41263.9.1.6.5",
|
|
"sensor_index": "CPU-HOST02.",
|
|
"sensor_type": "nutanix-aos",
|
|
"sensor_descr": "HOST02. CPU",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 14,
|
|
"sensor_limit": 95,
|
|
"sensor_limit_warn": 90,
|
|
"sensor_limit_low": null,
|
|
"sensor_limit_low_warn": null,
|
|
"sensor_alert": 1,
|
|
"sensor_custom": "No",
|
|
"entPhysicalIndex": null,
|
|
"entPhysicalIndex_measured": null,
|
|
"sensor_prev": null,
|
|
"user_func": null,
|
|
"rrd_type": "GAUGE",
|
|
"state_name": null
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "percent",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.41263.9.1.6.1",
|
|
"sensor_index": "CPU-HOST03.",
|
|
"sensor_type": "nutanix-aos",
|
|
"sensor_descr": "HOST03. CPU",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 6,
|
|
"sensor_limit": 95,
|
|
"sensor_limit_warn": 90,
|
|
"sensor_limit_low": null,
|
|
"sensor_limit_low_warn": null,
|
|
"sensor_alert": 1,
|
|
"sensor_custom": "No",
|
|
"entPhysicalIndex": null,
|
|
"entPhysicalIndex_measured": null,
|
|
"sensor_prev": null,
|
|
"user_func": null,
|
|
"rrd_type": "GAUGE",
|
|
"state_name": null
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "percent",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.41263.9.1.6.2",
|
|
"sensor_index": "CPU-HOST04.",
|
|
"sensor_type": "nutanix-aos",
|
|
"sensor_descr": "HOST04. CPU",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 12,
|
|
"sensor_limit": 95,
|
|
"sensor_limit_warn": 90,
|
|
"sensor_limit_low": null,
|
|
"sensor_limit_low_warn": null,
|
|
"sensor_alert": 1,
|
|
"sensor_custom": "No",
|
|
"entPhysicalIndex": null,
|
|
"entPhysicalIndex_measured": null,
|
|
"sensor_prev": null,
|
|
"user_func": null,
|
|
"rrd_type": "GAUGE",
|
|
"state_name": null
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "percent",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.41263.9.1.6.3",
|
|
"sensor_index": "CPU-HOST05.",
|
|
"sensor_type": "nutanix-aos",
|
|
"sensor_descr": "HOST05. CPU",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 13,
|
|
"sensor_limit": 95,
|
|
"sensor_limit_warn": 90,
|
|
"sensor_limit_low": null,
|
|
"sensor_limit_low_warn": null,
|
|
"sensor_alert": 1,
|
|
"sensor_custom": "No",
|
|
"entPhysicalIndex": null,
|
|
"entPhysicalIndex_measured": null,
|
|
"sensor_prev": null,
|
|
"user_func": null,
|
|
"rrd_type": "GAUGE",
|
|
"state_name": null
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "percent",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.41263.9.1.8.4",
|
|
"sensor_index": "RAM-HOST01.",
|
|
"sensor_type": "nutanix-aos",
|
|
"sensor_descr": "HOST01. RAM",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 5,
|
|
"sensor_limit": 95,
|
|
"sensor_limit_warn": 90,
|
|
"sensor_limit_low": null,
|
|
"sensor_limit_low_warn": null,
|
|
"sensor_alert": 1,
|
|
"sensor_custom": "No",
|
|
"entPhysicalIndex": null,
|
|
"entPhysicalIndex_measured": null,
|
|
"sensor_prev": null,
|
|
"user_func": null,
|
|
"rrd_type": "GAUGE",
|
|
"state_name": null
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "percent",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.41263.9.1.8.5",
|
|
"sensor_index": "RAM-HOST02.",
|
|
"sensor_type": "nutanix-aos",
|
|
"sensor_descr": "HOST02. RAM",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 13,
|
|
"sensor_limit": 95,
|
|
"sensor_limit_warn": 90,
|
|
"sensor_limit_low": null,
|
|
"sensor_limit_low_warn": null,
|
|
"sensor_alert": 1,
|
|
"sensor_custom": "No",
|
|
"entPhysicalIndex": null,
|
|
"entPhysicalIndex_measured": null,
|
|
"sensor_prev": null,
|
|
"user_func": null,
|
|
"rrd_type": "GAUGE",
|
|
"state_name": null
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "percent",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.41263.9.1.8.1",
|
|
"sensor_index": "RAM-HOST03.",
|
|
"sensor_type": "nutanix-aos",
|
|
"sensor_descr": "HOST03. RAM",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 5,
|
|
"sensor_limit": 95,
|
|
"sensor_limit_warn": 90,
|
|
"sensor_limit_low": null,
|
|
"sensor_limit_low_warn": null,
|
|
"sensor_alert": 1,
|
|
"sensor_custom": "No",
|
|
"entPhysicalIndex": null,
|
|
"entPhysicalIndex_measured": null,
|
|
"sensor_prev": null,
|
|
"user_func": null,
|
|
"rrd_type": "GAUGE",
|
|
"state_name": null
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "percent",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.41263.9.1.8.2",
|
|
"sensor_index": "RAM-HOST04.",
|
|
"sensor_type": "nutanix-aos",
|
|
"sensor_descr": "HOST04. RAM",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 13,
|
|
"sensor_limit": 95,
|
|
"sensor_limit_warn": 90,
|
|
"sensor_limit_low": null,
|
|
"sensor_limit_low_warn": null,
|
|
"sensor_alert": 1,
|
|
"sensor_custom": "No",
|
|
"entPhysicalIndex": null,
|
|
"entPhysicalIndex_measured": null,
|
|
"sensor_prev": null,
|
|
"user_func": null,
|
|
"rrd_type": "GAUGE",
|
|
"state_name": null
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "percent",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.41263.9.1.8.3",
|
|
"sensor_index": "RAM-HOST05.",
|
|
"sensor_type": "nutanix-aos",
|
|
"sensor_descr": "HOST05. RAM",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 13,
|
|
"sensor_limit": 95,
|
|
"sensor_limit_warn": 90,
|
|
"sensor_limit_low": null,
|
|
"sensor_limit_low_warn": null,
|
|
"sensor_alert": 1,
|
|
"sensor_custom": "No",
|
|
"entPhysicalIndex": null,
|
|
"entPhysicalIndex_measured": null,
|
|
"sensor_prev": null,
|
|
"user_func": null,
|
|
"rrd_type": "GAUGE",
|
|
"state_name": null
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "state",
|
|
"poller_type": "snmp",
|
|
"sensor_oid": ".1.3.6.1.4.1.41263.3.1.13.30",
|
|
"sensor_index": "DISKSTATE-",
|
|
"sensor_type": "diskStatusTable",
|
|
"sensor_descr": "Disk",
|
|
"group": null,
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_current": 1,
|
|
"sensor_limit": null,
|
|
"sensor_limit_warn": null,
|
|
"sensor_limit_low": null,
|
|
"sensor_limit_low_warn": null,
|
|
"sensor_alert": 1,
|
|
"sensor_custom": "No",
|
|
"entPhysicalIndex": null,
|
|
"entPhysicalIndex_measured": null,
|
|
"sensor_prev": null,
|
|
"user_func": null,
|
|
"rrd_type": "GAUGE",
|
|
"state_name": "diskStatusTable"
|
|
}
|
|
],
|
|
"state_indexes": [
|
|
{
|
|
"state_name": "diskStatusTable",
|
|
"state_descr": "ok",
|
|
"state_draw_graph": 0,
|
|
"state_value": 1,
|
|
"state_generic_value": 0
|
|
},
|
|
{
|
|
"state_name": "diskStatusTable",
|
|
"state_descr": "error",
|
|
"state_draw_graph": 0,
|
|
"state_value": 2,
|
|
"state_generic_value": 1
|
|
}
|
|
]
|
|
},
|
|
"poller": "matches discovery"
|
|
}
|
|
}
|