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 )
Hi, Thank for patch. This bug is fix on version 1.2.2. Best regard