librenms/tests/data/mlos-atd.json
mtentilucci b6572e0acc
Add support for Trellix ATD devices (#14965)
* Add support for Trellix ATD devices

- Add discovery for mlos ATD devices
- Monitor various OIDs related to ATD system health and status
- Add required MIBs
- Add test data

* add json test data

* Rename MCAFEE-SMI to MCAFEE-INTRUVERT-SMI

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2023-04-14 19:34:43 -05:00

695 lines
28 KiB
JSON

{
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.8072.3.2.10",
"sysDescr": "Linux MY-HOSTNAME 4.19.232-1.mlos3.x86_64 #1 SMP Mon Mar 7 18:52:44 IST 2022 x86_64",
"sysContact": "<private>",
"version": null,
"hardware": null,
"features": null,
"location": "<private>",
"os": "mlos-atd",
"type": "appliance",
"serial": null,
"icon": "trellix.svg"
}
]
},
"poller": "matches discovery"
},
"processors": {
"discovery": {
"processors": [
{
"entPhysicalIndex": 0,
"hrDeviceIndex": 0,
"processor_oid": ".1.3.6.1.4.1.8962.4.1.1.1.0",
"processor_index": "0",
"processor_type": "mlos-atd",
"processor_usage": 1,
"processor_descr": "Processor",
"processor_precision": 1,
"processor_perc_warn": 75
}
]
},
"poller": "matches discovery"
},
"mempools": {
"discovery": {
"mempools": [
{
"mempool_index": "0",
"entPhysicalIndex": null,
"mempool_type": "mlos-atd",
"mempool_class": "system",
"mempool_precision": 1,
"mempool_descr": "Memory",
"mempool_perc": 17,
"mempool_perc_oid": ".1.3.6.1.4.1.8962.4.1.1.2.0",
"mempool_used": 17,
"mempool_used_oid": null,
"mempool_free": 83,
"mempool_free_oid": null,
"mempool_total": 100,
"mempool_total_oid": null,
"mempool_largestfree": null,
"mempool_lowestfree": null,
"mempool_deleted": 0,
"mempool_perc_warn": 90
}
]
},
"poller": "matches discovery"
},
"sensors": {
"discovery": {
"sensors": [
{
"sensor_deleted": 0,
"sensor_class": "count",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8962.4.1.1.7.0",
"sensor_index": "atdFileAnalyzing",
"sensor_type": "mlos-atd",
"sensor_descr": "ATD Files Processing",
"group": "File Processing",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"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.8962.4.1.1.6.0",
"sensor_index": "atdFileWaiting",
"sensor_type": "mlos-atd",
"sensor_descr": "ATD Files Queued",
"group": "File Processing",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"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.8962.4.1.1.4.0",
"sensor_index": "atdDataDiskSpaceUsed",
"sensor_type": "mlos-atd",
"sensor_descr": "ATD Data Disk Space Utilization",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 10,
"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.8962.4.1.1.3.0",
"sensor_index": "atdSystemDiskSpaceUsed",
"sensor_type": "mlos-atd",
"sensor_descr": "ATD System Disk Space Utilization",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 10,
"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.8962.4.1.1.19.0",
"sensor_index": "atdVarDiskSpaceUsed",
"sensor_type": "mlos-atd",
"sensor_descr": "ATD Var Disk Space Utilization",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 6,
"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": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8962.4.1.1.10.0",
"sensor_index": "0",
"sensor_type": "atdBackupSchedulerStatus",
"sensor_descr": "Backup Scheduler Status",
"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": "atdBackupSchedulerStatus"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8962.4.1.1.16.0",
"sensor_index": "0",
"sensor_type": "atdDXLChannelStatus",
"sensor_descr": "ATD DXL Status",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"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": "atdDXLChannelStatus"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8962.4.1.1.12.0",
"sensor_index": "0",
"sensor_type": "atdEmailConnectorStatus",
"sensor_descr": "ATD Email Connetor Status",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"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": "atdEmailConnectorStatus"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8962.4.1.1.13.0",
"sensor_index": "0",
"sensor_type": "atdEmailGatewayWaitTime",
"sensor_descr": "Email Gateway Wait Time Threshold",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"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": "atdEmailGatewayWaitTime"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8962.4.1.1.15.0",
"sensor_index": "0",
"sensor_type": "atdLicenseStatus",
"sensor_descr": "ATD License Status",
"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": "atdLicenseStatus"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8962.4.1.1.11.0",
"sensor_index": "0",
"sensor_type": "atdLoadBalancerStatus",
"sensor_descr": "ATD Load Balancer Status",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"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": "atdLoadBalancerStatus"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8962.4.1.1.14.0",
"sensor_index": "0",
"sensor_type": "atdMalwareInterfaceStatus",
"sensor_descr": "ATD Malware Interface Status",
"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": "atdMalwareInterfaceStatus"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8962.4.1.1.17.0",
"sensor_index": "0",
"sensor_type": "atdSensorStatus",
"sensor_descr": "ATD Sensor Status",
"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": "atdSensorStatus"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8962.4.1.1.9.0",
"sensor_index": "0",
"sensor_type": "atdSystemHealth",
"sensor_descr": "System Health",
"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": "atdSystemHealth"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8962.4.1.1.18.0",
"sensor_index": "0",
"sensor_type": "atdTAXIIStatus",
"sensor_descr": "ATD TAXII Status",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"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": "atdTAXIIStatus"
},
{
"sensor_deleted": 0,
"sensor_class": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.8962.4.1.1.8.0",
"sensor_index": "0",
"sensor_type": "mlos-atd",
"sensor_descr": "System Temperature",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 30,
"sensor_limit": 50,
"sensor_limit_warn": null,
"sensor_limit_low": 20,
"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
}
],
"state_indexes": [
{
"state_name": "atdBackupSchedulerStatus",
"state_descr": "Backup Scheduler Status Failed",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 2
},
{
"state_name": "atdBackupSchedulerStatus",
"state_descr": "Backup Scheduler Status Ok",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "atdDXLChannelStatus",
"state_descr": "Down",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 2
},
{
"state_name": "atdDXLChannelStatus",
"state_descr": "Up",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "atdEmailConnectorStatus",
"state_descr": "Email Connector Disabled",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 3
},
{
"state_name": "atdEmailConnectorStatus",
"state_descr": "Email Connector Ok",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "atdEmailConnectorStatus",
"state_descr": "Email Connector Degraded",
"state_draw_graph": 0,
"state_value": 2,
"state_generic_value": 1
},
{
"state_name": "atdEmailConnectorStatus",
"state_descr": "Email Connector Overloaded",
"state_draw_graph": 0,
"state_value": 3,
"state_generic_value": 2
},
{
"state_name": "atdEmailGatewayWaitTime",
"state_descr": "Email Gateway Threshold Ok",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "atdEmailGatewayWaitTime",
"state_descr": "Email Gateway Threshold Wait Time Reached",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "atdLicenseStatus",
"state_descr": "Valid",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "atdLicenseStatus",
"state_descr": "Invalid",
"state_draw_graph": 0,
"state_value": 2,
"state_generic_value": 2
},
{
"state_name": "atdLicenseStatus",
"state_descr": "Expired",
"state_draw_graph": 0,
"state_value": 3,
"state_generic_value": 2
},
{
"state_name": "atdLoadBalancerStatus",
"state_descr": "Device In Standalone Mode",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "atdLoadBalancerStatus",
"state_descr": "Load Balancer Down",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "atdLoadBalancerStatus",
"state_descr": "Load Balancer Up",
"state_draw_graph": 0,
"state_value": 2,
"state_generic_value": 0
},
{
"state_name": "atdLoadBalancerStatus",
"state_descr": "SW VERSION MISMATCH",
"state_draw_graph": 0,
"state_value": 3,
"state_generic_value": 1
},
{
"state_name": "atdLoadBalancerStatus",
"state_descr": "Primary Node LB Not Up",
"state_draw_graph": 0,
"state_value": 4,
"state_generic_value": 2
},
{
"state_name": "atdLoadBalancerStatus",
"state_descr": "SCP Failed",
"state_draw_graph": 0,
"state_value": 5,
"state_generic_value": 1
},
{
"state_name": "atdLoadBalancerStatus",
"state_descr": "VM Creation Failed",
"state_draw_graph": 0,
"state_value": 6,
"state_generic_value": 1
},
{
"state_name": "atdLoadBalancerStatus",
"state_descr": "Invalid Status",
"state_draw_graph": 0,
"state_value": 7,
"state_generic_value": 3
},
{
"state_name": "atdMalwareInterfaceStatus",
"state_descr": "Down",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 2
},
{
"state_name": "atdMalwareInterfaceStatus",
"state_descr": "Up",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "atdSensorStatus",
"state_descr": "Inactive",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 2
},
{
"state_name": "atdSensorStatus",
"state_descr": "Active",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "atdSensorStatus",
"state_descr": "Not Conencted",
"state_draw_graph": 0,
"state_value": 2,
"state_generic_value": 3
},
{
"state_name": "atdSystemHealth",
"state_descr": "Bad",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 2
},
{
"state_name": "atdSystemHealth",
"state_descr": "Good",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "atdTAXIIStatus",
"state_descr": "Down",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 2
},
{
"state_name": "atdTAXIIStatus",
"state_descr": "Up",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "atdTAXIIStatus",
"state_descr": "Unknown",
"state_draw_graph": 0,
"state_value": 2,
"state_generic_value": 3
}
]
},
"poller": "matches discovery"
}
}