Page 1 of 1

newb again how to exclude ports on an auto-discovery

Posted: Thu Mar 13, 2014 3:15 pm
by tonyroth
I'd like to exclude the common ports\services from being scanned, as in I don't care about rdp,netbios etc? So is there a file that I can edit etc?
thanks

Re: newb again how to exclude ports on an auto-discovery

Posted: Thu Mar 13, 2014 3:23 pm
by sreinhardt
At this point there isn't really a great way to do this. You could modify /usr/local/nagiosxi/html/includes/configwizards/autodiscovery/autodiscovery.inc.php and see if you can make it do what you want, but remember that if you extend it beyond the default 1024 ports it scans right now, it could take significantly longer to run.

Re: newb again how to exclude ports on an auto-discovery

Posted: Thu Mar 13, 2014 3:50 pm
by tonyroth
darn but ok thanks!

Re: newb again how to exclude ports on an auto-discovery

Posted: Thu Mar 13, 2014 4:09 pm
by slansing
Yeah, as srienhardt mentioned there is not something in the web interface to selectively disable specific ports from being scanned and brought in, it should not be too hard to edit the wizard's php though.