Dataquery (ex cactiquery) 1.0a released

Announcements concerning Plugins for Cacti

Moderators: Moderators, Developers

Author
Message
User avatar
TheWitness
Developer
Posts: 14804
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

#46 Post by TheWitness » Thu Nov 23, 2006 7:23 am

We have to audit all the plugin Id's and ask some of the authors to change theirs. It would appear that there is some overlap in the security information.

For each plugin, there is a Realm ID, each plugin must use a unique Realm ID in their setup.php. If they don't, they won't load properly. This topic will be handled separately, when I get a few cycles. Until then, please audit all of your plugin and verify that the realm ID's are unique.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.

User avatar
fmangeant
Cacti Guru User
Posts: 2326
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

#47 Post by fmangeant » Thu Nov 23, 2006 9:55 am

TFC wrote:There is no dataquery tab (also there isno tab image in downloaded source)
And finally there is no icon shown.
The version of dataquery is Dataquery (dataquery - v0.1.2a)
Hi

can you try with version 0.1.4a ?

Did you add the "View Dataqueries" to your user ?
[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]

User avatar
TFC
Cacti Pro User
Posts: 722
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

#48 Post by TFC » Fri Nov 24, 2006 2:01 am

To The Witness:
This plugin have realm id like this:

Code: Select all

        $user_auth_realm_filenames['weathermap-cacti-plugin.php'] = 43;
        $user_auth_realm_filenames['weathermap-cacti-plugin-mgmt.php'] = 42;
To fmangeant:
I download and install new version and as admin I checked "view dataqueirs" box for me.
Nothing changed...

User avatar
TFC
Cacti Pro User
Posts: 722
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

#49 Post by TFC » Fri Nov 24, 2006 2:50 am

opps wrong realm taken from code..
I took from setup.php of weathermap.
Correct one is:

Code: Select all

        $user_auth_realm_filenames['dataquery.php'] = 33;
        $user_auth_realms[33]='View Dataqueries';

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

#50 Post by pestilence » Mon Nov 27, 2006 1:20 am

Hello everyone, i was away for 2 weeks due to work i am back going to check the issues and get back to everyone.
Regards
/* * 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
TFC
Cacti Pro User
Posts: 722
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

#51 Post by TFC » Tue Nov 28, 2006 2:22 am

Does anybody have an idea about my problem?

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

#52 Post by pestilence » Tue Nov 28, 2006 2:53 am

TFC wrote:Does anybody have an idea about my problem?
Your cacti version is older than the cacti version the plugin was written under.
I will try though to check furthermore and see if i can find anything else.
/* * 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
TFC
Cacti Pro User
Posts: 722
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

#53 Post by TFC » Tue Nov 28, 2006 6:54 am

pestilence wrote:
TFC wrote:Does anybody have an idea about my problem?
Your cacti version is older than the cacti version the plugin was written under.
I will try though to check furthermore and see if i can find anything else.
I think if there is a requirement part in each plugin and if this part contains min cacti version, it will be better.
Anyway, I need that plugin but i dont wanna upgrade my cacti :)

gru
Posts: 11
Joined: Fri Jun 02, 2006 2:46 am

#54 Post by gru » Thu Dec 14, 2006 5:57 am

Hi,

the dataquery plugin is working. Installation on 0.8.6i cacti with plugin-arch 1.0 was no problem.
But I'm missing something.

I've got a loadaverage graph with three datasources (1,5,15min.) and when pressing the dataquery button I only get 1 rrd (load15min) as output.

Is it somehow possible to get a csv output of all three datasources (say the whole graph)?

Thanks in advance,
keep up the good work,
greetings,
Johannes

User avatar
TheWitness
Developer
Posts: 14804
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

#55 Post by TheWitness » Wed Dec 20, 2006 7:28 pm

Pestilence,

I need to revise your plugin. Do you have an issue with that? Changes will be subtile but significant.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.

mreyes
Posts: 3
Joined: Thu Dec 21, 2006 11:13 am

#56 Post by mreyes » Thu Dec 21, 2006 11:19 am

how make this at crontab ?

php dataquery.php action=dump local_graph_id=178 rra_id=0 view_type=AVERAGE graph_start=1166706906 graph_end=1166710506

i think first problem is the auth ??

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

#57 Post by pestilence » Wed Jan 31, 2007 4:01 am

TheWitness wrote:Pestilence,

I need to revise your plugin. Do you have an issue with that? Changes will be subtile but significant.

TheWitness
Hey there, sorry for the late reply (damn work) it's ok with the revision :)
/* * 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
TFC
Cacti Pro User
Posts: 722
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

#58 Post by TFC » Wed Jan 31, 2007 6:58 am

Does still this plugin run on 0.8.6i and after?

User avatar
TheWitness
Developer
Posts: 14804
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

#59 Post by TheWitness » Wed Jan 31, 2007 8:29 am

Same here. Only difference is that I appear to be obsessed. Need to go and either see a Doctor or get a life.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.

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

#60 Post by pestilence » Thu Feb 01, 2007 6:52 am

TheWitness wrote:Same here. Only difference is that I appear to be obsessed. Need to go and either see a Doctor or get a life.

TheWitness
#define life?
:D LOL :D
Darn this is what happens when you start getting involved in everything LOL
/* * 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);

Post Reply