[rrd-users] Graphing integer data in Cacti/RRDTool
Nick Ellson
grimm at nickellson.com
Fri Jun 13 20:48:10 CEST 2008
For the graph I am looking at, yearly, I see a current of 24.31 milli
users and 2.96 users for Max:
the RRD was executed as:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-33053184 \
--end=-86400 \
--title="VPN4 - Remote Access Connections" \
--rigid \
--base=1000 \
--height=130 \
--width=600 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Connections" \
--slope-mode \
DEF:a="/var/www/cacti/rra/vpn4_asa_conn_1537.rrd":asa_conn:MAX \
DEF:b="/var/www/cacti/rra/vpn4_asa_conn_1537.rrd":asa_conn:AVERAGE \
AREA:a#008A77:"Connections" \
GPRINT:b:LAST:"Current\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s"
I will try removing the graph and re-adding it back.
--
Nick Ellson
CCIE# 20018
MCSE 2000, Security+, Network+
Network Hobbyist, VFR Private Pilot.
On Fri, 13 Jun 2008, Tobias Oetiker wrote:
> Hi Nick,
>
> Today Nick Ellson wrote:
>
>>
>>
>> Ok,
>>
>> So in Cacti I changed CDEF to MAX from LAST in my graph template for my ASA
>> VPN Connections, I believe that is where this is done.
>>
>> As I call up the history that only spans back 3 weeks, my daily shows a
>> current of 0 and a MAX of 1, and that looks accurate. The weekly shows current
>> 0 and a max of 2, and the graph looks failry squared off. The Monthly and
>> yearly still show interpolations, but I rememberd MRTG even didn't update
>> those until the end of the day, same kinda thing with RRD?
>
> I guess if you remove the graphs they will get updated ...
>
> cheers
> tobi
>
>
>>
>> Nick
>>
>>
>>
>
> --
> Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
> http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902
>
More information about the rrd-users
mailing list