How to stop users from adding devices to a specific poller?

Our main LibreNMS server runs the system’s webUI and it is poller group 0. It polls about 300 devices. Three other pollers exist and they are poller groups 1, 2, 3.

We have several admin-level staff. Going forward we’d like to prevent them from adding new devices to poller group 0. The admins must still be able to add new devices to the other poller groups. Is it possible? If so, how can we configure our overall system to do that?

So far, I looked through LibreNMS’ online documentation, looked at the main server’s config.php, looked at the .env file, and reviewed the main server’s full config list via “lnms config:get --dump”. Maybe the answer was there and I just didn’t recognize it.

Thanks for any ideas you can offer.

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

Component Version
LibreNMS 24.1.0-56-gcf99657c5 (2024-02-02T09:49:09-06:00)
DB Schema 2024_01_09_211518_custom_map_node_maplink (288)
PHP 8.1.2-1ubuntu2.14
Python 3.10.12
Database MariaDB 10.3.38-MariaDB-0ubuntu0.20.04.1
RRDTool 1.7.2
SNMP 5.9.1
===========================================

[OK] Composer Version: 2.6.6
[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] Distributed Polling setting is enabled globally
[OK] Connection to memcached is ok
[OK] Connected to rrdcached
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrdtool version ok
[OK] Connected to rrdcached

When asking for help and support, please provide as much information as possible. This should include:

  • Steps to reproduce an issue.
  • The output of ./validate.php

If it’s an issue with the WebUI then please consider including a screenshot and the browser version you are using.

If you are having troubles with discovery/polling include the pastebin output of:

./discovery.php -h HOSTNAME -d | ./pbin.sh
./poller.php -h HOSTNAME -r -f -d | ./pbin.sh

If you need to post any text longer than a few lines, please use a pastebin service such as https://p.libren.ms using non-expiring pastes.

Hi @coaldust
To my knowledge, this is not possible unfortunately. This would definitely require coding.

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