Is there a global cli way to take all the assigned endpoints to template A and move them to template B. We have found the one template is not working for what we need and need to migrate everything to the new template which is giving us better results.We have over 2000 endpoints and doing through WebUI and only doing 20 at a time takes about 5 minutes to do those.
I have looked at the php scripts and couldn't find what I needed. Also have search the forum and have had no luck yet.
Thank in advance for anything that might help.
Change graph templates
Moderators: Developers, Moderators
Re: Change graph templates
Not sure there is a CLI way to do that of the top of my head. Assuming its the device template you want to change, you can edit settings on mass by ticking multiple devices and selecting Change Device Settings from the actions box.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
- camerabob
- Cacti User
- Posts: 386
- Joined: Fri Feb 10, 2017 2:45 pm
- Location: Long Island, New York, USA
- Contact:
Re: Change graph templates
In Settings > Visual > Rows Per Page, you can go as high as 750. Not quite your answer, but selecting all may do it a bit better than 20 per hit.
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Re: Change graph templates
That is what I ended up doing but in batches of 500 just because it took so long to run them. Thanks for feedback. And sorry for delay got hit with some other issues on different systems.
Who is online
Users browsing this forum: No registered users and 0 guests