RRDClean - now at V0.36

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

loorimar
Posts: 8
Joined: Fri Jun 15, 2007 3:04 pm

PIA

Post by loorimar »

PIA 2.1
gueutzilla
Posts: 9
Joined: Sun Jul 13, 2008 10:28 am

Post by gueutzilla »

Hi,


I have a similar problem!!!
When I launch RRDCleaner a lot of files appear.
But when I select them and select action (delete), it's seems to be ok.

But when I launch RRDClean after execute my action, files are here.

The files are not deleted!!!!

All NTFS permissions are good...

Cacti info:
Ver. 8.7.b
PA 2.1

Thanks for your help and sorry for my english :roll:
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Run Sysinternals filemon during the polling. Also, what does your log say?

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?
gueutzilla
Posts: 9
Joined: Sun Jul 13, 2008 10:28 am

Post by gueutzilla »

I and thanks for your reply.

The plugin RRDClean doesn't work without filemon, BUT, when I launch filemon... The rrd unused were delete like a miracle!!!! :o

All is all right now!!! But I don't know what!!! :roll:


Thanks...
danwdoo
Cacti User
Posts: 50
Joined: Thu Oct 26, 2006 11:42 pm

I had this same error...

Post by danwdoo »

I had the same error. I had installed it with the plugin manager but had forgotten to enable it in the same manager.

Danny
User avatar
GLR
Cacti User
Posts: 55
Joined: Mon Jul 21, 2008 5:45 am
Location: Paris suburbs, France
Contact:

Re: I had this same error...

Post by GLR »

danwdoo wrote:I had the same error. I had installed it with the plugin manager but had forgotten to enable it in the same manager.

Danny
Aaaarg !!!
That was also my problem on this Cacti install !
I was blind, you've opened my eyes !
Thanks a lot !
Cacti 0.8.8b + spine 0.8.8b
on Debian / Apache 2.2 / PHP 5.2 / MySQL 5.0
User avatar
RCK
Cacti User
Posts: 54
Joined: Fri Jan 26, 2007 12:38 pm

Post by RCK »

gueutzilla wrote: When I launch RRDCleaner a lot of files appear.
But when I select them and select action (delete), it's seems to be ok.

But when I launch RRDClean after execute my action, files are here.

The files are not deleted!!!!
When you have selected the files and click over the DELETE button, you have to wait the next cycle poll without coming back to the RRDclean select page.
Just go to cacti log, and see if the next poll have deleted your selected files correctly :)
Cacti: 0.8.7g | Spine: 0.8.7g
Plugins: RRDclean - Weathermap - Thold - Realtime
My Template: ApacheStats 0.8.2 (multiple RRD, Low disk usage, Script Server)
slech
Cacti User
Posts: 90
Joined: Tue Nov 06, 2007 7:51 am

Post by slech »

Whet I try to view my Uninstaled Plugins i see:
Fatal error: Cannot redeclare plugin_init_rrdclean() (previously declared in W:\web_app\cacti\plugins\rrdclean\setup.php:18) in W:\web_app\cacti\plugins\rrdcleanq\setup.php on line 23
[size=75]
[color=green]|Cacti 0.87|[/color][color=green]|PA 1.3|[/color][color=green]|Poller cmd.php|[/color][color=green]|IIS 6.0|[/color][color=green]|PHP Version 5.2.4|[/color][color=green]|MySQL 5.0.27|[/color][color=green]|RRDtool 1.2.15|[/color][/size]
[color=brown]|Thold 0.3.8 |[/color] [color=red]|Zond 0.34 |[/color]
[url=http://forums.cacti.net/viewtopic.php?t=15067][size=75]Complete List of Cacti Scripts and Templates[/size][/url]
[url=http://forums.cacti.net/viewtopic.php?t=14985][size=75]Currently Known Plugins[/size][/url]
slech
Cacti User
Posts: 90
Joined: Tue Nov 06, 2007 7:51 am

Post by slech »

Sorry, resolved. This apear when i renamed old folder of RRDclean Plugin.
After I deleted it error disapear.
[size=75]
[color=green]|Cacti 0.87|[/color][color=green]|PA 1.3|[/color][color=green]|Poller cmd.php|[/color][color=green]|IIS 6.0|[/color][color=green]|PHP Version 5.2.4|[/color][color=green]|MySQL 5.0.27|[/color][color=green]|RRDtool 1.2.15|[/color][/size]
[color=brown]|Thold 0.3.8 |[/color] [color=red]|Zond 0.34 |[/color]
[url=http://forums.cacti.net/viewtopic.php?t=15067][size=75]Complete List of Cacti Scripts and Templates[/size][/url]
[url=http://forums.cacti.net/viewtopic.php?t=14985][size=75]Currently Known Plugins[/size][/url]
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

slech wrote:Sorry, resolved. This apear when i renamed old folder of RRDclean Plugin.
After I deleted it error disapear.
Right. I came across this some time ago but lost it on my mind
Reinhard
killshoot
Cacti User
Posts: 84
Joined: Wed Mar 26, 2008 2:51 am

Post by killshoot »

Very goofd plugin.

I've around 20'000 unused rrd ( cacti run since a long time :D ).

My question is the following : I can't select more thant 50 row per page. So I need to repeat the operation 400x to delete all rrd.

Is it possible to change the number the row per page (like device, datasource or graph management etc)

I can't find where to change that is the rrdclean source code.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

killshoot wrote:Very goofd plugin.

I've around 20'000 unused rrd ( cacti run since a long time :D ).

My question is the following : I can't select more thant 50 row per page. So I need to repeat the operation 400x to delete all rrd.

Is it possible to change the number the row per page (like device, datasource or graph management etc)

I can't find where to change that is the rrdclean source code.
I think I made this change for Gandolf in the Cacti Groups SVN plugin location. Just grab the SVN for "plugins" instead of "cacti" and you will find it there.

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?
killshoot
Cacti User
Posts: 84
Joined: Wed Mar 26, 2008 2:51 am

Post by killshoot »

Thank for your reply.

I've updated the plugin with last SVN. Now I can see the "row per page list" but it's empty... :(
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Well, I did not say that I QA'd it :oops: It's likely a global variable that needs to be defined somewhere. I'll have to take a look at it, or if you want, take a dive.

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?
bodo.bach
Posts: 9
Joined: Wed Jul 02, 2008 7:35 am

RRDcleaner console entry

Post by bodo.bach »

Hi,

I am using 0.87b, PA2.1 and after installing RRDcleaner V0.36 (last version from SVN) via Plugin Management the rrdcleaner apears in console menu, but when i disable it in user-realms, its NOT deleted in console-menu, but access is denied.

is this OK ?

Thanxs for an answer

Ralf
Locked

Who is online

Users browsing this forum: No registered users and 1 guest