How to Create a new CDEF with operator like ()

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
menjia
Posts: 26
Joined: Sat Nov 19, 2005 12:41 am

How to Create a new CDEF with operator like ()

Post by menjia »

i have created a cdef=b,a,/ to get its value named CSR(Call Success Rate); it works for a single host.

today i want to make a new graph with 4 host data, so i need to create a new cedf to get the CSR of 4 host, it is like CSR=(a+b+c+d)/(e+f+h+g).
my problem is how to make the data in () operate first,the their result make / operate.

but i dont know how to create it. please help me. :D
Attachments
operator.JPG
operator.JPG (24.52 KiB) Viewed 2403 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

This is a question, not a how-to. Moving to General.

Read how CDEF's work: http://people.ee.ethz.ch/~oetiker/webto ... al.en.html
menjia
Posts: 26
Joined: Sat Nov 19, 2005 12:41 am

Post by menjia »

thanks

i write a cdef to get percent value,so multiply its result by 100

Code: Select all

cdef=100,a,b,c,d,+,+,+,*,f,g,h,i,+,+,+,/
could not get right value,so i beleive my newly created cdef must have error in it.

i am tring to correct it, can you share your idea!
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

menjia wrote:thanks

i write a cdef to get percent value,so multiply its result by 100

Code: Select all

cdef=100,a,b,c,d,+,+,+,*,f,g,h,i,+,+,+,/
could not get right value,so i beleive my newly created cdef must have error in it.

i am tring to correct it, can you share your idea!
What about

Code: Select all

cdef=a,b,c,d,+,+,+,f,g,h,i,+,+,+,/,100,*
Reinhard
menjia
Posts: 26
Joined: Sat Nov 19, 2005 12:41 am

Post by menjia »

thanks,that is works fine for me.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests