Advertisement
mailon

Untitled

Apr 19th, 2018
377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2.  
  3. tg_key = "463000833:AAEG_************************yHVfmQ" # telegram bot api key
  4.  
  5. zbx_tg_prefix = "zbxtg" # variable for separating text from script info
  6. zbx_tg_tmp_dir = "/var/tmp/" + zbx_tg_prefix # directory for saving caches, uids, cookies, etc.
  7. zbx_tg_signature = False
  8.  
  9. zbx_tg_update_messages = True
  10. zbx_tg_matches = {
  11. "problem": "PROBLEM: ",
  12. "ok": "OK: "
  13. }
  14.  
  15. zbx_server = "http://zabbix.domain.com/zabbix/" # zabbix server full url
  16. zbx_api_user = "telegram_user"
  17. zbx_api_pass = "password_here"
  18. zbx_api_verify = True # True - do not ignore self signed certificates, False - ignore
  19.  
  20. proxy_to_zbx = None
  21. proxy_to_tg = None
  22.  
  23. google_maps_api_key = None # get your key, see https://developers.google.com/maps/documentation/geocoding/intro
  24.  
  25. emoji_map = {
  26. "OK": "✅",
  27. "Not classified": "❕",
  28. "Information": "ℹ️",
  29. "Warning": "⚠️",
  30. "Average": "❗",
  31. "High": "❌",
  32. "Disaster": "🔥"
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement