librenms/includes/definitions/vmware-vcsa.yaml
AdamB 519fc00367
Change ESXi port naming to be stable (#14639)
* Change ESXi port naming to be stable

Currently every time discovery runs against ESXi, the port names change generating a lot of log spam.

This is because ESXi uses this as the ifDescr:
```Device vmnic1000202 at 01:00.0 nmlx4_en```

The poller parses this, and extracts the interface name, whereas discovery does not, causing the interface names to flip every 6 hours.
https://github.com/librenms/librenms/blob/22.10.0/includes/polling/ports.inc.php#L578-L580

This change gives the discovery process the same behaviour, so the naming is now stable.

* Try to fix test data with a squash

* vcsa test data

* Synthesise VCSA ifName, use it in place of ifDescr

* Refresh test data

* Update ports.inc.php

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2023-04-16 12:58:38 -05:00

19 lines
395 B
YAML

os: vmware-vcsa
group: unix
type: server
text: VMware vCenter
icon: vmware
mib_dir: vmware
ifname: true
over:
- { graph: device_bits, text: 'Device Traffic' }
discovery:
-
sysObjectID:
- .1.3.6.1.4.1.6876.4.7
- .1.3.6.1.4.1.6876.4.8
-
sysDescr_regex:
- '/^VMware-vCenter-Server-Appliance/'
- '/^VMware vCenter Server/'