-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
Description
When multiple SNMP discovery policies are defined, each with their own default Site, it appears discovered resources will all be created under the Site defined by the last policy to execute.
Orb Agent Configuration:
orb:
config_manager:
active: local
backends:
snmp_discovery:
common:
diode:
target: grpc://dev.netbox.internal.domain.tld:8080/diode
client_id: ${DIODE_CLIENT_ID}
client_secret: ${DIODE_CLIENT_SECRET}
agent_name: any name
policies:
snmp_discovery:
snmp_tuk_core:
config:
retries: 3
defaults:
site: Tukwila Lab
role: Core Switch
lookup_extensions_dir: /opt/orb/snmp-extensions
scope:
targets:
- host: "10.16.6.1"
authentication:
protocol_version: "SNMPv2c"
community: "community string"
snmp_ptl_core:
config:
retries: 3
defaults:
site: Portland
role: Core Switch
lookup_extensions_dir: /opt/orb/snmp-extensions
scope:
targets:
- host: "10.17.6.1"
authentication:
protocol_version: "SNMPv2c"
community: "community string"
snmp_boi_core:
config:
retries: 3
defaults:
site: Boise
role: Core Switch
lookup_extensions_dir: /opt/orb/snmp-extensions
scope:
targets:
- host: "10.18.6.1"
authentication:
protocol_version: "SNMPv2c"
community: "community string"