It's all in my sig, but Cacti 0.8.7d and PIA 2.4 (it can't be any other version with 'd', can it?)gandalf wrote:This is PIA2.4 or an older release?Howie wrote:RRDclean UI still shows up when the plugin is not enabled in Plugin Management.
I just spent a chunk of time trying to figure out why files weren't being archived, and nothing was appearing in the log. It turns out that the RRDClean UI will all show up, and apparently run, even when the plugin is disabled!
Reinhard
Problems with RRD-Clean - Post Here
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Limit of 600 RRD's found via RRD Clean?
I have just installed RRD Clean v0.38 on my cacti v0.8.7e and when I search my rrd files it only returns a maximum of 600 files, when I know that there are well over 2000 RRDs being processed, let alone the old ones I want to clean out!
Is this a known limitation? Is there anyway I can increase it?
Is this a known limitation? Is there anyway I can increase it?
- Attachments
-
- 600_files_found.PNG (2.81 KiB) Viewed 17499 times
-
- 2580_RRDs_Processed.png (30.45 KiB) Viewed 17499 times
-
- versions.PNG (21.31 KiB) Viewed 17499 times
-
- Cacti User
- Posts: 101
- Joined: Tue May 24, 2005 8:46 am
- Location: Rochester, New Hampshire
- Contact:
I just installed rrdclean, as I have somewhere along the lines of 3000 unused rrds.
When I scan, it comes back with 3,291 records. However, when sorted by date, I can see that 125 RRDs were marked as not in use, yet the last access time was within the past 5 minutes:
Last Accessed time: 2010-08-27 20:30:19
Last Scan: 2010-08-27 20:34:10
Other then that, this plugin seems like it will help me out.
Cacti Version 0.8.7e
PIA 2.5
rrdclean 0.40
When I scan, it comes back with 3,291 records. However, when sorted by date, I can see that 125 RRDs were marked as not in use, yet the last access time was within the past 5 minutes:
Last Accessed time: 2010-08-27 20:30:19
Last Scan: 2010-08-27 20:34:10
Other then that, this plugin seems like it will help me out.
Cacti Version 0.8.7e
PIA 2.5
rrdclean 0.40
Re: Problems with RRD-Clean - Post Here
Same problem here, rrdclean 0.41, PIA 3.0, cati&spine 0.8.7h. I know I have 5 rrds more:)
I have rrdclean 1.1 , PIA 2.5, cacti&spine 0,8,7e just peachy on an old system which I want to upgrade.
Technical Support
General Information
Date Sun, 27 Nov 2011 14:30:41 +0100
Cacti Version 0.8.7h
Cacti OS unix
SNMP Version NET-SNMP version: 5.4.2.1
RRDTool Version RRDTool 1.3.x
Hosts 3
Graphs 28
Data Sources Script/Command: 7
SNMP: 13
SNMP Query: 14
Total: 34
Poller Information
Interval 60
Type SPINE 0.8.7h Copyright 2002-2011 by The Cacti Group
Items Action[0]: 45
Action[1]: 7
Total: 52
Concurrent Processes 1
Max Threads 1
PHP Servers 1
Script Timeout 25
Max OID 10
Last Run Statistics Time:11.3532 Method:spine Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:57 RRDsProcessed:29
PHP Information
PHP Version 5.3.2-1ubuntu4.10
PHP OS Linux
PHP uname Linux testvm 2.6.32-35-generic #78-Ubuntu SMP Tue Oct 11 16:11:24 UTC 2011 x86_64
PHP SNMP Installed
max_execution_time 30
memory_limit 128M
MySQL Table Information
Name Rows Engine Collation
cdef 25 MyISAM latin1_swedish_ci
cdef_items 41 MyISAM latin1_swedish_ci
colors 106 MyISAM latin1_swedish_ci
data_input 13 MyISAM latin1_swedish_ci
data_input_data 747 MyISAM latin1_swedish_ci
data_input_fields 53 MyISAM latin1_swedish_ci
data_local 34 MyISAM latin1_swedish_ci
data_template 65 MyISAM latin1_swedish_ci
data_template_data 99 MyISAM latin1_swedish_ci
data_template_data_rra 503 MyISAM latin1_swedish_ci
data_template_rrd 147 MyISAM latin1_swedish_ci
graph_local 28 MyISAM latin1_swedish_ci
graph_template_input 108 MyISAM latin1_swedish_ci
graph_template_input_defs 435 MyISAM latin1_swedish_ci
graph_templates 52 MyISAM latin1_swedish_ci
graph_templates_gprint 5 MyISAM latin1_swedish_ci
graph_templates_graph 80 MyISAM latin1_swedish_ci
graph_templates_item 775 MyISAM latin1_swedish_ci
graph_tree 1 MyISAM latin1_swedish_ci
graph_tree_items 3 MyISAM latin1_swedish_ci
host 3 MyISAM latin1_swedish_ci
host_graph 14 MyISAM latin1_swedish_ci
host_snmp_cache 115 MyISAM latin1_swedish_ci
host_snmp_query 5 MyISAM latin1_swedish_ci
host_template 10 MyISAM latin1_swedish_ci
host_template_graph 32 MyISAM latin1_swedish_ci
host_template_snmp_query 19 MyISAM latin1_swedish_ci
plugin_aggregate_color_template_items 44 MyISAM latin1_swedish_ci
plugin_aggregate_color_templates 4 MyISAM latin1_swedish_ci
plugin_config 14 MyISAM latin1_swedish_ci
plugin_db_changes 18 MyISAM latin1_swedish_ci
plugin_discover_hosts 203 MyISAM latin1_swedish_ci
plugin_discover_template 0 MyISAM latin1_swedish_ci
plugin_hooks 87 MyISAM latin1_swedish_ci
plugin_mikrotik_processes 0 MEMORY latin1_swedish_ci
plugin_mikrotik_processor 0 MyISAM latin1_swedish_ci
plugin_mikrotik_storage 0 MyISAM latin1_swedish_ci
plugin_mikrotik_system 0 MyISAM latin1_swedish_ci
plugin_mikrotik_trees 0 MyISAM latin1_swedish_ci
plugin_mikrotik_users 0 MyISAM latin1_swedish_ci
plugin_realms 13 MyISAM latin1_swedish_ci
poller 0 MyISAM latin1_swedish_ci
poller_command 0 MyISAM latin1_swedish_ci
poller_item 52 MyISAM latin1_swedish_ci
poller_output 0 MyISAM latin1_swedish_ci
poller_output_boost 0 MEMORY latin1_swedish_ci
poller_output_boost_processes 0 MEMORY latin1_swedish_ci
poller_reindex 4 MyISAM latin1_swedish_ci
poller_time 1 MyISAM latin1_swedish_ci
rra 5 MyISAM latin1_swedish_ci
rra_cf 10 MyISAM latin1_swedish_ci
settings 148 MyISAM latin1_swedish_ci
settings_graphs 35 MyISAM latin1_swedish_ci
settings_tree 0 MyISAM latin1_swedish_ci
snmp_query 10 MyISAM latin1_swedish_ci
snmp_query_graph 27 MyISAM latin1_swedish_ci
snmp_query_graph_rrd 49 MyISAM latin1_swedish_ci
snmp_query_graph_rrd_sv 67 MyISAM latin1_swedish_ci
snmp_query_graph_sv 48 MyISAM latin1_swedish_ci
superlinks_auth 1 MyISAM latin1_swedish_ci
superlinks_pages 1 MyISAM latin1_swedish_ci
user_auth 2 MyISAM latin1_swedish_ci
user_auth_perms 0 MyISAM latin1_swedish_ci
user_auth_realm 34 MyISAM latin1_swedish_ci
user_log 9 MyISAM latin1_swedish_ci
version 1 MyISAM latin1_swedish_ci
11/27/2011 02:29:04 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT plugin_rrdclean.id, plugin_rrdclean.name, plugin_rrdclean.last_mod, plugin_rrdclean.size, plugin_rrdclean.name_cache, plugin_rrdclean.local_data_id, plugin_rrdclean.data_template_id, plugin_rrdclean.data_template_name FROM (plugin_rrdclean) WHERE (plugin_rrdclean.name like '%%%%') OR (plugin_rrdclean.name_cache like '%%%%') OR (plugin_rrdclean.data_template_name like '%%%%') ORDER BY name ASC LIMIT 0,100"
11/27/2011 02:29:04 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'1146', SQL:"SELECT ROUND(SUM(plugin_rrdclean.size),2) FROM plugin_rrdclean WHERE (plugin_rrdclean.name like '%%%%') OR (plugin_rrdclean.name_cache like '%%%%') OR (plugin_rrdclean.data_template_name like '%%%%')"
11/27/2011 02:29:04 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'1146', SQL:"SELECT COUNT(plugin_rrdclean.name) FROM plugin_rrdclean WHERE (plugin_rrdclean.name like '%%%%') OR (plugin_rrdclean.name_cache like '%%%%') OR (plugin_rrdclean.data_template_name like '%%%%')"
I have rrdclean 1.1 , PIA 2.5, cacti&spine 0,8,7e just peachy on an old system which I want to upgrade.
Technical Support
General Information
Date Sun, 27 Nov 2011 14:30:41 +0100
Cacti Version 0.8.7h
Cacti OS unix
SNMP Version NET-SNMP version: 5.4.2.1
RRDTool Version RRDTool 1.3.x
Hosts 3
Graphs 28
Data Sources Script/Command: 7
SNMP: 13
SNMP Query: 14
Total: 34
Poller Information
Interval 60
Type SPINE 0.8.7h Copyright 2002-2011 by The Cacti Group
Items Action[0]: 45
Action[1]: 7
Total: 52
Concurrent Processes 1
Max Threads 1
PHP Servers 1
Script Timeout 25
Max OID 10
Last Run Statistics Time:11.3532 Method:spine Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:57 RRDsProcessed:29
PHP Information
PHP Version 5.3.2-1ubuntu4.10
PHP OS Linux
PHP uname Linux testvm 2.6.32-35-generic #78-Ubuntu SMP Tue Oct 11 16:11:24 UTC 2011 x86_64
PHP SNMP Installed
max_execution_time 30
memory_limit 128M
MySQL Table Information
Name Rows Engine Collation
cdef 25 MyISAM latin1_swedish_ci
cdef_items 41 MyISAM latin1_swedish_ci
colors 106 MyISAM latin1_swedish_ci
data_input 13 MyISAM latin1_swedish_ci
data_input_data 747 MyISAM latin1_swedish_ci
data_input_fields 53 MyISAM latin1_swedish_ci
data_local 34 MyISAM latin1_swedish_ci
data_template 65 MyISAM latin1_swedish_ci
data_template_data 99 MyISAM latin1_swedish_ci
data_template_data_rra 503 MyISAM latin1_swedish_ci
data_template_rrd 147 MyISAM latin1_swedish_ci
graph_local 28 MyISAM latin1_swedish_ci
graph_template_input 108 MyISAM latin1_swedish_ci
graph_template_input_defs 435 MyISAM latin1_swedish_ci
graph_templates 52 MyISAM latin1_swedish_ci
graph_templates_gprint 5 MyISAM latin1_swedish_ci
graph_templates_graph 80 MyISAM latin1_swedish_ci
graph_templates_item 775 MyISAM latin1_swedish_ci
graph_tree 1 MyISAM latin1_swedish_ci
graph_tree_items 3 MyISAM latin1_swedish_ci
host 3 MyISAM latin1_swedish_ci
host_graph 14 MyISAM latin1_swedish_ci
host_snmp_cache 115 MyISAM latin1_swedish_ci
host_snmp_query 5 MyISAM latin1_swedish_ci
host_template 10 MyISAM latin1_swedish_ci
host_template_graph 32 MyISAM latin1_swedish_ci
host_template_snmp_query 19 MyISAM latin1_swedish_ci
plugin_aggregate_color_template_items 44 MyISAM latin1_swedish_ci
plugin_aggregate_color_templates 4 MyISAM latin1_swedish_ci
plugin_config 14 MyISAM latin1_swedish_ci
plugin_db_changes 18 MyISAM latin1_swedish_ci
plugin_discover_hosts 203 MyISAM latin1_swedish_ci
plugin_discover_template 0 MyISAM latin1_swedish_ci
plugin_hooks 87 MyISAM latin1_swedish_ci
plugin_mikrotik_processes 0 MEMORY latin1_swedish_ci
plugin_mikrotik_processor 0 MyISAM latin1_swedish_ci
plugin_mikrotik_storage 0 MyISAM latin1_swedish_ci
plugin_mikrotik_system 0 MyISAM latin1_swedish_ci
plugin_mikrotik_trees 0 MyISAM latin1_swedish_ci
plugin_mikrotik_users 0 MyISAM latin1_swedish_ci
plugin_realms 13 MyISAM latin1_swedish_ci
poller 0 MyISAM latin1_swedish_ci
poller_command 0 MyISAM latin1_swedish_ci
poller_item 52 MyISAM latin1_swedish_ci
poller_output 0 MyISAM latin1_swedish_ci
poller_output_boost 0 MEMORY latin1_swedish_ci
poller_output_boost_processes 0 MEMORY latin1_swedish_ci
poller_reindex 4 MyISAM latin1_swedish_ci
poller_time 1 MyISAM latin1_swedish_ci
rra 5 MyISAM latin1_swedish_ci
rra_cf 10 MyISAM latin1_swedish_ci
settings 148 MyISAM latin1_swedish_ci
settings_graphs 35 MyISAM latin1_swedish_ci
settings_tree 0 MyISAM latin1_swedish_ci
snmp_query 10 MyISAM latin1_swedish_ci
snmp_query_graph 27 MyISAM latin1_swedish_ci
snmp_query_graph_rrd 49 MyISAM latin1_swedish_ci
snmp_query_graph_rrd_sv 67 MyISAM latin1_swedish_ci
snmp_query_graph_sv 48 MyISAM latin1_swedish_ci
superlinks_auth 1 MyISAM latin1_swedish_ci
superlinks_pages 1 MyISAM latin1_swedish_ci
user_auth 2 MyISAM latin1_swedish_ci
user_auth_perms 0 MyISAM latin1_swedish_ci
user_auth_realm 34 MyISAM latin1_swedish_ci
user_log 9 MyISAM latin1_swedish_ci
version 1 MyISAM latin1_swedish_ci
11/27/2011 02:29:04 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT plugin_rrdclean.id, plugin_rrdclean.name, plugin_rrdclean.last_mod, plugin_rrdclean.size, plugin_rrdclean.name_cache, plugin_rrdclean.local_data_id, plugin_rrdclean.data_template_id, plugin_rrdclean.data_template_name FROM (plugin_rrdclean) WHERE (plugin_rrdclean.name like '%%%%') OR (plugin_rrdclean.name_cache like '%%%%') OR (plugin_rrdclean.data_template_name like '%%%%') ORDER BY name ASC LIMIT 0,100"
11/27/2011 02:29:04 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'1146', SQL:"SELECT ROUND(SUM(plugin_rrdclean.size),2) FROM plugin_rrdclean WHERE (plugin_rrdclean.name like '%%%%') OR (plugin_rrdclean.name_cache like '%%%%') OR (plugin_rrdclean.data_template_name like '%%%%')"
11/27/2011 02:29:04 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'1146', SQL:"SELECT COUNT(plugin_rrdclean.name) FROM plugin_rrdclean WHERE (plugin_rrdclean.name like '%%%%') OR (plugin_rrdclean.name_cache like '%%%%') OR (plugin_rrdclean.data_template_name like '%%%%')"
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Problems with RRD-Clean - Post Here
This error is thrown when there's no such table present.
Please do a "rescan" and retry. Do those errors still persist?
R.
Please do a "rescan" and retry. Do those errors still persist?
R.
Re: Problems with RRD-Clean - Post Here
yes, every time I scan I have the errors.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Problems with RRD-Clean - Post Here
Please deactivate and reactivate plugin and retry.
I tried to reproduce on 087i+PIA, but no error shows up
R.
I tried to reproduce on 087i+PIA, but no error shows up
R.
-
- Cacti User
- Posts: 92
- Joined: Wed Feb 27, 2013 10:57 am
- Location: Portland, OR
- Contact:
Re: Problems with RRD-Clean - Post Here
I am trying to use RRDClean for the first time, and when running a delete, nothing happens. The screen appears to show that it worked, but when i 'rescan' the number jumps back up to what it was.
Otherwise cacti is running great. rrd clean v 0.41Any thoughts?
Otherwise cacti is running great. rrd clean v 0.41Any thoughts?
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
Re: Problems with RRD-Clean - Post Here
RRDCleaner puts all selected files into a queue which will be processed with the next poller run. This is necessary due to security issues.KevinNoall wrote:I am trying to use RRDClean for the first time, and when running a delete, nothing happens. The screen appears to show that it worked, but when i 'rescan' the number jumps back up to what it was.
Otherwise cacti is running great. rrd clean v 0.41Any thoughts?
(An Apache user should not have write permissions to application files). A click on "rescan" will drop the queue.
Regards
-Andi
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
-
- Cacti User
- Posts: 92
- Joined: Wed Feb 27, 2013 10:57 am
- Location: Portland, OR
- Contact:
Re: Problems with RRD-Clean - Post Here
Sure enough! Sorry for the bonehead question. That could use a note on the page or something!RRDCleaner puts all selected files into a queue which will be processed with the next poller run. This is necessary due to security issues.
(An Apache user should not have write permissions to application files). A click on "rescan" will drop the queue.
Thanks
Kevin
Who is online
Users browsing this forum: No registered users and 0 guests