Search found 15 matches

by cwlab-admin
Mon Jan 05, 2004 12:03 pm
Forum: Feature Requests
Topic: 95th Percentile Based on Greater of In/Out Bound traffic.
Replies: 9
Views: 5309

Well, that does not help much either. I suspect I'm going very wrong somewhere. What I did was the following: 1. Import the Graph template with the "Import Template" menu item. 2. Edit the Graph template and look at the items: - 10 and 11: Data Source: none - 12 and 13: Data Source: traff...
by cwlab-admin
Mon Jan 05, 2004 11:21 am
Forum: Feature Requests
Topic: 95th Percentile Based on Greater of In/Out Bound traffic.
Replies: 9
Views: 5309

<cacti> <hash_0000000b1c19d0717ced97f5462a579b579728> <name>Interface - Traffic (bits/sec, 95th Percentile Breakdown)</name> <graph> <t_title>on</t_title> <title>|host_description| - Traffic</title> <t_image_format_id></t_image_format_id> <image_format_id>1</image_format_id> <t_height></t_height> <h...
by cwlab-admin
Mon Jan 05, 2004 11:08 am
Forum: Feature Requests
Topic: 95th Percentile Based on Greater of In/Out Bound traffic.
Replies: 9
Views: 5309

Hm - that doesn't work for me. I duly selected "traffic_in" and "traffic_out" as the data sources for my graph, and yet the hrule is set to 0 and rrdtool bails out. This is the source of the rrdtool output: ERROR: no rrdtool fetch output, you probably forgot to pass a valid data...
by cwlab-admin
Mon Dec 15, 2003 10:37 am
Forum: Scripts and Templates
Topic: Want to remove a spike from a graph?
Replies: 16
Views: 24320

when runnign i get error on grep -m1 ... i did man grep and cannot find the -m option what is -m supposed to do, or did you mean -n ? grep: invalid option -- m Usage: grep [OPTION]... PATTERN [FILE]... Try `grep --help' for more information. the '-m' is ther to limit grep into returning just 1 line...
by cwlab-admin
Tue Dec 09, 2003 6:02 pm
Forum: Scripts and Templates
Topic: Want to remove a spike from a graph?
Replies: 16
Views: 24320

fixed it finally. im guessing since that post is about 1 year old it was for a cacti version that most of us dont use anymore. #!/usr/bin/perl ############################################# # modified from wesphillips script at # http://www.raxnet.net/board/viewtopic.php?t=1663 # # traffic_in / traff...
by cwlab-admin
Mon Dec 08, 2003 7:02 pm
Forum: Scripts and Templates
Topic: Want to remove a spike from a graph?
Replies: 16
Views: 24320

check line 47. there is a hard coded path that should be changed to

Code: Select all

$rrdoutput = `$rrdtool info $rrdpath/$rrd\.rrd | grep "].max"`;
still havent figured out the rest though
by cwlab-admin
Mon Dec 08, 2003 2:45 am
Forum: Feature Requests
Topic: 95th Percentile Based on Greater of In/Out Bound traffic.
Replies: 9
Views: 5309

I solved this by creating a new graph template with just a few more items that are for the breakdown. here is a copy of the items in my new graph: Item # 9 COMMENT: <HR> COMMENT AVERAGE Item # 10 HRULE: |95:bits:0:total:2| HRULE AVERAGE FF0000 Item # 11 COMMENT: (|95:bits:6:total:2| mbit in+out)<HR>...
by cwlab-admin
Thu Aug 14, 2003 12:57 pm
Forum: Help: General
Topic: Using templates to graph data from different IPs
Replies: 6
Views: 1762

dont edit the graphs that were created from the host template. just use the host template to create the data soucres. make a new graph template. put all the areas, stacks, lines, & comments you want on this template. then goto 'graph management' and add a new graph. at the next screen choose the...
by cwlab-admin
Wed Aug 13, 2003 3:14 am
Forum: Help: General
Topic: Using templates to graph data from different IPs
Replies: 6
Views: 1762

you dont have to lose host templates just use it differently. setup a new host template to gather what you need. both sides of your link should fall under the same template right? then have 1 graph template that puts it together they way you want. the host templates work great for gathering data on ...
by cwlab-admin
Tue Aug 12, 2003 1:57 pm
Forum: Help: General
Topic: Using templates to graph data from different IPs
Replies: 6
Views: 1762

you can have a graph that belongs to no IP host. it gets hard to find them sometimes because you cant ever filter by it then.

then you should be able to select any data source, one from each of your ips, to be placed on this graph.

hope this helps
by cwlab-admin
Fri Aug 08, 2003 1:37 am
Forum: Help: Linux/Unix Specific
Topic: Broken Tree/Preview view - Individual graphs work
Replies: 2
Views: 1909

figured this out. from the cacti log file, i manually tried to create a graph from the commands in the log file. i recieved an error about 'no-legend' not being a valid command. by just executing 'rrdtool graph' i saw that no-legend wasnt a valid option. seems that my version of rrdtool was too old ...
by cwlab-admin
Fri Aug 01, 2003 5:56 pm
Forum: Help: General
Topic: 95th Percentile - how is it calculated?
Replies: 3
Views: 1567

there is a hardcoded value that affects the start time from the number of samples.

x = number of samples
y = time in seconds

144x=y

need to store 4200 5 min samples for one week and 18000 samples for 30 days
by cwlab-admin
Fri Aug 01, 2003 5:36 pm
Forum: Help: General
Topic: 95th Percentile - how is it calculated?
Replies: 3
Views: 1567

ive done this change and the rrd files were regenerated perfectly. but the monthly graph only shows the past seven days. if i read the source correctly it starts the time scale at -14.4 days and that doesnt even come across correctly http://traffic.cwlab.net/graph.php?local_graph_id=25&rra_id=3&...
by cwlab-admin
Sat Jul 26, 2003 2:47 am
Forum: Help: Linux/Unix Specific
Topic: Broken Tree/Preview view - Individual graphs work
Replies: 2
Views: 1909

more info that ive run across this produces an error page: cacti/graph_image.php?local_graph_id=57&rra_id=1&graph_start=-86400&graph_height=100&graph_width=300&graph_nolegend=true whereis this doesnt: cacti/graph_image.php?local_graph_id=57&rra_id=1&graph_start=-86400&...
by cwlab-admin
Sat Jul 26, 2003 1:17 am
Forum: Help: Linux/Unix Specific
Topic: Broken Tree/Preview view - Individual graphs work
Replies: 2
Views: 1909

Broken Tree/Preview view - Individual graphs work

I dont get any graphs in the tree/preview mode, just links to the individual graphs which work fine. not getting any errors when running cmd.php and no errors are logged either.

thoughts?