workers instead of daemon_* config
This commit is contained in:
@@ -64,10 +64,11 @@ snmptimeout: 1000000
|
||||
#
|
||||
# mibhome: /usr/share/netdisco/mibs
|
||||
|
||||
mibdirs:
|
||||
- cisco
|
||||
- rfc
|
||||
- net-snmp
|
||||
# If unset, loads all MIBs in the mibhome directory.
|
||||
# mibdirs:
|
||||
# - cisco
|
||||
# - rfc
|
||||
# - net-snmp
|
||||
|
||||
community: ['public']
|
||||
community_rw: ['private']
|
||||
@@ -96,25 +97,17 @@ ignore_interfaces:
|
||||
- '(E|T)\\d \\d\\/\\d\\/\\d'
|
||||
- 'Vlan1'
|
||||
|
||||
# sleep time between polls of the database job queue
|
||||
daemon_sleep_time: 5
|
||||
|
||||
# how many daemon processes for this node
|
||||
daemon_interactives: 2
|
||||
daemon_pollers: 2
|
||||
workers:
|
||||
# how many daemon processes for this node
|
||||
interactives: 2
|
||||
pollers: 2
|
||||
# sleep time between polls of the database job queue
|
||||
sleep_time: 5
|
||||
|
||||
# what housekeeping tasks should this node *schedule*
|
||||
# (it only does them if daemon_pollers is non-zero)
|
||||
# (it only does them if workers->pollers is non-zero)
|
||||
#housekeeping:
|
||||
# discovernew:
|
||||
# device: '192.0.2.0'
|
||||
# when:
|
||||
# wday: 'wed'
|
||||
# hour: 14
|
||||
# backup:
|
||||
# when:
|
||||
# hour: 1
|
||||
# refresh:
|
||||
# discoverall:
|
||||
# when: '0 9 * * *'
|
||||
# arpwalk:
|
||||
# when:
|
||||
@@ -122,9 +115,3 @@ daemon_pollers: 2
|
||||
# macwalk:
|
||||
# when:
|
||||
# hour: '*/2'
|
||||
# nbtwalk:
|
||||
# when:
|
||||
# hour: '8,13,21'
|
||||
# saveconfigs:
|
||||
# param: 61
|
||||
# when: '0 * * * *'
|
||||
|
||||
Reference in New Issue
Block a user