Hi all
Trying to rename devices in bulk. Using a bash script to wrap the ./renamehost.php in (so that I can read from various input files and create old and new hostnames from it). These devices were force-added so that I can insure they are discovered and polled whenever they came online. The result from the rename command stated Renamed XXXX-oldhost
, but going to the front-end it seems it has not renamed the host at all, and in the Recent Events field it states that the rename failed.
I ran all of this as the librenms user. Specifically didn’t want to run it as root. The initial add of the devices were done via the API.
My validate.php is clear of any errors.