SimpleSi Posted December 14, 2015 Posted December 14, 2015 If you just want a simple check to see if a machine seems to be working and connected to T'internet - can I recommed using dweet.io I just run a simple python prog (other scripiting languages are available) that pushes out a datetime update https://dweet.io/follow/cycystgcl2ksrv01 import urllib import urllib2 import time url = 'https://dweet.io/dweet/for/cycystgcl2ksrv01' while True: data = urllib.urlencode({'Heartbeat' : time.strftime("%Y%m%d%H%M:")}) try: content = urllib2.urlopen(url=url, data=data).read() print content except: print "Try fail" pass time.sleep(600) It means on a monday morning, I can just do a quick check to see if it seems to be running - if not, then I can go to that school first to see what's up But dweet.io just makes it easy to publish anything - I use it to (for no good reason) - show state of my kitchen cheerlights https://dweet.io/follow/cycy42 Si
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now