JuMonitor/jumonitor.conf.orig
2019-11-01 12:32:43 +01:00

51 lines
1.5 KiB
Plaintext

#This is a sample configuration file for JuMonitor.py, the simple monitoring script.
#Please keep this one as a backup and use a copy of it.
#in order to be loaded by the program, the configuration file has to be named jumonitor.conf
#The list of our clients.
#Stored as : name = hostname or IP
;Example: google = 8.8.8.8
;
[Clients]
cloudflare = 1.1.1.1
#log_send_interval = Interval in minutes
;We will send the logfile by mail every X minutes. Set it to 0 to avoid sending the logfile altogether.
#send_alerts : True or False.
;Dictates if we send an alert when a client dies or not.
;
[Alerts]
log_send_interval = 0
send_alerts = False
#This section can be left completely empty (with no key = value int!) but ONLY if you do not plan on sending emails.
#server_address : hostname
;hostname of the SMTP Server used to send mails. Only tested with Google ! We use TLS.
#server_port : port number
;port used to talk to the SMTP server
#server_username : an email address
;the email address that everything will be sent from
#server_password : a password
;used to connect to the server
#server_recipient : an email address
;the address everything will be sent to
;
[Mailinfo]
server_address = smtp.gmail.com
server_port = 587
server_username = mymailaddress@gmail.com
server_password = password
server_recipient = mymailaddress@gmail.com
#interval : an interval in seconds
;how often do we ping the clients
#interval_dead_clients : an interval in minutes
;how often do we retry pinging dead clients
;
[Intervals]
interval = 5
interval_dead_clients = 5