Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 938

General Discussion • Help with server monitor updating

$
0
0
Hi guys,

I've cobbled together this simple skin to monitor several hostnames and update their online/offline status as a green or red dot.
It works perfectly fine when I manually refresh the skin, but doesn't seem to want to automatically update. I was hoping to get it to refresh every second but it just sits statically until I manually refresh it.

Can someone please help me out with the automatic update?

Image

Code:

[Rainmeter]DynamicWindowSize=1Update=1Background=Background.pngBackgroundMode=3BackgroundMargins=0,34,0,14------------------------------------------------------[Style]FontFace=kroeger 05_55 capsFontSize=12FontColor=FFFFFFStringAlign=LeftStringStyle=BoldStringEffect=ShadowFontEffectColor=000000AntiAlias=0------------------------------------------------------[MeasureServer1]Measure=PluginPlugin=Plugins\PingPluginDestAddress=SYN1.localTimeout=10000IfBelowValue=1000IfBelowAction=[!SetOption MeterServer1Image ImageName Online.png][!UpdateMeter MeterServer1Image][!Redraw]IfAboveValue=1000IfAboveAction=[!SetOption MeterServer1Image ImageName Offline.png][!UpdateMeter MeterServer1Image][!Redraw]Substitute="30000":"Offline"UpdateRate=1[MeasureServer2]Measure=PluginPlugin=Plugins\PingPluginDestAddress=SYN2.localTimeout=10000IfBelowValue=1000IfBelowAction=[!SetOption MeterServer2Image ImageName Online.png][!UpdateMeter MeterServer2Image][!Redraw]IfAboveValue=1000IfAboveAction=[!SetOption MeterServer2Image ImageName Offline.png][!UpdateMeter MeterServer2Image][!Redraw]Substitute="30000":"Offline"UpdateRate=1[MeasureServer3]Measure=PluginPlugin=Plugins\PingPluginDestAddress=SYN3.localTimeout=10000IfBelowValue=1000IfBelowAction=[!SetOption MeterServer3Image ImageName Online.png][!UpdateMeter MeterServer3Image][!Redraw]IfAboveValue=1000IfAboveAction=[!SetOption MeterServer3Image ImageName Offline.png][!UpdateMeter MeterServer3Image][!Redraw]Substitute="30000":"Offline"UpdateRate=1[MeasureServer4]Measure=PluginPlugin=Plugins\PingPluginDestAddress=SYN4.localTimeout=10000IfBelowValue=1000IfBelowAction=[!SetOption MeterServer4Image ImageName Online.png][!UpdateMeter MeterServer4Image][!Redraw]IfAboveValue=1000IfAboveAction=[!SetOption MeterServer4Image ImageName Offline.png][!UpdateMeter MeterServer4Image][!Redraw]Substitute="30000":"Offline"UpdateRate=1[MeasureServer5]Measure=PluginPlugin=Plugins\PingPluginDestAddress=SYN5.localTimeout=10000IfBelowValue=1000IfBelowAction=[!SetOption MeterServer5Image ImageName Online.png][!UpdateMeter MeterServer5Image][!Redraw]IfAboveValue=1000IfAboveAction=[!SetOption MeterServer5Image ImageName Offline.png][!UpdateMeter MeterServer5Image][!Redraw]Substitute="30000":"Offline"UpdateRate=1[MeasureServer6]Measure=PluginPlugin=Plugins\PingPluginDestAddress=SYN6.localTimeout=10000IfBelowValue=1000IfBelowAction=[!SetOption MeterServer6Image ImageName Online.png][!UpdateMeter MeterServer6Image][!Redraw]IfAboveValue=1000IfAboveAction=[!SetOption MeterServer6Image ImageName Offline.png][!UpdateMeter MeterServer6Image][!Redraw]Substitute="30000":"Offline"UpdateRate=1------------------------------------------------------[meterTitle]Meter=STRINGMeterStyle=StyleX=55Y=8W=90H=18Text="Synology Satus"[MeterServer1]Meter=STRINGMeterStyle=StyleX=25Y=30MeasureName=MeasureServer1Text="SYN1"[MeterServer1Image]Meter=ImageW=10H=10X=13Y=37[MeterServer2]Meter=STRINGMeterStyle=StyleX=25Y=54MeasureName=MeasureServer2Text="SYN2"[MeterServer2Image]Meter=ImageW=10H=10X=13Y=61[MeterServer3]Meter=STRINGMeterStyle=StyleX=25Y=78MeasureName=MeasureServer3Text="SYN3"[MeterServer3Image]Meter=ImageW=10H=10X=13Y=83[MeterServer4]Meter=STRINGMeterStyle=StyleX=25Y=102MeasureName=MeasureServer4Text="SYN4"[MeterServer4Image]Meter=ImageW=10H=10X=13Y=109[MeterServer5]Meter=STRINGMeterStyle=StyleX=25Y=126MeasureName=MeasureServer5Text="SYN5"[MeterServer5Image]Meter=ImageW=10H=10X=13Y=133[MeterServer6]Meter=STRINGMeterStyle=StyleX=25Y=150MeasureName=MeasureServer6Text="SYN6"[MeterServer6Image]Meter=ImageW=10H=10X=13Y=157

Statistics: Posted by osullin — Today, 6:45 am — Replies 1 — Views 13



Viewing all articles
Browse latest Browse all 938

Trending Articles