AWS Thinkbox Discussion Forums

temp sensor live feed?

Hi,

I’ve just recently got an APC UPS temp sensor up and running, and being read by Deadline for thermal shutdown, a very clever feature. But I wondered how simple it would be to have a small “gizmo” in the monitor that could give you the temp feed as often as pulse takes a reading? It would be very helpful to keep an eye on it!!!

Mark

Hey Mark,

I wonder if we should expose the ability to query the temperature sensors to our scripting API. That way, it would be possible write a small scripted UI that would show the current temperature. If we went this route, we could ship it as a general script with Deadline.

Thoughts?

Cheers,
Ryan

Sounds good to me. I’d love to have a small panel in the monitor UI with the sensors listed and the temp shown.

Hi Ryan,

Do you think this might be added at some point in this beta cycle? I really would like it!

And just another idea would be amazing, if it could also be read and viewed using the ios app!!??

Mark

When beta 5 is released, you’ll find a Check Temperature Sensors script under Scripts -> Miscellaneous in the Monitor. You can use this UI to query the temperature sensors and display their values. You could use this as a starting point if you want expand on its functionality.

Cheers,
Ryan

Ideal. Unfortunately I’m not a very good coder, but I’ll try.

So in beta 5 I will be able to show a live feed of the temp in the monitor with that script?

It’s not a live feed (it doesn’t auto-update), but you can simply click a button to poll the current temperatures. It will also show if the temperature has increased or decreased since the last poll.

Cheers,
Ryan

Ok, sounds good. I’m guessing that a “live” feed, only in that it updates as and when Pulse does is not impossible?

In theory, you could create an event plugin that triggers when pulse does housecleaning to poll this information and push the data to a system like Zabbix to graph the data:
zabbix.com/

Actually, a system like Zabbix can probably just pull this information itself directly from the temperature sensors:
zabbix.com/documentation/2. … types/snmp

Cheers,
Ryan

I have no idea what that is, but I’ll try to work it out from your links, many thanks.

Hi Ryan,

Just getting the RC1, does this have the temp monitor script added, I couldn’t see from the change logs?

EDIT - found it! Download is slow today but cant wait to see it in action.

Thanks,
Mark

Nice, found it, and works well. Now if only it could auto refresh every minute!!!? And whether it could be docked into the monitor layout?

Hey Mark,

I’ve attached an updated script that automatically updates. Just unzip it to \your\repository\scripts\General to test it out.

Currently, it is not possible to dock these scripted dialogs into the Monitor, but we hope to support this type of functionality in the future.

Cheers,
Ryan
CheckTemperatureSensors.zip (1.54 KB)

Amazing, thats exactly what I’m after. I’m guessing its in seconds?

Good job, very helpful for me, and im sure others.

Yup, it’s in seconds.

Cheers,
Ryan

Having lived with the new temp readout script for a day now, I am very grateful for it, as we’re still fine tuning our temp shutdown levels!

One thing, maybe two things, that I do think could be added to make it a complete feature would be to have it auto start with the monitor, and expanding on that, have it docked in the monitor layout, and updating from the monitor start.

Other then that, very happy, and looks extra geeky!

Hi Ryan,

I’m running RC4 (just up from RC2 yesterday) and I don’t understand the changes made in RC3 for the background update? I cant see a difference, could you enlighten?

Also, more importantly, is there a reason not to, and can this be done - have Deadline read the exact temp from the sensor. Our UPS sensor reads in .5 deg steps, but Deadline seems to round up from .5, so 45.5 is read as 46? This .5 temp would actually help us!! I know I’m a pain!

Any news on having the readout docked into the monitor?

Thanks,
Mark

Hey Mark,

I’m not sure I understand what you’re referring to. There isn’t anything in the RC3 release notes about background updating.

We currently round to the nearest integer because that’s what the system was originally designed to work with (temperatures and temperature settings in Deadline all all integer-based). Is this a functional issue for you or just a display issue?

While it’s something we would like to support in the future, it’s not currently on a roadmap, and we can’t really give an ETA on when it will make it onto a roadmap at this time.

Cheers,
Ryan

Hi Ryan, sorry I meant RC2 -

Monitor Improvements

  • Resizing the Key/Value dialog for the Environment and Extra Info settings in the job properties now resizes the key and value fields.
  • The CheckTemperatureSensors.py script now updates automatically using a background thread.

I didn’t understand what effect this has?

Its a display and functional issue I guess. Its not a biggy, I’ll adjust the thermal shutdown a deg higher.

Maybe instead of docking the readout into the UI, maybe can it be made to be always on top?

Thanks,
Mark

Privacy | Site terms | Cookie preferences