Implement Hooks per #726
This commit is contained in:
@@ -347,6 +347,8 @@ dns:
|
||||
hosts_file: '/etc/hosts'
|
||||
no: ['group:__LOCAL_ADDRESSES__','169.254.0.0/16']
|
||||
|
||||
hooks: []
|
||||
|
||||
schedule:
|
||||
discoverall:
|
||||
when: '5 7 * * *'
|
||||
@@ -364,6 +366,7 @@ schedule:
|
||||
|
||||
job_prio:
|
||||
high:
|
||||
- hook::http
|
||||
- location
|
||||
- contact
|
||||
- portcontrol
|
||||
@@ -401,11 +404,14 @@ worker_plugins:
|
||||
- 'Discover::VLANs'
|
||||
- 'Discover::Wireless'
|
||||
- 'Discover::WithNodes'
|
||||
- 'Discover::Hooks'
|
||||
- 'DiscoverAll'
|
||||
- 'DumpConfig'
|
||||
- 'Expire'
|
||||
- 'ExpireNodes'
|
||||
- 'Graph'
|
||||
- 'Hook'
|
||||
- 'Hook::HTTP'
|
||||
- 'Location'
|
||||
- 'Macsuck'
|
||||
- 'Macsuck::Nodes'
|
||||
|
||||
Reference in New Issue
Block a user