Scheduler configuration¶
Scheduler configuration is stored in the scheduler-config.yaml file. This file has the following sections:
communities:
2c:
public:
communityIndex:
contextEngineId:
contextName:
tag:
securityName:
customTranslations:
profiles:
groups:
communities: communities used for version1and2cof thesnmp. The default one ispublic.customTranslations: configuration of the custom translations. Configuration of this section looks the same as in thevalues.yamlinscheduler.customTranslationssection, which can be checked in the documentation of custom translations.profiles: configuration of the profiles. Configuration of this section looks the same as in thevalues.yamlinscheduler.profilessection, which can be checked in the documentation of profiles configuration.groups: configuration of the groups. Configuration of this section looks the same as in thevalues.yamlinscheduler.groupssection, which can be checked in the documentation of groups configuration.
Example of the configuration¶
communities:
2c:
public:
communityIndex:
contextEngineId:
contextName:
tag:
securityName:
customTranslations:
IF-MIB:
ifInDiscards: myCustomName1
ifOutErrors: myCustomName2
SNMPv2-MIB:
sysDescr: myCustomName3
profiles:
small_walk:
condition:
type: "walk"
varBinds:
- [ 'IP-MIB' ]
- [ 'IF-MIB' ]
- [ 'TCP-MIB' ]
- [ 'UDP-MIB' ]
multiple_conditions:
frequency: 10
conditions:
- field: IF-MIB.ifIndex
operation: "gt"
value: 1
- field: IF-MIB.ifDescr
operation: "in"
value:
- "eth0"
- "test value"
varBinds:
- [ 'IF-MIB', 'ifOutDiscards' ]
groups:
group1:
- address: 18.116.10.255
port: 1163