Comments
-
AddNodeToNCM takes one argument, the NodeID value. juniordev showed how to pass that using the SOAP interface. To pass it using the REST interface, format the arguments as a JSON array: [340]
-
That should work. The one noteworthy change I had to make to the script was to add a line after REST::Client->new(): $rest->getUseragent()->ssl_opts(verify_hostname => 0); But the config posted above already has "verify_hostname => 0" and the response above does not indicate that you had an SSL error, so that's probably…
-
For the hot standby, you can change this directly in the registry. Under the HKEY_LOCAL_MACHINE\Software\SolarWinds.net\SWNetPerfMon\Settings key, create a string value called "ICMP Data" and set it to the payload you want to use.
-
This SQL will set all of your accounts to use the "By Device Type" view for nodes: UPDATE Accounts SET NodeDetailsViewID=-1
-
What command did you use to set credentialId = 12? What was the result?
-
I'm glad you got it sorted out. That parameter shows up in the WSDL as having type "xs:any". For some reason, svcutil exposes this as System.Data.DataSet, which won't work at all. As you found, passing null does work, since that's an optional parameter. In the version currently in development, we fixed the WSDL to have an…
-
Oops - the dump actually did show the request body. And it looks fine to me. I tried out this script (with appropriate "use" statements and variable definitions) and it worked for me. I got a 200 response and the changes stuck. What version of Orion are you using?
-
I can see from your sig that you are on NPM 10.2. The names of the pollers have changed in 10.2. You can get documentation on the new poller names and some background on the change in the recently-released Orion SDK 1.4. Sorry for the inconvenience.
-
Sarah, It could be that the solarwinds_website user lacks permission to see the report files you copied. To check this, open the file properties in Explorer and look at the security tab. Compare the settings for a file that does show up on the website with the settings for one that doesn't.
-
The problem was in the code of the script - it had typographic long dashes in a couple of places that should have had a regular dash character. I have attached the corrected script.
-
I'd like to try to reproduce the problem you are seeing. Could you post the code used to send the request? This dump doesn't seem to include the request body.
-
What product/version(s) do you have installed? You can avoid the certificate prompts in SWQL Studio by using the "Orion v3" server type.
-
Very impressive, Richard! If I could make a suggestion, you can simplify this code somewhat by letting wget or curl handle the alert acknowledging for you. That way you won't need a bunch of python code for following redirects and propagating cookies. Here's a post I wrote a while back about this. That was in the context…
-
You need a couple more pollers: one for status and one for response time. Both of these can be done with either SNMP or ICMP. Assuming it works on your network, ICMP will generally be more accurate for response time. The PollerType values for response time are: N.ResponseTime.ICMP.Native N.ResponseTime.SNMP.Native The…
-
We're working on finishing up the 1.8 SDK update, but I don't have a date for you. In general the tools in the SDK 1.7 should connect to NPM 10.6 just fine.
-
Something else must be going on. You should open up a support ticket and we'll get this sorted out.
-
Is there a file at C:\ProgramData\Solarwinds\InformationService\v3.0\Orion.InformationService.log ?
-
If you are running it on the NPM server, you can just use the -Certificate parameter to Connect-Swis instead of prompting for credentials.
-
My recommendation would be to (1) restart IIS and if that doesn't get it, (2) rerun the Configuration Wizard (website portion).
-
magic_man, you have the same Exception message in your event log as Jeff?
-
Can you show us what you have so far?
-
Are you sure you have values for the $NewSrvrIP and $domainCred variables? Remember PowerShell variable names are case sensitive. When I run your chunk of script in PowerShell without filling in those variables, I get exactly the same error. When I provide values for those variables, it works fine.
-
SWQL Studio can connect to either SWISv2 or SWISv3. You choose when it starts. See this dialog:
-
Could you post your whole script? Or at least enough to run.
-
You are hitting this bug: Invoke-SwisVerb access denied. · Issue #91 · solarwinds/OrionSDK · GitHub . You can work around it by specifying the username in "DOMAIN\username" format instead of "username@domain.com" format.
-
I was able to get this to work, but it required some non-obvious changes. In testAPIPackage.pm, I had to change the namespace for the methods. It should not have a trailing slash. It should be 'schemas.solarwinds.com/.../informationservice'. Also in testAPIPackage.pm, I had to comment out this line:…
-
All of the notes are visible in the history (Orion.AlertHistory with EventType=3). The website shows the text of the most recent note in the "Edit Notes" textbox.
-
Here it is as a powershell one-liner: Get-SwisData $swis "SELECT Uri FROM Orion.Nodes WHERE Caption IN @captions" @{captions=(Get-Content .\nodes-to-unmanage.txt)} | Set-SwisObject $swis -Properties @{UnmanageFrom=[DateTime]::UtcNow;UnmanageUntil=[DateTime]::UtcNow.AddHours(1)} I'm cheating a bit by not including opening…
-
It looks like the tool is reading the SolarWinds-Traps.mib file but not the SolarWinds-Products.mib file. Could that be the case?
-
I don't know of a way to return averages from multiple overlapping time periods without using UNION ALL. Note that you should probably return two values from each of the unioned queries: the time frame and the average. Otherwise you will just have the averages and no way to know which is which. Like this: SELECT 30 as…