-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
16 lines (16 loc) · 1.51 KB
/
Copy pathconfig.js
File metadata and controls
16 lines (16 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
module.exports = {
"ips": ["8.8.8.8", "104.244.42.193", "192.168.254.254"], // ipv4 addresses to ping
"timeoutCountForOutage": 3, // number of consecutive timeouts before outage is logged
"nonOutageIps": ["192.168.254.254"], // ipv4 addresses that are in the previous list that dont need to time out in order for an outage to be declared
"outageFolder": "./outages", // directory to store outage logs in. leave blank for no outage logs
"pingDelay": 1000, // in milliseconds
"pingTimeout": 2000, // in milliseconds
"pingHistoryFolder": "./pingHistory", // the directory to store ping history in. leave blank for no ping history
"maxPingChunkSize": 5, // number of pings to store in memory before exporting to ping history file
"alignLogs": false, // keeps logs aligned at all times so they don't shift left and right
"graphMode": true, // Show a graph of pings instead of constant logging
"graphModeMaxPings": 125, // number of pings to show in graph. if this is greater than the width of the terminal, it will be set to the width of the terminal
"speedTestSize": 500000, // size of the file, in bytes, to download for speed tests. change to 0 to disable speed tests. higher size means more accurate tests, but also more bandwidth consumption
"speedTestFrequency": 30, // how many pings to wait before running another speed test. set to 1 to test on every ping
"speedTestUnit": "MBps", // unit to display speed test results in. options are "GBps", "gbps", "MBps", "mbps", "KBps", "kbps"
}