Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running a discovery on Agent Based node #70

Closed
shadycuz opened this issue Mar 24, 2017 · 15 comments
Closed

Running a discovery on Agent Based node #70

shadycuz opened this issue Mar 24, 2017 · 15 comments
Assignees

Comments

@shadycuz
Copy link

I need to do a discovery on an agent based node and then add all the things. How is this different from the sample code using SNMP? Is this even possible to do with Agent?

Thanks =)

@tdanner
Copy link
Contributor

tdanner commented Mar 28, 2017

Unfortunately, this is not currently supported for agents. Could you describe your workflow in more detail so I can capture the request?

@shadycuz
Copy link
Author

shadycuz commented Mar 28, 2017

Tim,

We currently use Automation to on board all nodes that come to us from our CMDB. This requires settings custom properties, default OS monitoring and poller selection based on network among other things. We now have a new environment where we are using Agent based nodes. These nodes have additional volumes and interfaces that we need to add to monitoring. I noticed in a previous post on thwack that list all resources were not currently implemented into the API but you could perform a Sonar Discovery via API and add all the things discovered. Since that discovery can be executed via API on SNMP nodes I was hoping it would work on the agent since its proxying SNMP.

If you need more detail let me know.

Thanks,
Levi

@tdanner
Copy link
Contributor

tdanner commented Mar 28, 2017

That makes perfect sense.

I'm going to leave this github issue open for tracking. When this gets implemented and shipped, I'll close it out with the details.

@tdanner
Copy link
Contributor

tdanner commented Mar 28, 2017

If you need to reference this issue with SolarWinds support, please mention issue OA-2098.

@shadycuz
Copy link
Author

shadycuz commented Mar 28, 2017 via email

@markatdxb
Copy link

@tdanner - hello, has this been already addressed ? We would like to use the same process to discover agent based nodes
thanks
mark

@tdanner
Copy link
Contributor

tdanner commented Dec 17, 2019

@markatdxb - yes, a new API for this and some related use cases came out with the 2019.4 releases. But I don't see a sample script or documentation. Let me investigate.

@tdanner
Copy link
Contributor

tdanner commented Dec 17, 2019

There's a sample script in this KB article: https://support.solarwinds.com/SuccessCenter/s/article/Update-resources-on-an-agent-node-using-SWQL

We need to get it documented here on GitHub.

@markatdxb
Copy link

Great many thanks for feedback. We are few weeks away from 2019.4 so its a good timing have these examples available

@markatdxb
Copy link

@tdanner - hello again. Maybe just a silly question related to this topic. Is there any scripted method i can use to add machine with installed agent as a node to Orion ? I found API to Deploy Agent on non-managed machine but im struggling to find API which can allow me to add that machine as node ?

@tdanner
Copy link
Contributor

tdanner commented Jan 15, 2020

I'm not sure. @danjagnow - can you look into this?

@danjagnow
Copy link
Contributor

The sample script from the KB article is now in the repository at https://github.com/solarwinds/OrionSDK/blob/master/Samples/PowerShell/ImportListResources.ps1.

I'll need to look into the question about adding a non-managed machine as a node. I assume you're using the Deploy verb on Orion.AgentManagement.Agent to accomplish this? It seems like you could add a node as in the CRUD.AddNode.ps1 sample or maybe perform a Discovery as in the DiscoverSnmpV3Node.ps1 sample, but maybe you're looking for something that leverages the fact that Orion already knows something about the machine in question?

@danjagnow
Copy link
Contributor

Also added a section to the Agents page in the wiki to reference the sample script.

@markatdxb
Copy link

markatdxb commented Jan 16, 2020

@danjagnow - goal for us is to automate add/discovery of Agent based nodes in Orion. Automation already works great for SNMP based nodes.

What i just discovered is that running Deploy verb on new host will

  • install agent on the host
  • add host as a Node to Orion

Saying that i think we are good with this approach.
Thanks for all your help

@danjagnow
Copy link
Contributor

I believe everything associated with this issue is resolved and documented, then. Closing this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants