Quantcast
Channel: THWACK: All Content - Server & Application Monitor
Viewing all articles
Browse latest Browse all 12281

How to NOT auto-add applications during API discovery?

$
0
0

In PowerShell, I'm attempting to nightly re-scan nodes to add in any new volumes that might have been added, but in doing this it also auto-adds in any application monitor SolarWinds sees that can run on the nodes

So I've a command like:

    Invoke-SwisVerb $swis Orion.Discovery StartDiscovery @($StartDiscoveryContext)).InnerText

where in the config I've got:

    <IsAutoImport>true</IsAutoImport>

and this will auto-add "AppInsight for SQL" to a node which adds in 10690 SAM component elements just for this single node. Clearly this totally blows out of the water the max SAM components per poller of 10K and we don't need this monitor on this particular server.

 

If I want "Appinsight for SQL" on a node, I want to have to manually add it. I don't want it auto-added but I do want any new volumes auto-added.

I can't delete "Appinsight for SQL" since we do have some servers that need it.

 

This has to be done via script. We've 2000+ nodes and there is NO WAY I'm going to try to manage hundreds of discovery jobs putting all of the correct IPs associated with their current engineIDs in each job, and then managing things when nodes move between pollers or IPs come and go.

 

I, like many others, would like a way to just add in new volumes and it seems that other than manually adding them (which isn't realistic given 2000+ nodes) or manually managing 100's of discovery jobs, the only other way is via  a script using the API.

 

I was thinking of doing the above StartDiscovery with

    <IsAutoImport>false</IsAutoImport>

and then looking at what it would import, but I see no examples of how to selectively add/import volumes.

 

Any and all suggestions would be appreciated.

 


Viewing all articles
Browse latest Browse all 12281

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>