Is "force_ip_to_sysname" still working?

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

Component Version
LibreNMS 22.3.0-46-gc5502789b
DB Schema 2022_04_08_085504_isis_adjacencies_table_add_index (236)
PHP 7.4.3
Python 3.8.10
MySQL 8.0.28-0ubuntu0.20.04.3
RRDTool 1.7.2
SNMP 5.8

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

[OK] Composer Version: 2.3.4
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

Hi sir

I want to show sysname in my dashboard (Widget is alerts)

When I modified config.php using

$config[‘force_ip_to_sysname’] = true;
$config[‘force_hostname_to_sysname’] = true;

That is not working.

I using command

“lnms config:set force_ip_to_sysname false”
showing…
This is not a valid setting. Please check your input

In old version(1.52


)

It is working and the variable is showing in global setting

But In version 22

“force_ip_to_sysname” and 'force_hostname_to_sysname is disappear.

Is any thing method that modify the code or config solving it ??

Many Thanks!!~~ :sob:

I find the solution!

The “Global Setting” → “Web UI” → “Device Setting”

The Default device display name template change “sysName”.

Devices are prefer “sysName” and dashboard that relation about it also changes sysName.

3 Likes

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