LibreNMS – Rename Host From Command Line

SSH into LibreNMS server

ssh user@librenms-server

cd into the LibreNMS directory

cd /opt/librenms

Rename host

sudo ./rename.sh old-hostname new-hostname

Example:

Note you can use IP addresses if the device is using that as the host name

sudo ./rename.sh 192.168.1.209 192.168.2

Leave a Reply