Closed soar closed 9 years ago
I have run script just now, when I see available servers in web-interface:
But there are not any announcements in console or on my email:
# python crawler.py 2015-04-18 12:03:22,697 SMTP server check passed 2015-04-18 12:03:22,697 Notification system check passed 2015-04-18 12:03:22,698 Starting IO loop
My config.json:
config.json
{ "servers": ["KS-2", "KS-2 SSD", "KS-3"], "zones": ["rbx", "sbg"], "notifier": "email", "from_email": "<gmail-account>", "from_pwd": "<password>", "from_smtp_host": "smtp.gmail.com", "to_email": "<my-email>", "crawler_interval": 20 }
Here is content of https://ws.ovh.com/dedicated/r2/ws.dispatcher/getAvailability2 at this time:
https://ws.ovh.com/dedicated/r2/ws.dispatcher/getAvailability2
http://pastebin.com/rH9mAk9A
Oh, sorry.. I have updated my config file to:
"servers": ["KS-2a", "KS-2b", "KS-2c"]
... and script works now. You should write about this to README, I think.
Right, good idea
I have run script just now, when I see available servers in web-interface:
But there are not any announcements in console or on my email:
My
config.json
:Here is content of
https://ws.ovh.com/dedicated/r2/ws.dispatcher/getAvailability2
at this time:http://pastebin.com/rH9mAk9A