Enable or disable the sysDescr output for a device.
https://<your librenms url>/webui/device
lnms config:set device_display_default '{{ $hostname }}'
This is a simple template to control the display of device names by default. You can override this setting per-device.
You may enter any free-form text including one or more of the following template replacements:
Template Replacement
{{ $hostname }} The hostname or IP of the device that was set when added *default
{{ $sysName_fallback }} The hostname or sysName if hostname is an IP
{{ $sysName }} The SNMP sysName of the device, falls back to hostname/IP if missing
{{ $ip }} The actual polled IP of the device, will not display a hostname
For example, {{ $sysName_fallback }} ({{ $ip }}) will display something like server (192.168.1.1)
This is what the documentation shows, but even running the example lnms config:set device_display_default '{{ $sysName_fallback }} ({{ $ip }})'
fails with:
"{{ $sysName_fallback }} ({{ $ip }})" is not an allowed value
Am I missing something?