-
Notifications
You must be signed in to change notification settings - Fork 0
/
agent.cfg
82 lines (72 loc) · 2.32 KB
/
agent.cfg
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# this configuration file is in TOML format
[general]
# set true to run in daemon mode, false to run once
daemon = false
[network]
proxy_url = ""
proxy_user = ""
proxy_password = ""
cert_folder = ""
cert_file = ""
ssl_check = true
# Connections timeout, in seconds
timeout = 180
[webinterface]
enable_web = true
# network IPs to listen to, "0.0.0.0" to listen on all
listen_ip = [ "0.0.0.0" ]
# listen port
port = 62354
[logging]
# Logger backend: stderr, file or syslog (stderr)
logger = "stderr"
# loggerlevel: info, warn, debug, error
logger_level = "info"
# log file in case logger is defined as "file"
log_file = "/var/log/fusioninventory.log"
# maximum log file size, in MB
maxsize = 20
# Syslog facility
logfacility = "LOG_USER"
[localinventory]
enabled = true
# set the time between 2 execution of localinventory, in seconds
contact_time = 3600
# can set many servers, can be HTTP/HTTPS links and folder (the name will be set itself).
# For example: [ "url1", "url2", "url3", "/tmp" ]
servers = ["http://127.0.0.1/backend/fusioninventory/localinventory", "/tmp"]
# you can set multiple tags for the server
tags = []
# define the data to not inventory.
# the list is:
# * disk
# * operatingsystem
# * software
no_types = []
# allow to scan user home directories
scan_homedirs = false
# allow to scan user profiles
scan_profiles = false
[networkdiscovery]
enabled = false
# set the time between 2 execution of networkdiscovery, in seconds
contact_time = 604800
# can set many servers, can be HTTP/HTTPS links and folder (the name will be set itself).
# For example: [ "url1", "url2", "url3", "/tmp/" ]
servers = [ "http://127.0.0.1/backend/fusioninventory"]
[networkinventory]
enabled = false
# set the time between 2 execution of networkinventory, in seconds
contact_time = 7200
# can set many servers, can be HTTP/HTTPS links and folder (the name will be set itself).
# For example: [ "url1", "url2", "url3", "/tmp/" ]
servers = [ "http://127.0.0.1/backend/fusioninventory"]
[deploy]
enabled = false
# set the time between 2 execution of deploy, in seconds
contact_time = 1200
# can set many servers, can be HTTP/HTTPS links and folder (the name will be set itself).
# For example: [ "url1", "url2", "url3", "/tmp/" ]
servers = [ "http://127.0.0.1/backend/fusioninventory"]
# enable p2p feature to prevent high internet / VPN bandwidth usage
p2p = true