Community discussions

MUM Europe 2020
 
Bill
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 70
Joined: Fri May 28, 2004 4:24 pm
Location: Nevada

Script Help - UPS Temperature

Sun May 30, 2010 3:40 am

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
 
Erastus
Member Candidate
Member Candidate
Posts: 133
Joined: Sun Jan 22, 2006 4:14 pm
Location: Cape Town

Re: Script Help - UPS Temperature

Sun May 30, 2010 9:06 am

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])
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6283
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Script Help - UPS Temperature

Mon May 31, 2010 11:52 am

tool e-mail was added only in later versions. 2.8 and 2.9 does not have that feature.
 
xezen
Long time Member
Long time Member
Posts: 628
Joined: Fri May 30, 2008 10:23 am
Location: South Africa

Re: Script Help - UPS Temperature

Mon May 31, 2010 12:25 pm

upgrade its free
If i dont No Ask someone That Does!

Who is online

Users browsing this forum: No registered users and 14 guests