-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.py.sample
More file actions
15 lines (9 loc) · 776 Bytes
/
config.py.sample
File metadata and controls
15 lines (9 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
TOKEN = '' # bot token. Should be filled for any module.
CHAT_ID = # telegram chat id where you want to send logs. Should be filled for any module.
IP = '' # Host's real ip.
# if this IP corresponds to the current host IP checkvpn.py will send alerts to the chat that VPN is off
PORT = '' # SSH port to check the alive of the remote host with check_alive.py
HOSTNAME = '' # your hostname.
# Should be specified for each host where one of the script is deployed to understand from which machine you received an alert
REMOTE_HOSTNAME = '' # hostname which should be specified to remote checks. Required for check_alive.py script
DOCKER_KEYWORD = '' # used for docker_check.py script. Script checks is the specified value exists in the results of running docker ps command