Advertisement
Guest User

Untitled

a guest
Apr 11th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. -*- coding: utf-8 -*-
  2.  
  3. tg_key = "502972779:AAFQj_d7szvfnaFCLNMxevrYuAUaMh8TdTY" # 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://10.70.0.155/" # zabbix server full url
  16. zbx_api_user = "api"
  17. zbx_api_pass = "apiapi"
  18. zbx_api_verify = True # True - do not ignore self signed certificates, False - ignore
  19.  
  20. zbx_basic_auth = False
  21. zbx_basic_auth_user = "zabbix"
  22. zbx_basic_auth_pass = "zabbix"
  23.  
  24. proxy_to_zbx = None
  25. proxy_to_tg = None
  26.  
  27. #proxy_to_zbx = "proxy.local:3128"
  28. #proxy_to_tg = "proxy.local:3128"
  29.  
  30. google_maps_api_key = None # get your key, see https://developers.google.com/maps/documentation/geocoding/intro
  31.  
  32. zbx_tg_daemon_enabled = False
  33. zbx_tg_daemon_wl_ids = [6931850, ]
  34. zbx_tg_daemon_wl_u = ["ableev", ]
  35.  
  36. zbx_db_host = "localhost"
  37. zbx_db_database = "zabbix"
  38. zbx_db_user = "zabbix"
  39. zbx_db_password = "zabbix"
  40.  
  41.  
  42. emoji_map = {
  43. "OK": " ",
  44. "Not classified": " ",
  45. "Information": "ℹ",
  46. "Warning": "⚠",
  47. "Average": " ",
  48. "High": " ",
  49. "Disaster": " "
  50. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement