I've been working on automating the addition of nodes to Solarwinds, and I had assumed that would be a routine and well documented task. However I have struggled to find consolidated documentation that walks through the process definitively in any way. Usually when this happens I assume PEBCAK as a) I'm new to Solarwinds so I'm probably doing something wrong, b) I'm a SysEngineer and not a networking guy so much is unfamiliar, and c) sometimes I don't know the right questions to ask. So if this question is malformed or otherwise ignorant I apologize, but I need some help.
I have gotten relatively far using the examples from PowerOrion and from this forum. Currently I can get a node added, set properties both standard and custom, configure interfaces, and add pollers (enabling things like Routing, CPU&Memory, VLAN, Topology, etc. monitoring).
It is still not possible to add just the hardware health polling, but you can use the discovery API to add everything for a node, including hardware health. See this post for details: Re: Re: How do we programmatically discover the non-interface properties [in Orion] and enable them"
I can follow the sample script in that post to discover my node rather than add it, and it comes in fine. However, I still see the same behavior as when I add the node directly in that the Hardware Health Sensors resource is not selected. This is the part where I assume I must be doing something wrong. tdanner says it works; I do not experience it working....
I did not see any specific flag in the sample XML for discovery that stood out to me as a "Turn Health Sensors ON" attribute. Did I miss something? Is there one to add? Do I need to change the default discovery settings in Orion?
When I run Network Sonar Discovery against my discovery IP (which is IPv6 if that matters) I find the node fine, it adds, and Health Hardware Sensors is enabled by default.
Why isn't the scripted discovery also enabling HHS by default?
And to significantly truncate my rant: Adding nodes via script should already be simple. I think many people would want to do this. I had hoped it would be a well documented process. Please consider improvements to this process for the next release.
Thanks for any input and feedback.