Help with definitions yaml files

Hi,
I have recently installed librenms, and added a ubiquity edgeswitch.
However when i try to edit the .yaml definitions files, it does not seem to affect the way the device is displayed.
Do i need to reload the definitions files in any way? or should they update automatically?
Is there any way in the librenms GUI that i can check which .yaml file a device is using?
Please find the “edgeswitch.yaml” file below, the only change i made is changed type from “network” to “network_switch”.

Any help would be appreciated,

  • Rafal Pilat

./validate.php:
librenms@librenms:~$ ./validate.php

Component Version
LibreNMS 21.6.0-9-g1bb4dd173
DB Schema 2021_06_07_123600_create_sessions_table (211)
PHP 7.4.3
Python 3.8.5
MySQL 10.3.29-MariaDB-0ubuntu0.20.04.1
RRDTool 1.7.2
SNMP NET-SNMP 5.8

====================================

[OK] Composer Version: 2.1.3
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[FAIL] You have no timezone set for php.
[FIX]:
https://php.net/manual/en/datetime.configuration.php#ini.date.timezone

./discovery.php
https://p.libren.ms/view/409ecea8

edgeswitch.yaml:

os: edgeswitch
text: EdgeSwitch
type: network_switch
icon: ubiquiti
ifname: true
bad_snmpEngineTime: true
over:
- { graph: device_bits, text: ‘Device Traffic’ }
- { graph: device_processor, text: ‘CPU Usage’ }
- { graph: device_mempool, text: ‘Memory Usage’ }
discovery:
-
sysObjectID:
- .1.3.6.1.4.1.4413
- .1.3.6.1.4.1.41112
- .1.3.6.1.4.1.10002
sysDescr_regex:
- ‘/^EdgeSwitch/’
- ‘/^EdgePoint/’
- ‘/^USW[ -]/’
- ‘/^UBNT US/’
- ‘/^US[ -]/’
-
sysObjectID:
- .1.3.6.1.4.1.8072.3.2.10
- .1.3.6.1.4.1.27282.3.2.10
sysDescr_regex:
- ‘/^Linux UBNT/’
- ‘/^RTL8380/’

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.