Negatives

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

Moderators: Developers, Moderators

Post Reply
cgruber
Posts: 4
Joined: Sun Aug 22, 2004 7:55 pm

Negatives

Post by cgruber »

Ok everything is working fine with my graphs, but here's my question. I'm not really fond of how RRDTOOL graphs negatives downwards, I'd like it to graph the same as a positive, but the data i'm graphing may or may not be positive.
melchandra
Cacti User
Posts: 311
Joined: Tue Jun 29, 2004 12:52 pm
Location: Indiana

Post by melchandra »

so you're looking to graph it in sort of an ABS() function? You should be able to write a CDEF function to do that - I'm not quite sure how... maybe by using the < or > operators to compare (value) and (value,-1,*)?
Dave
cgruber
Posts: 4
Joined: Sun Aug 22, 2004 7:55 pm

Post by cgruber »

Not exactly. A little background might be helpful. I'm a network engineer for a cable company and I've setup a cable modem monitoring template that graphs the RF power levels as well as other things. The problem I'm having is that the Forward power level can be around -30 to +20 dB, the value is important so I don't want to make it the absolute value. I'd like to keep the correct value and just flip the axis so instead of graphing downward it graphs upwards for both and just shows the value as + or - on the y axis.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests