Script Help - UPS Temperature

I have 2.8.26 running on a PIII/512mb with an APC UPS1500 attached to the serial port.

I’m looking for a script that will email me the UPS temperature on a regular basis.

A script that will monitor the temperature and send an email when it rises above 35 degrees would be great, but I’ll take whatever I can get.

Any help would be greatly appreciated.

Thanks,
Bill

This is not what you want but a starting point:

/tool e-mail send to=“biil@yourdomain.com” from=“rt1@yourdomain.com” server=“196.33.14.74” subject=(“Mail test From " . [/system identity get name] . " " . [/system clock get time] . " " . [/system clock get date].”."[/system get voltage])

tool e-mail was added only in later versions. 2.8 and 2.9 does not have that feature.

upgrade its free