My network map is getting reset at every refresh. I arranged the map as required topology but there is no save topology option to save my changes. Please help me
Google Chrome: Version 123.0.6312.105 (Official Build) (64-bit)
librenms@ubuntu:~$ ./validate.php
Component | Version |
---|---|
LibreNMS | 24.3.0 (2024-04-01T15:18:44+00:00) |
DB Schema | 2024_02_07_151845_custom_map_additions (290) |
PHP | 8.1.2-1ubuntu2.14 |
Python | 3.10.12 |
Database | MariaDB 10.6.12-MariaDB-0ubuntu0.22.04.1 |
RRDTool | 1.7.2 |
SNMP | 5.9.1 |
=========================================== | |
[OK] Composer Version: 2.7.2 | |
[OK] Dependencies up-to-date. | |
[OK] Database connection successful | |
[OK] Database Schema is current | |
[OK] SQL Server meets minimum requirements | |
[OK] lower_case_table_names is enabled | |
[OK] MySQL engine is optimal | |
[OK] Database and column collations are correct | |
[OK] Database schema correct | |
[OK] MySQL and PHP time match | |
[OK] Active pollers found | |
[OK] Dispatcher Service is enabled | |
[OK] Locks are functional | |
[OK] Python wrapper cron entry is not present | |
[OK] Redis is unavailable | |
[OK] rrdtool version ok | |
[OK] Connected to rrdcached | |
=========================== | |
config.php | |
=========================== | |
$config[‘snmp’][‘community’] = “public”; | |
$config[‘discovery_by_ip’] = true; |
Enable the in-built services support (Nagios plugins)
#$config[‘show_services’] = 1;
$config[‘db_host’] = ‘localhost’;
$config[‘db_user’] = ‘librenms’;
$config[‘db_pass’] = ‘D42nf23rewD’;
$config[‘db_name’] = ‘librenms’;
$config[‘rrdcached’] = ‘unix:/var/run/rrdcached.sock’;
$config[‘enable_syslog’] = 1;
#Network Map
$config[‘network_map_items’] = array(‘xdp’);
$config[‘network_map_vis_options’] =
'{
“configure”: { “enabled”: true},
“nodes”:
{
“borderWidth”: null,
“borderWidthSelected”: null,
“opacity”: null,
“labelHighlightBold”: false,
“shapeProperties”:
{
“interpolation”: false
}
},
“edges”:
{
“arrows”:
{
“to”:
{
“enabled”: true,
“scaleFactor”: 0.3
},
“from”:
{
“enabled”: true,
“scaleFactor”: 0.3
}
},
“arrowStrikethrough”: false,
“labelHighlightBold”: false,
“scaling”:
{
“label”: false
},
“selfReferenceSize”: null,
“selfReference”:
{
“angle”: 0.7853981633974483,
“renderBehindTheNode”: false
},
“shadow”:
{
“enabled”: true
},
“smooth”: false
},
“interaction”:
{
“multiselect”: true,
“navigationButtons”: true,
“hoverConnectedEdges”: false,
“zoomView”: false
},
“manipulation”:
{
“enabled”: true
},
“physics”:
{
“enabled”: false,
“minVelocity”: 0.75
}
}';