Bug 874092
| Summary: | Can't use shinken-discovery for discovery our network | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Sébastien Andreatta <sebastien.andreatta> | ||||
| Component: | shinken | Assignee: | David Hannequin <david.hannequin> | ||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | el6 | CC: | david.hannequin, sebastien.andreatta | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-01-20 19:03:09 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Hi, Thank for patch. This bug is fix on version 1.2.2. Best regard |
Created attachment 640061 [details] Patch to use shinken-discovery Description of problem: Can't use discovery script for shinken because nmap doesn't support idle or connect scan. Version-Release number of selected component (if applicable): nmap-5.51-2.el6.x86_64 shinken-1.0.1-5.el6.noarch How reproducible: Always Steps to Reproduce: 1. Install shinken ( yum install shinken shinken-{arbiter,broker,poller,reactionner,receiver,scheduler} ) 2. Launch discover script ( shinken-discovery -o /etc/shinken/objects/discovery -r nmap ) with root Actual results: Doesn't work , exit on error Launching command, sudo nmap localhost www.google.fr -sU -sT -T4 -O --traceroute -oX /tmp/tmp_aSCuz Try to communicate Error : the nmap return an error : 'Traceroute does not support idle or connect scan QUITTING! Expected results: Generate the config file into /etc/shnken/objects/discovery Additional info: nmap is call'd in /usr/lib/shinken/plugins/nmap_discovery_runner.py cmd = "sudo nmap %s -sU -sT -T4 -O --traceroute -oX %s" % (' '.join(targets) , tmppath) I have made a patch ( see attachment )