Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


rrdCleaner - cleans cactis rrd dir from unused rrd's
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin Announcements
Author Message
Tut`



Joined: 21 Jul 2005
Posts: 11

PostPosted: Tue Nov 15, 2005 11:43 am    Post subject: Reply with quote

cigamit wrote:
The realm settings were slightly off, causing the link to not show.


right! i didn't see it. I'm writing other plugins. One of them has the same realm 'id', so it worked for me =)


cigamit wrote:
I also changed it to show the moved / deleted items in a nicer table at the top. I even did some simple code cleaning

Let me know how its works for you.


Thanks for cleaning code (i love blank line:p). Everything seems ok
Back to top
spignataro



Joined: 07 Nov 2005
Posts: 41

PostPosted: Tue Nov 15, 2005 12:09 pm    Post subject: Reply with quote

I thought the whole idea behind this was to list rrd graphs that are not being used anymore by the program. Instead it just list them all....can it be configured to only list ones that are not being used? I made the mistake of accidently deleting everything....(glade it was a test server)
Back to top
Tut`



Joined: 21 Jul 2005
Posts: 11

PostPosted: Tue Nov 15, 2005 12:29 pm    Post subject: Reply with quote

Could you give us some information about your configuration ? (os, cacti version,etc..)

Anyway, it needs more functionnality. Let me some couple of hours :p
Back to top
spignataro



Joined: 07 Nov 2005
Posts: 41

PostPosted: Tue Nov 15, 2005 12:37 pm    Post subject: Reply with quote

cacti 0.8.6g with the plugin....

Windows XP (will soon be moved over to 2000 when i get everything sqaured away)

Apache 2.x

PHP 4.x (latested available download)

RRD Cleaner in theory should just display unused rrd file instead of currently used RRD files. But it doesnt.
Back to top
Tut`



Joined: 21 Jul 2005
Posts: 11

PostPosted: Tue Nov 15, 2005 12:39 pm    Post subject: Reply with quote

is cacti poller active on this test server ?
Back to top
spignataro



Joined: 07 Nov 2005
Posts: 41

PostPosted: Tue Nov 15, 2005 12:49 pm    Post subject: Reply with quote

problem relys on this line:

Code:
   if (sizeof($files_unused) > 0) {


Problem is if the file is greater then 0 it will show up. But the problem is...some files might be no greater then 0. It has to go on what is not being used. I dont think this is a sufficent way of going about things.

I think you should place in last modified date. What date would you like to have it represent as the first date and then have the program look backwards.

Just an idea.
Back to top
spignataro



Joined: 07 Nov 2005
Posts: 41

PostPosted: Tue Nov 15, 2005 12:49 pm    Post subject: Reply with quote

Tut` wrote:
is cacti poller active on this test server ?


yes
Back to top
Tut`



Joined: 21 Jul 2005
Posts: 11

PostPosted: Tue Nov 15, 2005 12:59 pm    Post subject: Reply with quote

spignataro wrote:
problem relys on this line:

Code:
   if (sizeof($files_unused) > 0) {


Problem is if the file is greater then 0 it will show up. But the problem is...some files might be no greater then 0. It has to go on what is not being used. I dont think this is a sufficent way of going about things.


This line test if there is some files to show (size of an array) not the file size).
And rrds can't have a null size.

spignataro wrote:

I think you should place in last modified date. What date would you like to have it represent as the first date and then have the program look backwards.
Just an idea.


it's an option, it will be available within the next version.
Back to top
Tut`



Joined: 21 Jul 2005
Posts: 11

PostPosted: Tue Nov 15, 2005 1:00 pm    Post subject: Reply with quote

spignataro wrote:
Tut` wrote:
is cacti poller active on this test server ?


yes



I didn't test it on windows, i'll do it
Back to top
spignataro



Joined: 07 Nov 2005
Posts: 41

PostPosted: Tue Nov 15, 2005 1:01 pm    Post subject: Reply with quote

yeah it isnt behaving as it should.

Very odd if you ask me.
Back to top
spignataro



Joined: 07 Nov 2005
Posts: 41

PostPosted: Tue Nov 15, 2005 1:05 pm    Post subject: Reply with quote

backup feature is not a good idea....a back up is a copy of an item...not a complete move of an item. So you want to make it copy....not do a complete move.
Back to top
Tut`



Joined: 21 Jul 2005
Posts: 11

PostPosted: Tue Nov 15, 2005 1:08 pm    Post subject: Reply with quote

spignataro wrote:
yeah it isnt behaving as it should.


it does on my platform =)
Back to top
Tut`



Joined: 21 Jul 2005
Posts: 11

PostPosted: Tue Nov 15, 2005 1:09 pm    Post subject: Reply with quote

spignataro wrote:
backup feature is not a good idea....a back up is a copy of an item...not a complete move of an item. So you want to make it copy....not do a complete move.



you're right. i 'll add "Archive" option
Back to top
spignataro



Joined: 07 Nov 2005
Posts: 41

PostPosted: Tue Nov 15, 2005 2:13 pm    Post subject: Reply with quote

Tut` wrote:
spignataro wrote:
yeah it isnt behaving as it should.


it does on my platform =)


which platform?
Back to top
spignataro



Joined: 07 Nov 2005
Posts: 41

PostPosted: Tue Nov 15, 2005 2:14 pm    Post subject: Reply with quote

Tut` wrote:
spignataro wrote:
backup feature is not a good idea....a back up is a copy of an item...not a complete move of an item. So you want to make it copy....not do a complete move.



you're right. i 'll add "Archive" option


awsome...good idea
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin Announcements All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 3 of 9

 



Powered by phpBB © 2001, 2005 phpBB Group