I use Big Brother from Quest Software to monitor servers at my workplace.
In the past, I would open an Internet Explorer/Firefox browser window to view the status of my servers as reported by Big Brother. An open web browser consumes at least 30MB of memory and goes up to 80MB or more after some time.
Recently, I decided to use AutoIT to script a tool for this purpose. It replaces the need to keep a browser window open, and consumes just over 2MB of memory. What this tool does is to check and report back the status of your Big Brother monitor, as shown in a screen shot below:
The script goes like this:
My next project would be a script to check the status of our corporate website and notify me via email or display a tray alert like the above should the website be unresponsive. Stay tuned :)
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.2.2.0
Author: Thomas Tan
Script Function:
Template AutoIt script.
#ce ----------------------------------------------------------------------------
; Script Start - Add your code below here
;this script will poll big brother pc at your BB host IP/bb and return the status
;use this instead of opening Firefox which can consume up to 60MB or more memory
;checks Big Brother status every 60 seconds
#include <INet.au3>
AutoItSetOption ( "TrayMenuMode",1) ;turns off tray menu options
while 1
$read = _INetGetSource('your BB host IP/bb')
if $read="" Then
TrayTip("Big Brother Status", "Big Brother site not contactable", 15, 1)
sleep(15000)
Else
sleep(10000)
;ConsoleWrite($read)
$t1 = StringInStr($read, "<TITLE>")
$t2 = StringInStr($read, "</TITLE>")
$status = StringMid($read, $t1+7, $t2-($t1+7))
TrayTip("Big Brother Status", $status, 15, 1)
sleep(15000)
EndIf
WEnd
Thomas
16 comments:
Nice Post...Thanks for this awesome information 8 Ball Pool Mod APK
Glad to be here, you guys have such a great thought thanks for sharing this impressive post.
Good posts, here I offer free software https://idd-files.blogspot.com/
Great information. We are very impressed to see your blog. A 100% Free Online Dating Site For Singles Around The World For Chat Online. It's A Top Free Dating Site Among Lots Of Dating Sites & Free Dating Sites.best free dating sites
Excellent article I really enjoyed reading this.
1970's Classic Rock Music
Free Classified Ads
Political Prisoner
Geometry Dash Apk
Drastic DS Emulator Apk
Thanks for the article, this has helped me a lot. Please continue posting wonderful information.
EMAIL MARKETING CAMPAIGN
This is really helpful tips. I got fantastic way to download videos thevideoder. Thank you so much.
It’s such an amazing article. It’s great to know how active you’re in the blogging community and providing such amazing tips.This is exactly the info I was looking for! Thank you so much for sharing
AVG PC Tuneup Crack
Avast Premier 2019 Crack
IDM 6.31 Crack
Great information. We are very impressed to see your blog. if you want find crack software sites then visit procracksoftware.com.
It’s actually a nice and useful piece of info. I am glad that you shared this useful info with us. Please keep us up to date like this. Thanks for sharing great information with us.
ALSO, VISIT HERE
Great Article, I really enjoyed to read this article. Keep sharing more.
thanks for your topic
اضف اعلانك مجانا وبدون تسجيل
pokerblibli adalah salah satu poker online yang paling diminati saat ini, selain banyak bonus yang bisa di dapat. ayo tunggu apalagi, bergabunglah dengan poker online blibli
Agen Sbobet h3ncash Situs judi yang mempunyai banyak pemain dan situs judi online terbesar diindonesia. dengan pelayanan dan keramahan agen yang berkualitas.
Thanks...
Agen Sbobet
Sbobet
Sbobet Mobile
Thank you....
Judi Online
Poker Online
Casino Online
very helpful..
Judi Bola Online
Bola Online
Agen Casino Online
Post a Comment