(imported topic written by djorlett91)
Challenge:
I have an environment that has 200,000 nodes
I need to retrieve netstat information, vuln information (patches and fixlets), and dissa stig information per host
on average lets estimate that a given host has 20 open ports running, netstat will return on average three records for each port open (port protocol and host, owner, process name)
lets then say that each line is about 256 bytes on average
200000 * 3 * 20 * 256 / 4 / 1024 = ~ 3 gig
I have two methods off the wsdl from which to pull the data into my system.
GetRelevanceResults
and
GetRelevanceReslutsAsync
Current Solution idea:
My feeling is I want to pull the data using a host by host
so for instance
foreach group cGroup in bes Groups
foreach host cHost in cGroup
do netstat query
do vuln query
do stig query
however there is a high possibility that there are going to be hosts that are not in groups.
soap is not the fastest thing in the universe
I am looking to get the best optimized way to pull this data.
I’ve thought perhapse a packet system but I am not certain how to tell big fix to give me results for hosts
iCurrentHost through iCurrentHost + iPacketSize
Ultimately my challenge comes down to scalability of solution
Anyone have thoughts / suggestions / questions ?
thanks,
-D