Repository navigation
Accounts and permissions
- In LibreNMS, create a user for the assistant, with read-only access.
- Open the settings menu and choose API → API Tokens.
- Create a token for that user and copy it.
Use a separate user so you can revoke its token without affecting anyone else. The server never changes anything, and a read-only user means LibreNMS would refuse if it tried.
The assistant sees exactly what that user can see. Give it access to all devices, or only to some. When something is refused, the answer says you don't have permission instead of calling it empty.
LibreNMS gives its network-wide sensor list only to users with the global read role or, where roles can be customised, the sensor.view permission. Without it, a question across the whole network is answered device by device and says how many devices it covers.
Use a read-only account or token in each. See Add Unimus and Graylog.
These pages are copied from docs/guide in the DashyNMS repository each time the guide changes, so edit the guide there rather than here.
Start here
Everyday tasks
Run it for your team
Help and reference