Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- tg_key = "463000833:AAEG_************************yHVfmQ" # telegram bot api key
- zbx_tg_prefix = "zbxtg" # variable for separating text from script info
- zbx_tg_tmp_dir = "/var/tmp/" + zbx_tg_prefix # directory for saving caches, uids, cookies, etc.
- zbx_tg_signature = False
- zbx_tg_update_messages = True
- zbx_tg_matches = {
- "problem": "PROBLEM: ",
- "ok": "OK: "
- }
- zbx_server = "http://zabbix.domain.com/zabbix/" # zabbix server full url
- zbx_api_user = "telegram_user"
- zbx_api_pass = "password_here"
- zbx_api_verify = True # True - do not ignore self signed certificates, False - ignore
- proxy_to_zbx = None
- proxy_to_tg = None
- google_maps_api_key = None # get your key, see https://developers.google.com/maps/documentation/geocoding/intro
- emoji_map = {
- "OK": "✅",
- "Not classified": "❕",
- "Information": "ℹ️",
- "Warning": "⚠️",
- "Average": "❗",
- "High": "❌",
- "Disaster": "🔥"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement