-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
Fabian Heinz edited this page Oct 19, 2021
·
3 revisions
First of all, rename config.js.sample
to config.js
.
Then edit the file according to this descriptions:
exports.plesk_host = {
hostname: 'my.host.com', // Hostname/ip of plesk server
login_data: 'base64-encoded-user-and-pw' // Base64-encoded user and password in style user:pass, e. g. for root:abc123 => cm9vdDphYmMxMjM=
};
exports.period = 3; // Time in minutes between checks
exports.debug = false; // Sets debug output
exports.whitelisted_urls = [ // List of domains in the plesk server which shouldn't be checked
{ domain: 'site1.com', status: 500 }, // Allow whitelisting with specific status code
{ domain: 'site2.com' }
];
exports.sender_mail = {
host: 'host.my-mailyerver.com', // Hostname/ip of the senders smtp server
user: 'smtp-user', // Username of the senders email account
pass: 'password' // Password of the senders email account
};
exports.receiver_mail = {
address: '[email protected]', // Notification receivers email address
subject: '!!! site offline alert for domains !!!', // Subject of notification emails
message_begin: 'The following websites are offline:' // First line of notification emails
};