Comments
-
I think there might be some confusion as to Polling Method -vs- Status/Response Time. I'd say that your discovery is doing exactly what it's supposed to, importing an SNMP device. You can verify that by editing the Node and seeing that SNMP is the polling method (screenshot). With SNMP nodes, when we do a List Resources,…
-
here is an example of how to get the contents of a config in Python. It will contain escape sequence characters such as \r\n. But you should be able to remove those and then save the config text in your file format of choice. You'll need to get the ConfigID first (i.e. by searching) # the Config Search returns a value,…
-
@"k1gaudineer" could you provide an example of a SWQL query to do what you're describing? This seems to be exactly what I need. Thanks!!
-
Thank you both for the quick replies!! As it turns out, the actual condition I'm looking for is Status != 0, for some period of time (say, 24 hrs). Since I'm looking for 0, does that somewhat simplify the query? and...thanks for sending those good vibes
-
Thank you for that link. The article is interesting, but still seems to lack the specifics needed to perform the Polling Rate calculation, especially when we are monitoring interfaces and volumes in addition to nodes, then we have Hardware Health, Routing, UNDP, Wireless, etc. How do we calculate Polling Rate based on all…
-
Here is the Support Case#: 00364981 And the last comment from Support: After the reviewing with development we have found that this a bug in the application and you have been helpful to identify this for us. The development team is currently working on potentially fixing this on a future HotFix or a future update.…
-
After reading this yesterday, I connected to our EOC server with SWQL Studio and started doing some queries. I was able to query Nodes across all the Orion sites that are on the EOC instance, which was really cool. The one thing we are really wanting EOC to do, is to have a Node Search resource on a dashboard, that we can…
-
It is possible to just convert the nodes from ICMP to SNMP, without having to delete them first. See Convert ICMP nodes to SNMP with Network Discovery and (re)Import
-
Has anyone tried setting Description in the disocveryProfile? I can't seem to find it documented, but went ahead and tried this, inserting between Name and EngineID: discoveryProfile = { 'Name': 'API discovery', 'Description': 'request_desc', 'EngineID': 3, 'JobTimeoutSeconds': 3600, The discovery completed, but…
-
I should have read the GitHub page you linked above. That answers my question about the Nodes list, and that if left blank, all nodes will be imported.
-
When doing a discovery via API, you can definitely use filters for interfaces (not sure about volumes though). We do this with Python, and here is an example (look for interfacesPluginContext, where you'll see various interface filters (AutoImportExpressionFilter). We found that basically anything you can do on that screen…
-
Here is the Python script I use to search Configs. In this example, we're taking it one step further and (at end of script) searching Interfaces for a keyword in their descriptions (Alias), based on the list of Nodes we found that had configs matching a keyword we searched for. I tried using the Python syntax highlighting.…
-
Can someone tell me an easy way to paste code from PyCharm so it retains formatting? I'd really like to do that when I copy/paste my Python script for searching NCM configs. Thanks!!
-
Highly recommend checking out the usage Discovery and AutoImport to add nodes. Here is info on using Discovery Context: Discovery · solarwinds/OrionSDK Wiki · GitHub Setting CreateCorePluginConfiguration details for Orion.Discovery in python We're successfully using this approach and have incorporated: - Auto selecting…
-
Would it be viable to write a script that could remove certain UDT ports after they've been added? Something that simulates the same options we choose in the network sonar "Ports" wizard screen. Since we can't bring them in with a discovery via API with the filters and options we want, maybe we can at least apply a script…
-
Thanks for the update, and for adding the thread to the feature request case. This is very disappointing. Seems like a real gap that should be filled.
-
sorry about the massive screenshot. I didn't look nearly that huge on my phone.
-
That's a good call-out, that we need to understand what is causing the failure. We've had this symptom analyzed before with previous support cases, but there was never a smoking gun per say. Having said that, I did just yesterday open a new support case specifically for this issue. And today I discovered that the nightly…
-
It was easier to do than I thought it would be. In the trigger action we pass the additional variable, so we have both AlertMessage and Severity: Powershell.exe -File D:\API\slack-api\MySlackOrion_AlertSender_DDI_alerts.ps1 ${N=Alerting;M=AlertMessage} ${N=Alerting;M=Severity} In the PowerShell script:…
-
I like this idea (hardware status unknown), but it does not seem to work for Linux virtual appliances. Would it be accurate to say that these Linux vm's do not actually have a "hardware status"? That's what it looks like to me. If this is correct, then is our only option to do something like this…
-
because DNS hostname and SysName.are quite otten different in our environment. And the one we want is DNS hostname.
-
We've been using Python scripts for a couple of years now, and always used local accounts for the basic auth. We believed that authenticating via AD credentials simply would not work and is not even supported. However, recently some developer here at our company informed me he could successfully use his AD credentials in a…
-
Here's a great 3-part tutorial for introduction to SolarWinds Orion API & SDK. It's probably a few years old, so I can't vouch for it being fully up to date. It's probably for the most part still very relevant, and I recall this being a really good intro to get started. Part 1:…
-
I'm doing something similar and need to create a list from the NodeID's. By the way, thanks for the tip on formatting rows for output - that works great! Thanks in advance. Val
-
I must be missing something. I don't even see Settings anywhere in the NCM web console. ??
-
There doesn't seem to be an article at the link provided.
-
maybe I'm missing something here? We use a Python script to assign UnDP pollers, using swis.create with Orion.NPM.CustomPollerAssignmentOnNode. We used this Thwack thread as a guideline: Creating a CustomPollerAssignmentOnNode returns: 400 Client Error: Sequence contains no elements
-
Can someone provide an example of using Python to query the Connection Profile ID and Name? I've looked all over in SWQL Studio and cannot find where the names can be queried from. I'm looking for the equivalent of NCM_ConnectionProfiles that we see in SQL. Thanks in advance!!
-
For what it's worth, we populate Credentials in Python by querying the existing SNMP creds (exluding Public and Private) and creating a list of dictionaries. So no hard coding of credentials in our code. Below is a snippet from this post: Re: Node Resource Discovery Via JSON API # Here we programmatically cause the…
-
Thanks rschroeder for all the info and your approach. After reading your reply, it gave me an idea (that should have previously been obvious to me). It's true that running a discovery against existing ICMP nodes will not transform them to SNMP if the polling engine is not the same (polling engine defined in discovery must…