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    


95h Percentile.. Need help..

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
alexcf



Joined: 10 Jul 2003
Posts: 16

PostPosted: Sun Aug 17, 2003 8:08 am    Post subject: 95h Percentile.. Need help.. Reply with quote

Hi guys,

I'm still having problems.

Quote:
Figured it out. Make sure you add a Graph Item Input for the HRULE in Graph Templates, and then go to Graph Management and assign the Traffic In for the interface to the Graph Item Input in your graph.

For the HRULE in the Graph Template, I have:

Data Source: Traffic - In (traffic_in)
Graph Item Type: HRULE
Consolidation Function: Average
CDEF Function: None
Value: |95:bits:0:current|
GPRINT Type: Normal
Text Format: 95th Percentile: |95:bits:6:current| Mbit

Give it a try!

- Eric


OK, those are the steps I've used, if you want access to it to have a look, leave a message here, if you're on IRC etc, that could be helpful.

Thats what I've been using...

The errors im getting are..:

Code:

Warning: Invalid argument(s) passed to pow() in /var/www/html/cacti-0.8.2a/include/rrd_functions.php on line 303

Warning: Invalid argument(s) passed to pow() in /var/www/html/cacti-0.8.2a/include/rrd_functions.php on line 303

Warning: Invalid argument(s) passed to pow() in /var/www/html/cacti-0.8.2a/include/rrd_functions.php on line 303

Warning: Invalid argument(s) passed to pow() in /var/www/html/cacti-0.8.2a/include/rrd_functions.php on line 303

Warning: Invalid argument(s) passed to pow() in /var/www/html/cacti-0.8.2a/include/rrd_functions.php on line 303


Cacti is a brilliant program, which I try and request other people to use, at the moment, most people are looking for a 95th Percentile solution aswell, and I myself cannot get it working here.

If RaX or anyone can help it would be much appreciated. Or if anyone else with the problem gets the same thing, watch this space, someone may come up with the answer! If someone already has, I apologise in advance for missing it, and could someone leave details on a fix in the next post..

Regards,

Alex.
Back to top
alexcf



Joined: 10 Jul 2003
Posts: 16

PostPosted: Sun Aug 17, 2003 8:19 am    Post subject: Reply with quote

OK, i found the post in which someone explained the fix for newer versions of PHP...

Changing the line 303 to

$line = ($matches[1][$j] * (pow(10,(float)$matches[2][$j])));

Regards,


Alex.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group