Re: [rrd-users] NAN and 0 in aggregate graphs

This is a discussion on Re: [rrd-users] NAN and 0 in aggregate graphs within the RRD Users forums, part of the Networking and Network Related category; I actually just ended up doing something like ds1,UN,ds2,UN,+,2,EQ,NAN,total,IF Worked well Sent ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-31-2008
Adam Jacob Muller
 
Posts: n/a
Default Re: [rrd-users] NAN and 0 in aggregate graphs

I actually just ended up doing something like

ds1,UN,ds2,UN,+,2,EQ,NAN,total,IF

Worked well


Sent from my iPhone

On Mar 31, 2008, at 11:34 AM, Simon Hobson <linux@thehobsons.co.uk>
wrote:

> Alex van den Bogaerdt wrote:
>
>>> Hmm, looking at the doc pages it doesn't look like boolean operators
>>> (AND, OR) are provided,

>>
>> er...
>>
>> FALSE==0
>> TRUE==1 (in reality: TRUE==anything but 0)
>>
>> \
>> x y \ + *
>> ------------+--------------
>> FALSE FALSE | FALSE FALSE
>> FALSE TRUE | TRUE FALSE
>> TRUE FALSE | TRUE FALSE
>> TRUE TRUE | TRUE TRUE
>>
>> If you want: if (x and y) then B else C:
>>
>> then use CDEF: x,y,*,B,C,IF

>
>
> Doh, so obvious when it's pointed out !
>
> _______________________________________________
> rrd-users mailing list
> rrd-users@lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users


_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:18 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0