Forum Discussion
hsbrown2
Sep 28, 2021Copper Contributor
Linux Discovery - Multiple Class Instances per Target
Hello,
I am developing a Management Pack that needs to discover multiple class instances on each target.
I've used Microsoft.Windows.TimedPowerShell.DiscoveryProvider and a custom DS to do this kind of thing before, but I'm not finding something similar on Linux.
Unix.Authoring.TimedShellScript.PropertyBag.Discovery.DataSource almost gives me what I want, but it's carving properties out of a single discovered class instance on the target with data returned from a shell script, using powershell.
What I need to do is discover about a dozen class instances on each target, and insert them all in a loop using a posh script, similar to how this is tackled on Windows. Any pointers?
No RepliesBe the first to reply