Comments
-
I have attached a sample PowerShell script to get NCM to execute a script on a device. Hope that helps!
-
That's a neat use case. The NCM side of that - scripting NCM to run a config template with some parameters - is something the product isn't ready for yet. I'll make sure the product manager knows that you're interested in this.
-
CSV is a good input source for a PowerShell script. You can read a CSV file into a list of objects with the "Import-Csv" cmdlet. I would use Excel to build a table with these columns: EntityType, PropertyName, PropertyType, PropertySize, PropertyValues For node properties, EntityType would be Orion.NodesCustomProperties.…
-
Discovery · solarwinds/OrionSDK Wiki · GitHub is updated with the syntax for IP address ranges and subnets now. The samples are in PowerShell with XML, but translating to json should be straightforward. Please let me know if you run into any trouble.
-
Could you post the "Connect-Swis" line so I can see what options you are using?
-
That's not supported through the SDK at this time. I'll make the product manager aware of your request.
-
I added group creation to the java sample. You can see the new code here: https://github.com/solarwinds/OrionSDK/commit/976ae20dd75a4ffba690eeec8121b83f989486be This is just a straight port of the python group creation sample from https://github.com/solarwinds/orionsdk-python/blob/master/samples/groups.py
-
Can you post the command you are using to call the verb?
-
The Web Report system uses SWISv3, but the Orion.NetFlow.ApplicationsTop entity (and related filter-string-based entities) are only available in SWISv2. Martin.Krivanek, can you provide some guidance on how to build an equivalent query using the SWISv3-native Orion.Netflow.Flows entity?
-
I added a note about your need to the internal ticket for this (NTA-4095). cc: jeff.stewart for any further context.
-
To get the list of volumes Orion is already monitoring on a given node, you can use a query like this: SELECT VolumeID, Caption, TypeFROM Orion.VolumesWHERE NodeID=123 (Replace 123 with the actual NodeID you want to check, of course).
-
In 8.5 you can detach resources by clicking their titles.
-
We have no current plans for allowing users to define custom views in SWQL. It's an interesting idea though. If you are new to SolarWinds and SWQL, you may not yet be familiar with navigation properties. They are syntactic sugar for JOINs. So you can get to that serial number from nodes like this: SELECT N.NodeID,…
-
Ok, no obvious issues there. Are you able to connect SWQL Studio on that laptop to the server using an Orion account (not AD)? How about using PowerShell from that laptop? "Connect-Swis -Hostname myserver -Trusted" will use AD auth.
-
Sure. Just remove the default "public" and "private" SNMP community strings from the SNMP page in the wizard and "Include devices/nodes that respond to ICMP (ping) alone" to "Yes" on the Monitoring Settings page.
-
Are you in the NPM 12 beta? That would be the best way to learn all the ins and outs before the release. There's a lot of stuff - NPM 11.5 was more than a year ago.
-
${ViewID} does not seem to be an available macro. I don't see any other macros specific to the view that you could use either.
-
The Orion.AlertConfigurations entity includes the Trigger and Reset conditions in serialized XML format. This format is not documented and not very friendly.
-
Sent via PM so as to not call too much attention to it.
-
How long after clicking the "invoke" button does it take before you get that error response in SWQL Studio?
-
What query did you use to get the number 15613?
-
That's a fairly old version of SWQL Studio. Before you spend too much time investigating this, I would try updating to 1.9. You can get it from http://downloads.solarwinds.com/solarwinds/Release/Orion/OrionSDK-1.9.zip. On the other hand, Lukas may already know what's going on here. Never mind, carry on!
-
I hate to ask you "are you sure it is plugged in?" But the first troubleshooting step that comes to mind is to check that it Perl is actually loading the updated version of InformationService.pm (attached to my previous message in this thread), because the error you are getting is exactly what you would get with the…
-
I just tried it again and it is working as expected for me in NPM 11.5.3. Could you post a screenshot of soapui or something showing the uri and post data?
-
Did you use the manual or automatic steps to set up SWIS over HTTPS?
-
What version of NPM are you using?
-
I can't help but observe that you are making this harder on yourself by not using the powershell snapin. If installing the SDK msi on the machines where you want to run the scripts is too much of a burden, have you considered just passing around the DLLs with the scripts and having them register the snapin if it isn't…
-
The second parameter for GetJobLog is a boolean that indicates what it should do when the log is greater than 1 MB. true -> return an error message if the log is larger than 1 MB. false -> return the job log regardless of size.
-
This line tells you what the problem is: Error : In property EngineID. Reason : Invalid EngineID. Value : 1. You don't have a polling engine with EngineID=1. Use a query like this to see your EngineIDs and choose an appropriate one: SELECT EngineID, ServerName, ServerType FROM Orion.Engines
-
Intermittent issues are the worst! Multiple connections open should not cause any problems. SWIS normally handles lots of simultaneous connections. Post again if the problem recurs and we'll continue troubleshooting.