This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
statesProvinces = { | |
"AL": "Alabama", | |
"AK": "Alaska", | |
"AS": "American Samoa", | |
"AZ": "Arizona", | |
"AR": "Arkansas", | |
"BC": "British Columbia", | |
"CA": "California", | |
"CO": "Colorado", | |
"CT": "Connecticut", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c:\python27\python "C:\Program Files (x86)\PRTG Network Monitor\Notifications\EXE\pushoverNot.py" %* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import httplib, urllib, sys | |
apiKey = sys.argv[1] | |
userKey = sys.argv[2] | |
priority = sys.argv[3] | |
title = sys.argv[4] | |
msg = '' | |
for count, arg in enumerate(sys.argv): |
NewerOlder