Hi!
We're running ccti-0.8.6.h on OSX. We frequently lose poller items (routers only) in the poller table which causes graphs to break. Not a big deal... we have a work-around by pulling the poller items from a backup and inserting them back into cacti!
My problem is with the backups I'm creating. Older backups are broken out line by line with "INSERT INTO" at the beginning of each line.
The backups I'VE been creating (using mysqldump cacti > <filename>.sql) is not so "organized". In fact, there are no separate lines at all, all the info. runs together as one line, which does not allow me to pull poller items for specific graphs. And only at the very beginning of all of this does it say "INSERT INTO". I've attached a file that shows the differences (names have been changed to protect the innocent!)
What am I doing wrong??? And is there anything I can do to fix this? Currently, I'm only able to "fix" graphs that were in place prior to 9/20... if any graphs created since then lose their poller items... I won't be able to fix it easily!
Appreciate ANY help!!
Cacti Back-up "INSERT INTO" issue
Moderators: Developers, Moderators
-
- Posts: 7
- Joined: Thu Dec 07, 2006 6:01 pm
Cacti Back-up "INSERT INTO" issue
- Attachments
-
- backup_issue.pdf
- Examples
- (17.58 KiB) Downloaded 106 times
-
- Posts: 7
- Joined: Thu Dec 07, 2006 6:01 pm
I honestly don't know. I'm great when it comes to adding/deleting devices and graphs... and know this process of putting the poller items back in, but always left the "know how" to my manager... who is no longer here! I'm not sure SHE knew why... we always attributed it to having too many devices/graphs (650 devices; 4,261 graphs currently). It's not always the same host, and it's always the routers (never the Netscreens)... there does not seem to be any rhyme or reason to it. Happens sometimes when adding a graph for a new interface on a device... happens if the server reboots... although, it doesn't ALWAYS happen...
Working on breaking off some hosts onto another instance of Cacti... but in the meantime, I REALLY need this back-up fix. Any suggestions?
Appreciate your help!
Working on breaking off some hosts onto another instance of Cacti... but in the meantime, I REALLY need this back-up fix. Any suggestions?
Appreciate your help!
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
I'm a little confused and scared of what you are doing...
What are you doing this for exactly?
What are you doing this for exactly?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
-
- Posts: 7
- Joined: Thu Dec 07, 2006 6:01 pm
Who is online
Users browsing this forum: No registered users and 2 guests