Keith Smith - My Blog

Observium - Rename existing devices

Tuesday, July 17, 2018 - by Keith A. Smith

Observium is one of my go-to open source solutions for network monitoring, I figured I'd share a recent challenge I encountered. I found myself needing to change a few device hostnames in observium, and it can be a bit tricky since it can't be done via the UI. This task can be done successfully from the command-line by running the following:


cd /opt/observium/ and execute
php rename_device.php old_device_name new_device_name

Once you're done renaming your device you should force snmp discovery and the poller to run:

execute the following:

php discovery.php -h all
php poller.php -h all

Once the above process is completed you should see your devices renamed in the UI. 


  Share Post   

View Comments Comments

Leave a Comment