New backend daemon code, no SQLite. MCE::Flow.
Squashed commit of the following: commit3284b62509Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Aug 10 21:17:06 2014 +0100 config defaults tidying commitade7bcd880Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Aug 10 20:00:01 2014 +0100 high priority jobs are picked first and inserted to prio queue commitd450dfd2bdAuthor: Oliver Gorwits <oliver@cpan.org> Date: Sun Aug 10 19:25:21 2014 +0100 better status commitb8a742e5deAuthor: Oliver Gorwits <oliver@cpan.org> Date: Sun Aug 10 16:54:03 2014 +0100 update proctitle when worker not running commit0c3675a8f4Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Aug 10 16:48:58 2014 +0100 remove all trace of SQLite - new lightweight Job object commita13ed25f6aAuthor: Oliver Gorwits <oliver@cpan.org> Date: Sun Aug 10 14:45:22 2014 +0100 rename pollers to tasks commit44b50f413fAuthor: Oliver Gorwits <oliver@cpan.org> Date: Sun Aug 10 14:13:00 2014 +0100 update docs commit517b1ae4c1Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Aug 10 13:55:31 2014 +0100 merge interactive and poller worker types commite9043b90e8Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Aug 10 13:47:41 2014 +0100 only take one job at a time per worker commit2366738d54Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Aug 10 13:43:31 2014 +0100 auto job priorities commit1fd473fd50Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Aug 10 13:18:59 2014 +0100 preload all worker modules into shared memory commit9ceb43c0f7Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Aug 10 13:13:07 2014 +0100 daemon clean commitc817a35537Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Aug 10 12:36:24 2014 +0100 first refactor for MCE::Flow and MCE::Queue
This commit is contained in:
@@ -108,7 +108,11 @@ macsuck_no: []
|
||||
macsuck_only: []
|
||||
macsuck_all_vlans: false
|
||||
macsuck_no_unnamed: false
|
||||
macsuck_no_vlan: [fddi-default,token-ring-default,fddinet-default,trnet-default]
|
||||
macsuck_no_vlan:
|
||||
- 'fddi-default'
|
||||
- 'token-ring-default'
|
||||
- 'fddinet-default'
|
||||
- 'trnet-default'
|
||||
macsuck_no_devicevlan: []
|
||||
macsuck_bleed: false
|
||||
macsuck_min_age: 0
|
||||
@@ -170,9 +174,8 @@ port_control_reasons:
|
||||
# --------------
|
||||
|
||||
workers:
|
||||
interactives: 1
|
||||
pollers: 10
|
||||
sleep_time: 2
|
||||
tasks: 'AUTO * 2'
|
||||
sleep_time: 1
|
||||
queue: PostgreSQL
|
||||
|
||||
dns:
|
||||
@@ -194,26 +197,24 @@ dns:
|
||||
# expire:
|
||||
# when: '20 23 * * *'
|
||||
|
||||
job_types:
|
||||
discoverall: Poller
|
||||
discover: Poller
|
||||
arpwalk: Poller
|
||||
arpnip: Poller
|
||||
macwalk: Poller
|
||||
macsuck: Poller
|
||||
nbtwalk: Poller
|
||||
nbtstat: Poller
|
||||
expire: Poller
|
||||
location: Interactive
|
||||
contact: Interactive
|
||||
portcontrol: Interactive
|
||||
portname: Interactive
|
||||
vlan: Interactive
|
||||
power: Interactive
|
||||
|
||||
job_type_keys:
|
||||
Poller: pollers
|
||||
Interactive: interactives
|
||||
job_prio:
|
||||
high:
|
||||
- location
|
||||
- contact
|
||||
- portcontrol
|
||||
- portname
|
||||
- vlan
|
||||
- power
|
||||
normal:
|
||||
- discoverall
|
||||
- discover
|
||||
- arpwalk
|
||||
- arpnip
|
||||
- macwalk
|
||||
- macsuck
|
||||
- nbtwalk
|
||||
- nbtstat
|
||||
- expire
|
||||
|
||||
# ---------------
|
||||
# GraphViz Export
|
||||
|
||||
@@ -31,17 +31,17 @@ safe_password_store: true
|
||||
# SNMP community string(s)
|
||||
# ````````````````````````
|
||||
snmp_auth:
|
||||
- tag: 'v2default'
|
||||
- tag: 'default_v2_readonly'
|
||||
community: 'public'
|
||||
read: true
|
||||
write: false
|
||||
# - tag: 'v2default_w'
|
||||
# - tag: 'default_v2_for_write'
|
||||
# community: 'private'
|
||||
# read: false
|
||||
# write: true
|
||||
|
||||
# daemon will keep netdisco up to date on this schedule
|
||||
# `````````````````````````````````````````````````````
|
||||
# this is the schedule for automatically keeping netdisco up-to-date
|
||||
# ``````````````````````````````````````````````````````````````````
|
||||
#schedule:
|
||||
# discoverall:
|
||||
# when: '5 7 * * *'
|
||||
@@ -56,16 +56,6 @@ snmp_auth:
|
||||
# expire:
|
||||
# when: '20 23 * * *'
|
||||
|
||||
# number of SNMP pollers to run in parallel (in netdisco-daemon)
|
||||
# ``````````````````````````````````````````````````````````````
|
||||
workers:
|
||||
pollers: 10
|
||||
|
||||
# amount parallel DNS resolution for node names
|
||||
# `````````````````````````````````````````````
|
||||
dns:
|
||||
max_outstanding: 50
|
||||
|
||||
# do not discover IP Phones or Wireless Access Points.
|
||||
# usually these are visible as device neighbors but don't support
|
||||
# SNMP, which just clogs up the job queue.
|
||||
@@ -74,6 +64,18 @@ discover_no_type:
|
||||
- '(?i)phone'
|
||||
- '(?i)(?:wap|wireless)'
|
||||
|
||||
# number of SNMP workers to run in parallel (in netdisco-daemon).
|
||||
# the default is twice the number of CPU cores. increase this if
|
||||
# your system has few cores and the schedule is taking too long.
|
||||
# ```````````````````````````````````````````````````````````````
|
||||
#workers:
|
||||
# tasks: 'AUTO * 2'
|
||||
|
||||
# number of parallel DNS queries for node names
|
||||
# `````````````````````````````````````````````
|
||||
#dns:
|
||||
# max_outstanding: 50
|
||||
|
||||
# set to true to globally disable authentication/login.
|
||||
# create a user called "guest" if you want to assign port/admin rights.
|
||||
# `````````````````````````````````````````````````````````````````````
|
||||
|
||||
Reference in New Issue
Block a user