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
newb again how to exclude ports on an auto-discovery
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: newb again how to exclude ports on an auto-discovery
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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: newb again how to exclude ports on an auto-discovery
darn but ok thanks!
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: newb again how to exclude ports on an auto-discovery
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.