alerta-contrib/integrations/urlmon/settings.py
skob 63dfadc071 urlmon: 2to3 + ssl checker (#221)
* fix

* comments

* forward plugin: [fix] ability to configure via env + refactor via @satterly comment

* forward: [fix] some bugs with forwarding

* urlmon: [impr] Ability to set differents endpoints for checkers

* urlmon: [impr] 2to3 + ssl expire check

Ability to run urlmon on py3 env.
Ability to check ssl expiration dates for monitored urls

* urlmon: [fix] typo

* urlmon: [fix] typo

* urlmon: [fix] remove urllib.__version__ from user-agent

* urlmon: [fix] typo error in connect

* urlmon: [fix] many fixes for ssl-checker

* urlmon: [fix] close old events
2018-10-08 23:43:38 +02:00

24 lines
606 B
Python

# ENDPOINT = "http://10.0.2.2:8080"
ENDPOINT = "http://localhost:8080"
API_KEY = None
checks = [
{
"resource": "www.google.com",
"url": "http://www.google.com?q=foo#q=foo",
"environment": "Production",
"service": ["Google", "Search"]
"api_endpoint": "http://localhost:8080",
"api_key": None,
},
{
"resource": "guardian-football",
"url": "https://www.guardian.co.uk/football",
"environment": "Production",
"service": ["theguardian.com", "Sport"],
"tags": ["football"],
"check_ssl": True
},
]