Search found 20 matches

by Roke
Fri Nov 26, 2010 12:01 pm
Forum: Plugin Announcements
Topic: Plugin for billing traffic
Replies: 2
Views: 2389

Re: Plugin for billing traffic

26 NOVEMBER 2010 ---------------------------------------------------------- New release of cclient on http://www.rokeblog.com Now we use the "nth_percentile" and "bandwidth_summation" functions of cacti, the code is small and more easy to understand. Now you can bill for 95th per...
by Roke
Fri Nov 26, 2010 11:56 am
Forum: Addons for Cacti
Topic: New Addon for ISP billing
Replies: 8
Views: 7923

Re: New Addon for ISP billing

26 NOVEMBER 2010 ---------------------------------------------------------- New release of cclient on http://www.rokeblog.com Now we use the "nth_percentile" and "bandwidth_summation" functions of cacti, the code is small and more easy to understand. Now you can bill for 95th per...
by Roke
Fri Nov 26, 2010 11:53 am
Forum: Addons for Cacti
Topic: how to calculate 95 percentile for bandwidth
Replies: 3
Views: 5336

Re: how to calculate 95 percentile for bandwidth

I have the solutions so i posted here. I use the "nth_percentile" function of cacti so i get no problem :)

Best Regards.
by Roke
Mon Nov 22, 2010 6:12 am
Forum: Addons for Cacti
Topic: how to calculate 95 percentile for bandwidth
Replies: 3
Views: 5336

Re: how to calculate 95 percentile for bandwidth

Hi,

I read that for calculate the 95% percentile you have to sort in descending mode the data source, then take the 95% of the samples whitout the bigger samples.

Then take the biggest sample and you get the 95%, someone can confirm this formula??
by Roke
Tue Nov 09, 2010 6:03 am
Forum: Addons for Cacti
Topic: how to calculate 95 percentile for bandwidth
Replies: 3
Views: 5336

how to calculate 95 percentile for bandwidth

Im trying to calculate the 95 percentile of the bandwidth, the same that this template "Interface - Traffic (bits/sec, 95th Percentile)" I fetch the rrd of the graph and i have all values on a array like this: For incoming traffic: Array ( [0] => 506592.951 [1] => 457935.219 [2] => 401245....
by Roke
Wed Oct 13, 2010 7:09 pm
Forum: Addons for Cacti
Topic: New Addon for ISP billing
Replies: 8
Views: 7923

Re: New Addon for ISP billing

I have made a simple web to have all documents and all information about the plugin. Please visit the website and post in the forum the impression and all bug you find.

The CClient is avaible on http://www.rokeblog.com
by Roke
Fri Oct 08, 2010 7:42 am
Forum: Plugin General
Topic: Reportit - how to create a total in/out report
Replies: 1
Views: 1232

Re: Reportit - how to create a total in/out report

Maybe the plugin i make and i will post in a few days can help you. See the addons section of the forum.

Best regards.
by Roke
Thu Oct 07, 2010 7:59 am
Forum: Addons for Cacti
Topic: New Addon for ISP billing
Replies: 8
Views: 7923

Re: New Addon for ISP billing

Hi, I have to announce shortly a new version of the program CClient that fix several bugs and is translate to spanish and english. In a few days I will post the download links as well as a document of installation and use of the plugin. While finishing the last changes I leave a list of functions th...
by Roke
Tue Sep 28, 2010 3:04 am
Forum: Addons for Cacti
Topic: New Addon for ISP billing
Replies: 8
Views: 7923

Re: New Addon for ISP billing

CClient is avaible on http://www.rokeblog.com
by Roke
Thu Jul 15, 2010 4:53 am
Forum: Addons for Cacti
Topic: New Addon for ISP billing
Replies: 8
Views: 7923

New Addon for ISP billing

26 NOVEMBER 2010 ---------------------------------------------------------- New release of cclient on http://www.rokeblog.com Now we use the "nth_percentile" and "bandwidth_summation" functions of cacti, the code is small and more easy to understand. Now you can bill for 95th per...
by Roke
Wed Jul 07, 2010 9:59 am
Forum: Help: Linux/Unix Specific
Topic: Problem with popen and rrdtool
Replies: 3
Views: 1017

Now im using the function of cacti called bandwidth_summation bandwidth_summation($local_data_id, $start_time, $end_time, $rra_steps, $ds_steps) When i called for a period of 1 day with rra_steps =1 ds_steps=300 works great but when i put a bigger period, for example 7 days the results are wrong. TH...
by Roke
Wed Jul 07, 2010 4:27 am
Forum: Help: Linux/Unix Specific
Topic: Problem with popen and rrdtool
Replies: 3
Views: 1017

Version 0.8.7g

I want to get the total bandwith in a period of time.
by Roke
Tue Jul 06, 2010 5:06 am
Forum: Help: Linux/Unix Specific
Topic: Problem with popen and rrdtool
Replies: 3
Views: 1017

Problem with popen and rrdtool

Hi, Im new on php but im having some problems with the popen function, i have this code: if($fp = popen("/usr/bin/rrdtool fetch $_name AVERAGE",'r')){ trim(fgets($fp, 4096)); print $line; while(!feof($fp)){ print $line; $line = trim(fgets($fp, 4096)); } }else print "ERROR"; I get...
by Roke
Mon Jul 05, 2010 2:45 am
Forum: Help: General
Topic: Cacti Database schema
Replies: 5
Views: 2017

Yes, i know this plugins but i want it to show when the user are viewing the graphs and i want to show the data with the date that the user enter in ther form.
by Roke
Wed Jun 30, 2010 7:27 am
Forum: Help: General
Topic: Cacti Database schema
Replies: 5
Views: 2017

I find the way to know all rrd files of the user if you know the graphic ID, this is SQL sentence: "SELECT DISTINCT graph_templates_graph.title_cache AS graph_title, data_template_data.data_source_path AS rrd_path, user_auth.id AS user_id, graph_templates_graph.local_graph_id AS local_graph_id ...