Hallo,
I have configured standard-Interface-Statistics:
2 Testing eth0 eth0 ethernetCsmacd 100000000 xx:xx:xx:xx:xx:xx 192.168.xx.xx
[code]
---------------------------------
- result:
Hour
In Cur: 1.28k Avg: 44.49k Max 1.8M
Out Cur: 154 Avg: 187k Max 13.88M
Daily (5 Minute Average)
In Cur: 134 Avg: 37k Max 494.99k
Out Cur: 1.43 Avg: 120k Max 3.7M
---------------------------------
[/code]
- Max on Hour-Graph show 13.88Mbit/s
- Max on Daily-Graph show 3Mbit/s only
it seems that the average value is computed.
Howto config graph so that Daily-Graph print real Max?
Heiko
Howto print Interface-Statistics Max
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Howto print Interface-Statistics Max
By using the MAX consolidation function instead of AVERAGE. Change the graph template item to get what you want. This assumes, that the RRAs include the MAX cf
R.
R.
Re: Howto print Interface-Statistics Max
my Daily graph-properties:
http://cactihost/cacti-0.8.7-pgsql/grap ... view_type=
/opt/csw/bin/rrdtool graph - \
--imgformat=PNG \
--start=-604800 \
--end=-1800 \
...
DEF:a="/var/apache2/htdocs/cacti-0.8.7-pgsql/rra/mbserver_traffic_in_232.rrd":traffic_in:AVERAGE \
DEF:b="/var/apache2/htdocs/cacti-0.8.7-pgsql/rra/mbserver_traffic_in_232.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"In" \
GPRINT:cdefa:LAST:" Cur\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Avg\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Max\:%8.2lf %s\n" \
LINE1:cdefe#002A97:"Out" \
GPRINT:cdefe:LAST:"Cur\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Avg\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Max\:%8.2lf %s"
Or do you mean this line?
< DEF:a="/dir/file.rrd":traffic_in:AVERAGE \
> DEF:a="/dir/file.rrd":traffic_in:MAX \
If yes: Howto change template with (web)gui? Howto change all (100) existed graphs? (ex. Script)
regards Heiko
http://cactihost/cacti-0.8.7-pgsql/grap ... view_type=
/opt/csw/bin/rrdtool graph - \
--imgformat=PNG \
--start=-604800 \
--end=-1800 \
...
DEF:a="/var/apache2/htdocs/cacti-0.8.7-pgsql/rra/mbserver_traffic_in_232.rrd":traffic_in:AVERAGE \
DEF:b="/var/apache2/htdocs/cacti-0.8.7-pgsql/rra/mbserver_traffic_in_232.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"In" \
GPRINT:cdefa:LAST:" Cur\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Avg\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Max\:%8.2lf %s\n" \
LINE1:cdefe#002A97:"Out" \
GPRINT:cdefe:LAST:"Cur\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Avg\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Max\:%8.2lf %s"
Or do you mean this line?
< DEF:a="/dir/file.rrd":traffic_in:AVERAGE \
> DEF:a="/dir/file.rrd":traffic_in:MAX \
If yes: Howto change template with (web)gui? Howto change all (100) existed graphs? (ex. Script)
regards Heiko
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Howto print Interface-Statistics Max
gandalf wrote:Change the graph template item to get what you want (aka: Graph Template; select the requested template, then select the graph items that are associated with a color). This assumes, that the RRAs include the MAX cf
R.
Who is online
Users browsing this forum: No registered users and 2 guests