fop · 3rd Level Techromancer · ✭✭✭✭✭

Comments

  • OK, it's fixed. 2 whole days plus hours in meetings with Microsoft and SW techs. Problem was that previous generation SW webpages identified only as 'web browsing' so were allowed through the firewall. Today with Microsoft 3rd line they told us which packets were being dumped by our firewalls but couldn't tell us why so we…
  • I don't think many people have the Azure bits unfortunately. The 17774 port stuff is part of SWIS, and the current ports also still work but will be deprecated in a future release. If it was port related though then it wouldn't work at all, and the fact that it does but only for browsers with direct access to the private…
  • Logged a ticket with SW. I was right in that the custom properties for my nodes had changed to the test ones this morning, but I had to create another node too so added the correct details for the custom properties straight away and was amazed to see they populated in the API poller straight away. Unfortunately I'd made a…
  • OK, done some research because as usual in SW land, nothing is definite. I created 3 new custom properties yesterday relating to Azure Storage accounts and my API calls failed because it claimed it couldn't find the macros. One thing I hadn't noticed previously was when you're modifying the URL you type $ and all the…
  • Got any examples? The way you get can errors out of API calls is wide and varied. One very excellent thing you can use to troubleshoot is Postman which has helped me work out exactly what goes on with them.
  • I came across this issue yesterday and had the same question. The only time we'll need custom properties like this is for the dummy nodes hosting API pollers. An initial thought was a dropdown for a required field but that would get too unwieldy as the number of devices/queries grows, so now I'm pondering just using 'N/A'…
  • Hahaha, it's so good to see I'm not alone My Solarwinds tech said 'I will open a feature request for you and send it to the Development team, as the requested functionality is currently not part of our product line. ' but he also linked to the Feature Request here so I'll do that too. As it happens, I was THIS CLOSE to…
  • I'd forgotten we had this thread too. I'll update here since it's more apt. Got it working fine on PS 5.1, I just had to do an invoke-webrequest for the initial POST instead of invoke-restmethod. I now have a dummy node reporting on an App Gateway backend, so before I add it to the API calls on here I'll try and test it…
  • ...and the bad news is I've just had official clarification from Solarwinds that SAM uses 5.1 only and changing to v7 isn't even on their roadmap for future development so I've requested it as a feature. This doesn't help me right now of course. The invoke-restmethod parameters my script needs only came in in v6 so I need…
  • On a whim I created a SAM powershell template assigned to a dummy node that just does this: [int]$foo=$PSVersionTable.PSVersion.major Write-Host "Message.Health: Health: Version"; Write-Host "Statistic.Health: $foo"; On my poller it returns V5 so that's what it's using to execute scripts. I've got PS7 installed but haven't…
  • Morning Adam, Thanks for that, but the issue I'm having is that SW can't execute a remote PS script because of the certificate error. It's given me an idea though, the outcome of which will be dictated by how well I understand the way SW handles PS scripts - does it just run them using the default PS engine on the poller…
  • This particular issue seem to be that the script either isn't running or is running on the wrong version of powershell and the invoke-restmethod calls are failing because the parameters I'm using only came in in PSv6. I'll have a look under APM though, cheers! I do have the -ignorecertificate thing too, my Veeam monitoring…
  • I meant pass the Backend server IP as a parameter if you were checking an App Gateway with multiple hosts at the back. My test site just has a single one so it's not important for now. Annoyingly, the script runs fine on my laptop and on the primary poller in PSv7, but I suspect the actual script engine running for the SAM…
  • Based on what I know about Veeam SAM monitors it should be possible to plug in a server name for individual monitoring, SAM will parse the screen output of a script and that can be used externally. I hope :) 
  • Thanks to Adam's basic script there and a LOT of Stack Overflow reading I got a script running yesterday that will return the backend health of servers in an App Gateway using the async method of POST followed by GET. I'm going to try and crowbar it into a SAM powershell monitor today. I'll report on the results later.
  • I'm not a powershell expert at all, but my thinking is it'll be a SAM powershell script that gets called in a similar way to the GET-VBRJob status script for Veeam backups. That returns the requested job stats if successful or NOT DEFINED if unsuccessful. For this one it'd be POST then simple verification to check for an…
  • Hi Marc, I've literally just done this, or at least got some sense out it. It's an asynchronous action so you have to do the initial POST request with the bearer token, then the request is acknowledged and returns a status of 202 ('accepted'). In the response headers is a URI ('Location') that you then need to send GET…
  • Hi Marc, I was just too impatient, thinking everything would be populated after the first polling instance. It took a good 20 mins before data started appearing in the dummy node. Having let it run all weekend I've now discovered that the storage account we're monitoring seemingly goes offline every hour for 15 mins, which…
  • I got the initial API call working today thanks to dabbling in Postman again. A couple of stupid errors like having the sub ID in the auth request instead of the tenant ID, and I think we'd missed a character off the client secret. Now I have the initial query reporting data on the storage account, just need to work out…
  • Mark's away on holiday now but I can answer since we're working on this together. This is the SW doc for storage accounts: Microsoft Azure Blob Storage Account API poller template (solarwinds.com) We're trying to use OAUTH2 via login.microsoft.com - https://login.microsoftonline.com/<tenant id>/oauth2/v2.0/token and we…