Inventory configuration¶
.env reference¶
.env variable |
Description |
|---|---|
INVENTORY_FILE_ABSOLUTE_PATH |
Absolute path to this file on the host |
Full reference
For the complete field reference and advanced configuration options, see the Inventory configuration page — open the docker compose tab.
Example of the configuration¶
Note
The profiles values in the inventory (e.g. small_walk, test_profile, single_metric) must match profile names defined in the scheduler config file. If a profile name does not match, SC4SNMP will not poll that device.
my_group in the second row is a named group of devices defined in the scheduler config file. Groups allow you to poll multiple hosts under a single inventory entry. See Groups configuration for details.
address,port,version,community,secret,securityEngine,walk_interval,profiles,smart_profiles,max_oid_to_process,delete
192.168.1.1,161,2c,public,,,1800,small_walk;test_profile,,,
my_group,161,3,,my_secret,,1800,single_metric,,,