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    


CACTIQUERY 0.8.6C
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti
Author Message
pestilence
Cacti User


Joined: 25 Jul 2003
Posts: 207
Location: Athens/Greece

PostPosted: Tue Feb 08, 2005 4:06 am    Post subject: Reply with quote

Ok i will try to debug the script step by step and see what else i can find about this behaviour...
Back to top
pestilence
Cacti User


Joined: 25 Jul 2003
Posts: 207
Location: Athens/Greece

PostPosted: Tue Feb 08, 2005 4:42 am    Post subject: Reply with quote

Ok i think i found the problem with cactiquery not working on some people.
I forgot to mention in the ReadMe file that the query is for the "LAST" RRA i did not implement yet a way to choose the RRA type.
So for them moment open rrd.php and find line #524 change it to AVERAGE or whatever RRA you want to use and try it again. Please inform back if this works so that i can continue patching the RRA issue.
Back to top
d.m.wilson



Joined: 22 Sep 2004
Posts: 15

PostPosted: Tue Feb 08, 2005 7:38 am    Post subject: Reply with quote

Well I'm not as lucky as starkie yet - for me it's failing right after clicking on the query graph icon. It just pushes a new page with the tree displayed at the left and the main body of the page all gray.

Just for my sanity, I double checked my installation - I am seeing some of the changes. I've attached screenshots.

I did try the rrd.php line #524 change...no dice...but I understand the reason for the change.

I don't have access to another browser to try to rule out IE6 problems - but I see fmangeant is experiencing the same problems I am with FireFox.

Anything else I can test, report, let me know
dmw



Icon.JPG
 Description:
 Filesize:  17.58 KB
 Viewed:  3867 Time(s)

Icon.JPG



CSV Path.JPG
 Description:
 Filesize:  10.39 KB
 Viewed:  3868 Time(s)

CSV Path.JPG


Back to top
pestilence
Cacti User


Joined: 25 Jul 2003
Posts: 207
Location: Athens/Greece

PostPosted: Tue Feb 08, 2005 9:01 am    Post subject: Reply with quote

Does it do that for all graphs? or for specific graphs?
Back to top
fmangeant
Cacti Guru User


Joined: 19 Sep 2003
Posts: 2325
Location: Sophia-Antipolis, France

PostPosted: Tue Feb 08, 2005 9:49 am    Post subject: Reply with quote

Hi

I'm having this problem with all graphs

My test system is running Cacti 0.8.6c + latest patches from http://www.cacti.net/downloads/patches/0.8.6c/pre-patched :
- functions.php
- graphs_new.php
- host.php
- rrd.php
- top_graph_header.php

I then install cactiquery 0.8.6c, overwriting rrd.php & functions.php. Do you think it can cause a problem ?

Thanks in advance.
Back to top
d.m.wilson



Joined: 22 Sep 2004
Posts: 15

PostPosted: Tue Feb 08, 2005 7:47 pm    Post subject: Reply with quote

pestilence wrote:
Does it do that for all graphs? or for specific graphs?


Yes - for all graphs.
Back to top
pestilence
Cacti User


Joined: 25 Jul 2003
Posts: 207
Location: Athens/Greece

PostPosted: Wed Feb 09, 2005 5:18 am    Post subject: Reply with quote

Ok i will check the patches and see if they are different from the .php files cactiquery uses (i think they are newer than the ones i had).
I will report back later.
Back to top
kmichaels



Joined: 09 Feb 2005
Posts: 6

PostPosted: Wed Feb 09, 2005 11:12 am    Post subject: Cannot Download Reply with quote

Can anyone download this file... I seem to be having problems with it.
Back to top
d.m.wilson



Joined: 22 Sep 2004
Posts: 15

PostPosted: Thu Feb 10, 2005 7:42 pm    Post subject: Reply with quote

pestilence wrote:
Ok i will check the patches and see if they are different from the .php files cactiquery uses (i think they are newer than the ones i had).
I will report back later.


I still can't it to work with the standard .php files in 0.8.6c
Back to top
starkie



Joined: 22 Nov 2004
Posts: 30

PostPosted: Sun Feb 13, 2005 5:49 pm    Post subject: Reply with quote

OK, Now I get IE6 saying that their is a error on line 362

then after that

Notice: Undefined variable: fp_index in /www/htdocs/cacti/lib/rrd.php on line 870

Notice: Undefined variable: valine in /www/htdocs/cacti/lib/rrd.php on line 870

Warning: fwrite(): supplied argument is not a valid stream resource in /www/htdocs/cacti/lib/rrd.php on line 870

Notice: Undefined variable: fp_index in /www/htdocs/cacti/lib/rrd.php on line 871

Warning: fclose(): supplied argument is not a valid stream resource in /www/htdocs/cacti/lib/rrd.php on line 871



2.JPG
 Description:
 Filesize:  113.85 KB
 Viewed:  3738 Time(s)

2.JPG



1.JPG
 Description:
 Filesize:  104.46 KB
 Viewed:  3738 Time(s)

1.JPG


Back to top
pestilence
Cacti User


Joined: 25 Jul 2003
Posts: 207
Location: Athens/Greece

PostPosted: Wed Feb 16, 2005 5:27 pm    Post subject: Reply with quote

Sorry for the small delay..i was away for bussiness...ok starkie i will be checking this tomorrow trying to find out what the new problem is damn i feel like a Microsoft engineer
Back to top
starkie



Joined: 22 Nov 2004
Posts: 30

PostPosted: Wed Feb 16, 2005 5:33 pm    Post subject: Reply with quote

Thanks mate!
Back to top
starkie



Joined: 22 Nov 2004
Posts: 30

PostPosted: Tue Feb 22, 2005 8:02 pm    Post subject: Reply with quote

Hey any update?

Thanks
Back to top
starkie



Joined: 22 Nov 2004
Posts: 30

PostPosted: Wed Mar 02, 2005 9:23 pm    Post subject: Reply with quote

Hey any update again?

Thanks
Back to top
RickL



Joined: 07 Jun 2005
Posts: 3

PostPosted: Thu Jun 09, 2005 4:21 pm    Post subject: Reply with quote

I was doing some more playing around, and I found this post about changing the "last" to "average". I did that, and now I get the results of the query on the page, but the dump to csv doesn't work, it still gives me those errors as before.

Also see http://forums.cacti.net/about7467.html

Ideas?

Rick
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 



Powered by phpBB © 2001, 2005 phpBB Group