Hi,
I've been using Cacti to graph on few devices in my environment; Now I'm facing a situation where in IP addresses of many devices will change;
Here's the current setup:
We normally put FQDN in "Description" field while adding device in Cacti.
IP address is enterted in "Hostname" filed of Cacti.
If I changed the IP address of the device to new address, is there a way to retain previously generated graphs / polled data and assign it back to the new device?
Thanks & Regards,
Ray
Retaining graphs with IP address Change
Moderators: Developers, Moderators
-
- Posts: 12
- Joined: Thu Apr 30, 2009 11:38 am
- Location: San Diego
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
If you simply edit the host and change the IP address, none of your graphs will be lost so long as the IP has changed. If you have nscd installed, I would simply use the FQDN in the hostname field from the beginning.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Graph data lives in the associated rrd file(s), which is pointed to in the Data Sources for a device. Changing the IP address of a device in Cacti shouldn't matter, since the device # and associated data source do not change...
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 2 guests