I am trying to edit the community strings on each node to reflect what domain they are associated with. Is there anyway to batch this for current nodes in orion and nodes we add in the future?
In NPM v9, you can use node management on the web to make changes to multiple nodes at once.
What about npm 8. Also there is no way to script this
You can through the DB Manager. You first need to stop the services to make the changes. Once they are stopped open the database manager for Orion and expand the database you are using for Orion. Right click on the nodes table and select query table then click the refresh button when the new box opens up. This will give you a list of all the nodes you are monitoring. One of the columns is Community and you will need to change the options from Read Only to Read-Write at the top. You can change the top field for the column then right click select copy then highlight the rest of the Community column as needed then right click and select paste. This will change community string for all the devices you selected. After the change is made it is automatically saved and you can close the database manager. After you restart the services the community string that Orion uses for those devices will be changed.
Thank you, it helped alot.