Merging NMAP info into Subnet Info
boojew
19-02-2011 13:27:33
Trying this product for the 1st time and I love the basic concept, but I need this for several large routed networks which do not use DHCP and the thought of inputing and maintaining hosts by hand hurts my head. Is there anyway I can merge the nmap IP usage info + the reverse DNS info into the subnet info automatically?
Thanks
Thanks
Matt
23-02-2011 17:25:59
So there are a couple of ways I would suggest doing this.
1. is the built in nmap scan tool. Once you have a subnet defined in the system, you can configure the nmap scan to ping addresses on that subnet. The resulting report has a comparison of network vs database and then actions that help you to add hosts and or interfaces as needed. This is still somewhat manual and requires you to click through forms and fill them out etc.
2. use the dcm.pl command line interface to script your data loads. This allows you to quickly load data into the system. This however requires you to format your data into the syntax that dcm.pl would require for each module.
Both options require an understanding of how your environment is actually configured. You can't simply just create a new host for each IP address as some of them may be sub interfaces on a single host. There is really no good programatical way to determine that.
I have some scripts that can help generate subnet creation feeds for dcm.pl based on router configurations. Though subnets are not as difficult as hosts to manage.
Hope this helps. There are certainly things that could be done to help people do initial population of data but much of it is very specific to individual implementations.
1. is the built in nmap scan tool. Once you have a subnet defined in the system, you can configure the nmap scan to ping addresses on that subnet. The resulting report has a comparison of network vs database and then actions that help you to add hosts and or interfaces as needed. This is still somewhat manual and requires you to click through forms and fill them out etc.
2. use the dcm.pl command line interface to script your data loads. This allows you to quickly load data into the system. This however requires you to format your data into the syntax that dcm.pl would require for each module.
Both options require an understanding of how your environment is actually configured. You can't simply just create a new host for each IP address as some of them may be sub interfaces on a single host. There is really no good programatical way to determine that.
I have some scripts that can help generate subnet creation feeds for dcm.pl based on router configurations. Though subnets are not as difficult as hosts to manage.
Hope this helps. There are certainly things that could be done to help people do initial population of data but much of it is very specific to individual implementations.