[rrd-users] adding DS values from multiple rrd files?
Simon Hobson
linux at thehobsons.co.uk
Tue Aug 3 15:39:38 CEST 2010
Joel Brooks wrote:
>right now, the graph (a stacked graph) shows a different band for
>each server and the legend displays the text "<server name> <X>
>messages in the queue".
>
>but how can i add up all the values so i can print "total <X>
>messages in the queue"?
If a, b, c, d, ... are the totals for each server, then :
total=a,b,+,c,+,d,+, ...
Then print total
--
Simon Hobson
Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.
More information about the rrd-users
mailing list