|
|
| Author |
Message |
hipsterdoofus
Joined: 09 Mar 2007 Posts: 20
|
Posted: Fri Sep 28, 2007 11:24 am Post subject: Dynamic Graph Colors? |
|
|
| Not sure this is even possible or how it would be done (in conjunction with threshhold?) But it would be cool if based on a low and high number, a graph color could change dynamically (for temperature) from blue to red for example. Like I said, not sure if thats even possible, but would be a quick visual way to tell if something was up. Am I wacko?
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12275 Location: Muenster, Germany
|
Posted: Mon Oct 01, 2007 12:07 pm Post subject: |
|
|
It's a nice idea. But plain rrdtool will not support it the easy way. It would at least requires some advanced CDEF magic. This is already used with some few templates
Reinhard
|
|
| Back to top |
|
 |
hipsterdoofus
Joined: 09 Mar 2007 Posts: 20
|
Posted: Wed Oct 03, 2007 11:38 am Post subject: |
|
|
| Would love some more information on how to do that - would be very cool to do that based on temperatures.
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12275 Location: Muenster, Germany
|
|
| Back to top |
|
 |
hipsterdoofus
Joined: 09 Mar 2007 Posts: 20
|
Posted: Wed Oct 03, 2007 3:30 pm Post subject: |
|
|
| lol yeah you are right - maybe not worth the trouble.
|
|
| Back to top |
|
 |
jt555
Joined: 17 Nov 2007 Posts: 12 Location: Atlanta, Ga
|
Posted: Mon Oct 13, 2008 3:21 pm Post subject: |
|
|
I did this using a script to collect humidity and temperature data. The graph template uses five data sources thevalue, highlimit, lowlimit, highvalue, and lowvalue.
The script will get the current humidity and thresholds from the device (AVTech RoomAlert) via SNMP. If the value does not breach either threshold then the highvalue and lowvalue are returned to Caci as U. If they do breach then their value gets returned.
The graph template plots the hi and low values after the current value so that so that it will be drawn on top of the current value.
| Description: |
|
| Filesize: |
31.02 KB |
| Viewed: |
411 Time(s) |

|
|
|
| Back to top |
|
 |
|