[rrd-users] reuse of CDEF var for use in loops

Shabnam Shahreza shabnam.shahreza at alpha-group.ca
Wed Nov 16 17:20:24 CET 2011


I use it in my script and inside the loop each time I append the new value as new CDEF [from different sources] to a $CMD variable and outside of the loop I run the full command....

-- Sbnm


-----Original Message-----
From: rrd-users-bounces+shabnam.shahreza=alpha-group.ca at lists.oetiker.ch [mailto:rrd-users-bounces+shabnam.shahreza=alpha-group.ca at lists.oetiker.ch] On Behalf Of josef
Sent: Wednesday, November 16, 2011 11:15 AM
To: rrd-users at lists.oetiker.ch
Subject: [rrd-users] reuse of CDEF var for use in loops

Hi,
is there a possibility of reusing CDEF Var in loop.
I would like to calculate summaries of  DS from multiple RRD's in PHP.
Should below CDEF line be valid ?

for ( $x ...
   CDEF:sum=sum,ds$x,+

Thanks
Josef



--
View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/reuse-of-CDEF-var-for-use-in-loops-tp7000894p7000894.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.

_______________________________________________
rrd-users mailing list
rrd-users at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Before printing, think about the environment

The information in this email is confidential and may be subject to solicitor-client privilege and laws relating to intellectual property. The information contained in this e-mail is intended solely for the addressee(s) and access to this email by anyone else is unauthorized. If you are not an intended recipient, please notify the sender of this email immediately and delete this email from your system without making a copy. You should not copy, use or disseminate the information contained in the email. Any views expressed in this email are those of the individual sender, and, except where the sender specifically indicates, do not reflect the views of Alpha Trading Systems Limited Partnership, its subsidiaries, affiliates, partners, directors, officers or employees.



More information about the rrd-users mailing list