naparuba/shinken — Issue #143: Discovery manager with business rules
Author: xkilian
Created: 2012-01-30 14:04:09+00:00
State: open

A global rule discovery module, which calls the various methods and applies the "business logic". I will create an Issue for 1.2 where we can comment it.

Mandatory Tests
Step 0 - IP to FQDN mapping
Step 1 - hostname regex
Step 2 - nmap generic (ex. common open ports)
Step 3 - SNMP generic (ex. sysDerc, location, admin, etc.)

Optional Tests based on the previous results or seed files (ex. from GLPI, from flat file, from corporate database extraction/query)
Step 4 - nmap specific (specific tests to figure out what exactly is running)
Step 5 - SNMP specific (run a SNMP custom discovery module)
Step 6 - WMI queries

Mandatory
Step 7 - Check what existing configuration there is for the host (is this an update(diff) or a new host)

Putting it together :
Business rules to manage the flow through each step for each type of template.

Application to the configuration automatically through management rules (command line or configuration options)

Then... When SkonfUI is more mature.

Presentation of the results (what can be supervised, diff on updated host, new host?) in the skonf UI
Rule based or manual promotion of the discovered things to the actual configuration tied to existing templates.