Implement Hooks per #726

This commit is contained in:
Oliver Gorwits
2020-11-28 14:45:56 +00:00
parent 225f9824b2
commit 669eec46db
11 changed files with 177 additions and 6 deletions

View File

@@ -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'