Search found 41 matches

by lorenplak
Tue May 22, 2012 9:04 am
Forum: Plugin Development
Topic: plugin for creating external DS
Replies: 2
Views: 11771

plugin for creating external DS

hy,

i'm trying to create a plugin to help creating a lot's of external datasource and associated graph.
does it exist function to help me doing that (graph template exist, data template also) ?
in which table must i insert values ?

best regard,

Laurent
by lorenplak
Thu Feb 23, 2012 4:11 am
Forum: Plugin Development
Topic: Action for create_complete_graph_from_template
Replies: 6
Views: 5127

Re: Action for create_complete_graph_from_template

Select "Plugin Management" and select "Load Order" column. Then, move your plugin to the top R. thanks. So i've put my plugin on topmost, and modify my code, and now, it's OK. my code is : function addGraph_create_complete_graph_from_template($data) { global $config; cacti_log( ...
by lorenplak
Wed Feb 22, 2012 4:09 am
Forum: Plugin Development
Topic: device_edit_top_links
Replies: 4
Views: 4103

Re: device_edit_top_links

hy, The relevant part of code is <td class="textInfo" valign="top"> <span style="color: #c16921;">*</span><a href="<?php print htmlspecialchars("graphs_new.php?host_id=" . $host["id"]);?>">Create Graphs for this Host</a><br> <span style=&qu...
by lorenplak
Wed Feb 22, 2012 4:07 am
Forum: Plugin Development
Topic: Action for create_complete_graph_from_template
Replies: 6
Views: 5127

Re: Action for create_complete_graph_from_template

hy,
gandalf wrote:Which is the sequence of your plugins? Please make your plugin topmost and retry. In case this works for your plugin, AUTOM8 will break and I will know how to fix that.
R.
how can i see this sequence, how can i put my plugin topmost ?

Laurent
by lorenplak
Tue Feb 21, 2012 5:17 am
Forum: Plugin Development
Topic: Action for create_complete_graph_from_template
Replies: 6
Views: 5127

Action for create_complete_graph_from_template

Hy, i want to add an action after creation of graph, so in my own plugin i've created a hook for create_complete_graph_from_template : api_plugin_register_hook('addGraph', 'create_complete_graph_from_template', 'addGraph_create_complete_graph_from_template', 'addGraph_actions.php'); and the function...
by lorenplak
Mon Feb 20, 2012 4:04 am
Forum: Plugin Development
Topic: device_edit_top_links
Replies: 4
Views: 4103

Re: device_edit_top_links

hello, Are you talking about the links seen on top, when editing a single host? yes Whcih method of adding your custom link do you prefer, by writing a plugin (using a plugin hook) or by simply patching the code? i want to add this within a plugin, so using plugin hook. Which base version of cacti a...
by lorenplak
Thu Feb 16, 2012 10:01 am
Forum: Plugin: (Threshold)
Topic: thold and manage
Replies: 1
Views: 646

Re: thold and manage

OK, finally i've found !
by lorenplak
Thu Feb 16, 2012 9:23 am
Forum: Plugin: (Threshold)
Topic: thold and manage
Replies: 1
Views: 646

thold and manage

Hy,

i want to merge manage plugin and thold : when a threshold is triggered, i want a data insert into the manage_event table.
So, i have search for plugin_thold_log but i don't see, in source file, where this table (plugin_thold_log) is populated.

cacti 0.8.7i, thold 4.9

Laurent
by lorenplak
Thu Feb 16, 2012 5:17 am
Forum: Plugin Development
Topic: device_edit_top_links
Replies: 4
Views: 4103

device_edit_top_links

Hy,

i want to add a link in the Host Top links, but this link must have the current host ID.

how to do that ?

Laurent
by lorenplak
Wed Feb 15, 2012 6:41 am
Forum: Plugin General
Topic: Manage Plugin 0.6.2 for monitoring networks, servers...
Replies: 948
Views: 628236

Re: Manage Plugin 0.6.2 for monitoring networks, servers...

i think that the RRD file created by the manage port template doesn't create the LAST CF. Here is the RRDinfo of my file : DS last_ds max min minimal_heartbeat type unknown_sec value TCP 1 0 600 GAUGE 0 126 rra cf cur_row pdp_per_row rows xff 0 AVERAGE 508 1 600 0.5 1 AVERAGE 449 6 700 0.5 2 AVERAGE...
by lorenplak
Wed Feb 15, 2012 4:27 am
Forum: Plugin General
Topic: Manage Plugin 0.6.2 for monitoring networks, servers...
Replies: 948
Views: 628236

Re: Manage Plugin 0.6.2 for monitoring networks, servers...

Basically when the graph gets created by the manage plugin for TCP port monitoring, once the polling cycle has completed and the RRD files get created, etc. I get the following error: ERROR: the RRD does not contain an RRA matching the chosen CF If I go in and edit the graph template and change the...
by lorenplak
Wed Feb 08, 2012 11:41 am
Forum: Plugin General
Topic: Automn8 > how to add graph in a special tree
Replies: 3
Views: 1038

Re: Automn8 > how to add graph in a special tree

You should drop the "host" into the (existing?) tree named "Servers". Automatically, all graphs of that host are listed underneath the "host" entry. So you select "Servers" as the tree to use, "host" (instead of "graph"), as the element to...
by lorenplak
Wed Feb 08, 2012 10:02 am
Forum: Plugin General
Topic: Automn8 > how to add graph in a special tree
Replies: 3
Views: 1038

Re: Automn8 > how to add graph in a special tree

You should drop the "host" into the (existing?) tree named "Servers". Automatically, all graphs of that host are listed underneath the "host" entry. So you select "Servers" as the tree to use, "host" (instead of "graph"), as the element to...
by lorenplak
Tue Feb 07, 2012 11:47 am
Forum: Plugin General
Topic: Automn8 > how to add graph in a special tree
Replies: 3
Views: 1038

Automn8 > how to add graph in a special tree

Hy,

i want to create a tree rule to automaticaly add host graph to a named tree, like Servers > hostname > all graphs of this hostname.

i've tried different things without success.

Laurent

Cacti 0.8.7i, automn8 0.35
by lorenplak
Fri Jan 27, 2012 10:44 am
Forum: Help: General
Topic: Cacti 0.8.7i > In State Column
Replies: 16
Views: 7428

Re: Cacti 0.8.7i > In State Column

gandalf wrote:In case Cacti has always seen the device as UP, there has been no "status change", hence no "up since ..." value
R.
ok thanks.