-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.env.example
25 lines (22 loc) · 1.79 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#Set the address to your Sonar instance here, and your poller API key.
SONAR_URI=https://dev.sonar.software
API_KEY=changeme
#If your path to fping is not /usr/bin/fping, update the variable below with the full path
PATH_TO_FPING=/usr/bin/fping
####################################################################################
### DO NOT MODIFY LINES BELOW THIS POINT UNLESS YOU UNDERSTAND THE CONSEQUENCES! ###
####################################################################################
#The number of times to fork fping. Generally not productive to set too high, and may cause significant jitter/packet loss due to flooding of NIC.
ICMP_FORKS=10
#The number of simultaneous SNMP pollers to instantiate. This will consume additional RAM, CPU, and system resources such as file descriptors.
SNMP_FORKS=250
#The timeout in seconds to wait for SNMP results. This can be a decimal. The higher this is, the more polling will be delayed with a lot of down devices.
SNMP_TIMEOUT=1
#The amount of times to retry an SNMP query. Decreasing this will result in false down states if the device exceeds the SNMP_TIMEOUT value temporarily. Increasing it will increase the amount of time an SNMP polling cycle takes.
SNMP_RETRIES=0
#The timeout in seconds to wait for ICMP results. This can be a decimal. The higher this is, the more polling will be delayed with a lot of down devices.
ICMP_TIMEOUT=2
#How frequently, in minutes, you want to scan equipment associated with network sites to determine which devices are connected to each other. Pulling all the necessary information here is fairly intensive, so this should not be too low on large networks. The minimum value is 5.
DEVICE_MAPPING_FREQUENCY=5
#Set this to true to enable additional debug logging to /var/log/sonar_poller.log. Not recommended for production.
DEBUG=false