I can't clear Poller Cache

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
User avatar
TFC
Cacti Pro User
Posts: 739
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

I can't clear Poller Cache

Post by TFC »

Hi,
when I click the clear poller cache , I go to http://XXXX/cacti/utilities.php?action= ... ller_cache page
And I see that:
View Poller Cache [722 Items]

Data Source: M_2B_6009_1 - 5 second cpu
RRD: /www/htdocs/cacti/rra/m_2b_6009_1_5sec_cpu_cat_27.rrd
Action: 0, OID: .1.3.6.1.4.1.9.9.109.1.1.1.1.3.9 (Host: 10.200.100.28, Community: tazmania)
Data Source: M_2B_6009_1 - 1 Minute CPU
RRD: /www/htdocs/cacti/rra/m_2b_6009_1_1min_cpu_cat_26.rrd
Action: 0, OID: .1.3.6.1.4.1.9.9.109.1.1.1.1.4.9 (Host: 10.200.100.28, Community: tazmania)
Data Source: M_2B_6009_1 - switch load
RRD: /www/htdocs/cacti/rra/m_2b_6009_1_switch_load_25.rrd
Action: 0, OID: .1.3.6.1.4.1.9.5.1.1.8.0 (Host: 10.200.100.28, Community: tazmania)
....
....
....
So, I think that I can't clear poller cache.
How can Solve this problem?
If possible:
How can I clear poller cache manual? Is there any way?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Soon as you click on clear poller cache, it does that then displays the refreshed one... which I think you are seeing.
User avatar
TFC
Cacti Pro User
Posts: 739
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

Post by TFC »

Any way to clear poller cache manual?
I just wanna be sure. because graphs title dont change altoug I change order of graph titles snmp queries
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Do you have your graph titles "per host"? If they are "per host", you have to "Reapply Suggested Names" in the Graph Management UI.

Also, I believe that Re-Indexing the host is how the graph titles would change if you titles were NOT "per host". Clearing the Poller Cache has nothing to do with that.

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?
User avatar
TFC
Cacti Pro User
Posts: 739
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

Post by TFC »

TheWitness wrote:Do you have your graph titles "per host"? If they are "per host", you have to "Reapply Suggested Names" in the Graph Management UI.

Also, I believe that Re-Indexing the host is how the graph titles would change if you titles were NOT "per host". Clearing the Poller Cache has nothing to do with that.

TheWitness
How can I reapply suggested Names?
I dont want to delete all graphs and re-create :(
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Goto Graph Management, select the graphs you want to rename, and then from the dropdown, pick "Reapply Suggested Names".

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?
User avatar
TFC
Cacti Pro User
Posts: 739
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

Post by TFC »

It works...
Thank you for your assistances.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Moved to General
[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]
eshine
Posts: 30
Joined: Fri Feb 25, 2005 11:38 am
Location: Sao Paulo - Brazil

Post by eshine »

A new case:

I can see that poller cache is populated correctly, but "View Poller Cache" present me a blank screen (see attached file).

After some digging, I realized that the problem is related to the number of data sources (or number of devices). With 1,8 K DS this works fine, but if I increase it to 3,5 K I have this blank screen.

I've not seen any log (Apache logs or system logs) related to this. I'm feeling that I need to increase some value in the PHP or Apache resource, actually they're all in the minimum recommended values.
Attachments
after_click.jpg
after_click.jpg (44.63 KiB) Viewed 6074 times
rgds,
Edgar Shine
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Increase you PHP memory and timeout values.
[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]
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The timeout is set to "0" in the PHP script and memory set to "32mbytes" also in "utilities.php". So, my question is what version of Cacti are you running and what version of PHP and MySQL are you running?

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest