cacti exporting all graphs after upgrade?
Moderators: Developers, Moderators
cacti exporting all graphs after upgrade?
upgraded to 0.8.7e today and now cacti exports _everything_ no matter whether it's configured to or not. it sent load up to > 50 and created massive gaps in every other graph.
i've been prowling around in the code and the database but am unable to find what criteria the code looks for to determine if a graph should be exported. i see that in graph_templates_graph t_export has a default of 0 but setting something to export changes this to "on." most of the items in this table have an empty string ('') for export and t_export (legacy schema? we've been using cacti for years). i tried setting t_export and export to 0 for all existing rows - it still happily exports thousands of graphs every three minutes.
we only need < 10 graphs actually exported, but they represent our network status on our public support page. if someone in the dev team can give me a hand with this, it would be great.
i've been prowling around in the code and the database but am unable to find what criteria the code looks for to determine if a graph should be exported. i see that in graph_templates_graph t_export has a default of 0 but setting something to export changes this to "on." most of the items in this table have an empty string ('') for export and t_export (legacy schema? we've been using cacti for years). i tried setting t_export and export to 0 for all existing rows - it still happily exports thousands of graphs every three minutes.
we only need < 10 graphs actually exported, but they represent our network status on our public support page. if someone in the dev team can give me a hand with this, it would be great.
Adrian Goins - President / CEO
Arces Network, LLC
http://www.arces.net
Arces Network, LLC
http://www.arces.net
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Known issue.....
Best solution is to limit the graphs which you wish to export in a separate tree and assign it to the export user.
Best solution is to limit the graphs which you wish to export in a separate tree and assign it to the export user.
[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]
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: cacti exporting all graphs after upgrade?
How were you xporting prior to upgrading? Tony's suggestion is correct and has received quite a bit of attention (aka works). However, "classic" has not been actively maintained and may not be working, as you have seen. I need to know what your expectation was and what is happening now.monachus wrote:upgraded to 0.8.7e today and now cacti exports _everything_ no matter whether it's configured to or not. it sent load up to > 50 and created massive gaps in every other graph.
i've been prowling around in the code and the database but am unable to find what criteria the code looks for to determine if a graph should be exported. i see that in graph_templates_graph t_export has a default of 0 but setting something to export changes this to "on." most of the items in this table have an empty string ('') for export and t_export (legacy schema? we've been using cacti for years). i tried setting t_export and export to 0 for all existing rows - it still happily exports thousands of graphs every three minutes.
we only need < 10 graphs actually exported, but they represent our network status on our public support page. if someone in the dev team can give me a hand with this, it would be great.
Thanks,
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?
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Ahh, well, I never QA/tested that. This is likely a "minor" fix if it's broken. Will check likely sometime Friday.
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?
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Try this. Let me know.
TheWitness
TheWitness
- Attachments
-
- graph_export_patch.patch
- (1.79 KiB) Downloaded 174 times
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?
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
The commit had a few more fixes, but the differences are minor and should not impact you version. However, if you are inclined, the branches/0.8.7 of SVN includes the final final on this one.
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?
Who is online
Users browsing this forum: No registered users and 3 guests