August 13, 2026
Fixing LibreNMS After Updates: Missing Restify Provider
#
After a routine package update on my RHEL 9 LibreNMS server, the web UI stopped working and the logs showed a very familiar Laravel-style error:
[CRITICAL] Exception: Error Class "Binaryk\LaravelRestify\RestifyApplicationServiceProvider" not found @ /opt/librenms/app/Providers/RestifyServiceProvider.php:15
At first glance it looks like a code issue, but in this case the root cause was simpler: the PHP dependencies under /opt/librenms were stale or partially updated.
July 7, 2025
Automated Network Monitoring: Adding Servers to LibreNMS with Ansible
#
Adding servers to LibreNMS by hand is tedious, and should be done by automation. In this post, I’ll show you how I’ve automated the entire process of configuring SNMP and adding servers to LibreNMS using Ansible.
The Workflow
#
Basically what the playbook does is:
- Install and configure SNMP
- Set up necessary firewall rules
- Add the server to LibreNMS
- Add it to the correct device group.
The Playbook
#
Step 1: Installing SNMP Components
#
- name: Ensure snmp is installed
ansible.builtin.dnf:
name:
- net-snmp
- net-snmp-utils
state: present
The net-snmp package is needed for the SNMP daemon.