CACTIQUERY 0.8.6C

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

User avatar
pestilence
Cacti User
Posts: 207
Joined: Fri Jul 25, 2003 10:37 am
Location: Athens/Greece
Contact:

Post by pestilence »

Ok i will try to debug the script step by step and see what else i can find about this behaviour...
/* * Oops. The kernel tried to access some bad page. We'll have to * terminate things with extreme prejudice. */ die_if_kernel("Oops", regs, error_code);
User avatar
pestilence
Cacti User
Posts: 207
Joined: Fri Jul 25, 2003 10:37 am
Location: Athens/Greece
Contact:

Post by pestilence »

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.
/* * Oops. The kernel tried to access some bad page. We'll have to * terminate things with extreme prejudice. */ die_if_kernel("Oops", regs, error_code);
d.m.wilson
Posts: 15
Joined: Wed Sep 22, 2004 11:49 am

Post by d.m.wilson »

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
Attachments
CSV Path.JPG
CSV Path.JPG (10.39 KiB) Viewed 9847 times
Icon.JPG
Icon.JPG (17.58 KiB) Viewed 9847 times
User avatar
pestilence
Cacti User
Posts: 207
Joined: Fri Jul 25, 2003 10:37 am
Location: Athens/Greece
Contact:

Post by pestilence »

Does it do that for all graphs? or for specific graphs?
/* * Oops. The kernel tried to access some bad page. We'll have to * terminate things with extreme prejudice. */ die_if_kernel("Oops", regs, error_code);
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

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/ ... re-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.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
d.m.wilson
Posts: 15
Joined: Wed Sep 22, 2004 11:49 am

Post by d.m.wilson »

pestilence wrote:Does it do that for all graphs? or for specific graphs?
Yes - for all graphs.
User avatar
pestilence
Cacti User
Posts: 207
Joined: Fri Jul 25, 2003 10:37 am
Location: Athens/Greece
Contact:

Post by pestilence »

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.
/* * Oops. The kernel tried to access some bad page. We'll have to * terminate things with extreme prejudice. */ die_if_kernel("Oops", regs, error_code);
kmichaels
Posts: 6
Joined: Wed Feb 09, 2005 11:05 am

Cannot Download

Post by kmichaels »

Can anyone download this file... I seem to be having problems with it.
d.m.wilson
Posts: 15
Joined: Wed Sep 22, 2004 11:49 am

Post by d.m.wilson »

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 :(
starkie
Posts: 30
Joined: Mon Nov 22, 2004 2:35 pm

Post by starkie »

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
Attachments
1.JPG
1.JPG (104.46 KiB) Viewed 9717 times
2.JPG
2.JPG (113.85 KiB) Viewed 9717 times
User avatar
pestilence
Cacti User
Posts: 207
Joined: Fri Jul 25, 2003 10:37 am
Location: Athens/Greece
Contact:

Post by pestilence »

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 :P damn i feel like a Microsoft engineer :P
/* * Oops. The kernel tried to access some bad page. We'll have to * terminate things with extreme prejudice. */ die_if_kernel("Oops", regs, error_code);
starkie
Posts: 30
Joined: Mon Nov 22, 2004 2:35 pm

Post by starkie »

Thanks mate!
starkie
Posts: 30
Joined: Mon Nov 22, 2004 2:35 pm

Post by starkie »

Hey any update?

Thanks
starkie
Posts: 30
Joined: Mon Nov 22, 2004 2:35 pm

Post by starkie »

Hey any update again?

Thanks
RickL
Posts: 3
Joined: Tue Jun 07, 2005 11:16 am

Post by RickL »

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

Who is online

Users browsing this forum: No registered users and 0 guests