So I'm opening this up right now to get some Ideas from the group or to see if someone has already accomplished what I'm trying to do.
So for the network sonar scans our security requirements will not allow us to just scan IP rangers and send out any credentials, you never know if someone is sitting on the wire and just sniffing for creds. So we have to target everything appropriately. What I currently want to use the network sonar function primarily for is at least monthly scans of the devices to alert to changes to hardware, new drives added etc.
Currently we are setup that I have to manually add new devices into the system and then setup some base settings on them in the custom properties. For network devices depending on the type of device, firewall, switch, fiber channel switch, APC unit, etc etc there are specific SNMP community strings for each of these groups.
What i would like to setup is to create a named scheduled network Sonar scan for each of these and add first run will add the IP's to these scans. I will also create a Node custom property (Net_Sonar_Group) as a drop down and match to the scans I created.
What I am thinking at this point is I will need to lean on the REST API infrastructure to have a script that will update the IP list for the related scan. I have been able to figure out how to do some basic rest API queries through PowerShell and json queries. Just now starting with the SwisPowerShell module and figuring that out. From what I have seen so far my biggest issue is trying to find the network sonar config and how to update the IP list via a script. Once i figure that part out I figure the SQL query to get the nodes based on the custom property will be really easy.
So current ask before I possibly reinvent something that already exists, does someone have something like this already figured out? If not I'm open to any suggestions and will also keep this thread going with what I build out to share with the community as well. Thanks in advance to anyone who can help point me in the right direction on some of this.