Temperature Sensors, scale between two files?

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
andyknight
Posts: 7
Joined: Thu Jun 02, 2011 5:30 am

Temperature Sensors, scale between two files?

Post by andyknight »

Hi,

Is this possible, any help appreciated..........

I currently use weathermaps to monitor temperatures sensors in our data centre.

Below is an example of just two of the sensors that I monitor, each node displays a temperature reading in a box and is coloured dependant on the scale, if for example the first box is 25 and is green and the second box is 35 and is red.


NODE R1COLD0
LABEL {node:this:bandwidth_in:%0.1f}
LABELOUTLINECOLOR none
LABELFONT 9
ICON 44 27 box
TARGET gauge:/perf/Devices/IPAddress/LPD-PILLAR1-R1COLD0_LPD-PILLAR1-R1COLD0.rrd:ds0:-
POSITION 248 279

NODE R1COLD1
LABEL {node:this:bandwidth_in:%0.1f}
LABELOUTLINECOLOR none
LABELFONT 9
ICON 44 27 box
TARGET gauge:/perf/Devices/IPAddress/LPD-PILLAR1-R1COLD1_LPD-PILLAR1-R1COLD1.rrd:ds0:-
POSITION 300 279


What I would like to do is instead of having two individual boxes would it be possible to use the two input files and scale the colour from green to red?

I have attached an word doc to try and show what I am trying to achieve.

Thanks

Andy
Attachments
Temperature Sensor Example.doc
Example file.
(27.5 KiB) Downloaded 249 times
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Temperature Sensors, scale between two files?

Post by Howie »

I don't really follow... how would that gradient change?

This is the minimum and maximum value for the same sensor?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
andyknight
Posts: 7
Joined: Thu Jun 02, 2011 5:30 am

Re: Temperature Sensors, scale between two files?

Post by andyknight »

Hi Howie,

Im not really sure how to explain this, it may be that I need to go down the 2d CFD route.

But i'll try...

If you had node one input and this read 25 degrees C, and then you had node two input and this read 35 degrees C, then linked them, then the area between them you would assume would a have a steady rise in temperature.

The rise from one to another is what I am trying to scale.


Thanks Andy
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Temperature Sensors, scale between two files?

Post by Howie »

So you're looking to make a heatmap/plasma kind of thing?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
andyknight
Posts: 7
Joined: Thu Jun 02, 2011 5:30 am

Re: Temperature Sensors, scale between two files?

Post by andyknight »

In a basic form yes.

I currently have a heatmap in place which displays all the temperatures, but i want to take it one step further by filling in the gaps between sensors so the hot and cold spots are more obvious, hence the scaling from one sensor to another.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Temperature Sensors, scale between two files?

Post by Howie »

OK. Weathermap won't help you, but I might :-) I've been thinking about doing this for my temperature maps for a while. I have very little spare time at the moment though, unfortunately :-(
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
andyknight
Posts: 7
Joined: Thu Jun 02, 2011 5:30 am

Re: Temperature Sensors, scale between two files?

Post by andyknight »

I know the feeling, I blame weathermaps for giving me too many good ideas; :D Network Maps, CCTV Maps, Heat Maps. Need to start work on a BMS Map soon.

Let me know if you have any joy with the Heatmap, I’ll also give it some thought. We do have a guy onsite who has produced CFD examples, I don’t really want to get that deep but he may be able to offer up some suggestions.

Cheers

Andy
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Temperature Sensors, scale between two files?

Post by Howie »

andyknight wrote:I know the feeling, I blame weathermaps for giving me too many good ideas; :D Network Maps, CCTV Maps, Heat Maps. Need to start work on a BMS Map soon.
Ooooh, CCTV maps sounds interesting... I think our DVR might let me grab images.

I already do some BMS stuff - the state for all the air handlers and various dry contact alarms, at least.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests