Comments
-
Excellent! Glad to hear it worked!
-
@"simon.stone", curious if you update your $WMI_Reg line to this if that fixes it. $WMI_Reg = get-wmiobject -list "StdRegProv" -namespace root\default -computername ${IP} -Credential ${CREDENTIAL} The ${IP} should pass in the IP of the node the template is assigned too and ${Credential} should pass in the assigned…
-
I'm assuming in the component monitor that you have the 'Run the script under specified account' checked? If that doesn't work that you'll most likely need to update this section of your script to use the Invoke-WmiMethod or Get-WmiObject. $WMI_Reg = [WMIClass] "\\SERVERNAME\root\default:StdRegProv" $RegSubKeysCBS =…
-
So I would start by updating the service 'SolarWinds Orion Module Engine' to run-as either local Windows Account or a Domain Account that has local admin rights. That is the service that runs that script action. Once that is done you'll want to most likely wrap your bat file inside of PowerShell. The 'Execute an External…
-
So there are 2 ways to alert on applications and there some out of the box alerts for both. When viewing the Trigger Condition there is 'I want to alert on:' * Application * Component The easier way to do it is to switch it to Component and then you should be able to use Component Variables in the alert. The screenshot you…
-
I would try changing this setting when editing the template. Under the advanced section of the template it defaults to 'Agent' for preferred polling method. So if you have Orion Agents installed it'll actually run that PowerShell code on the remote server. If your desire is to run it on the Orion server, then switching it…
-
Ah right, i guess that comes down to where the variable is declared. would you mind PM'ing me your script?
-
I'm guessing that $global:RttestResult is your variable. I can't tell if the : after global is for formatting or if it's part of the variable. When I use variables in powershell that are part of other strings i enclose the variable with $(). e.g. $($var) What do you get if you try the following? $json =…
-
Here you go http://downloads.solarwinds.com/solarwinds/Release/VirtualizationManager/7.1.0/VIM-VMAN-vSphere-7.1.zip
-
Does that site require any authentication before viewing the page? Single Sign On (SSO)? Do you have any other tool already that monitors this page that is working? It looks like a SOAP API request page.
-
That shouldn't change anything.
-
Wow, i'm scratching my head too. I had issues with Local System that was fixed with AD account (That AD account is a local admin to my Orion server). That's pretty much how i have all of my powershell scripts working. I typically document the stuff i do on Thwack too. Here is just one of my examples, and it's working as…
-
fjanmohamed, I think I may have a work around that you can use. I've posted info here. * Basically, I created an application custom property (text). * You can insert this code into your existing POSH script and pass in the 2 required parameters. * You can then have the results of your script post to that application…
-
ms52390, Can you provide some context with the end goal that you're trying to accomplish? Looking at your script it appears that you're gather processor info on a remote host. A few things to mention: * With an alert action, powershell will be run local to the orion server. Replace the \\servernme\c$.... with…
-
origdman, This just came out today and specifically mentions a hotfix around the HTTPS monitor. The error is a little different but they might share the same root cause. If you're still having your issue I'd try updating it and then testing…
-
And another thing, when that check fails, What do you see in details? Hopefully there is something useful in there.
-
ms52390, try placing the Orion variable in single quotes, '${N=SwisEntity;M=Caption}' And the entire command in double quotes. "C:\scripts\swpstest.ps1 -ComputerName '${N=SwisEntity;M=Caption}'"
-
Two things to test: 1: Add a -file after unrestricted and surrounded the rest of the parameters in double quotes. * C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Executionpolicy unrestricted -file "\\XXXXXX\curl\SP_XXXXX_SendtoHipChat.ps1 -TransactionStatus 'Down' -TransactionName…
-
Out of curiosity, does your script component already list the expected 9 statistic names below the script body area? If not, then I've seen issues with single/multi-statistic output when the target server is a Linux/Unix host. If it's the same thing that I've had to work around then try selecting a Windows Server to test…
-
Try wrapping everything a try/catch statement. It'll output any errors to C:\ProgramData\Solarwinds\Logs\ScriptTest.log. I also removed the ; after each write-host. PowerShell doesn't require ; at the end of each line like some other scripting languages (I've run across that before) Try { $WMI_OS = Get-WmiObject -Class…
-
SAM version 6.2.4 Release Notes - SolarWinds Worldwide, LLC. Help and Support
-
Found this article that matches exactly what you're seeing. VNQM Business Layer failed to start - SolarWinds Worldwide, LLC. Help and Support Took me a second to understand the resolution but the query it wants you to run is highlighted in yellow. Let me know how it goes.
-
You'd think that it'd be empty but I saw some port in there.
-
Agreed, i wouldn't output/input files either. Just curious what it showed. Try changing the $raw line to $raw = $(get-cacheclusterhealth) and see if write-host shows anything. It also might have stored $raw as an array. so this might work Foreach ( $item in $raw ) { Write-Host $item }
-
Nice! Progress. Yes, that is a permission issue in MariaDB now. Everything should be good on the driver side of the house.
-
So what would be the easiest is edit the template and add several powershell component monitors. Edit the script argument section with the fqdn of the ssl cert you wish to monitor. The template that I have out there has a few of those component monitors already added. Or you can keep using the template that m-milligan…
-
CPU, RAM and disk are not counted as component licenses in SAM, just FYI. CPU/RAM are in the node license and disks are in the volume license. Component licenses only come from application templates.
-
I'd try setting those nodes to use dynamic baseline thresholds and see if that improves.
-
Each site will have it's own Orion server, own DB server and own VMAN appliance. They work independently from EOC. EOC will talk to each distributed site via Orion's API's (TCP 17777) to roll up the data. That single port communication is bidirectional.
-
I've only had to update those 3 services you mentioned on my main orion server. My APE still uses Local System for everything and the Execute an external program alert actions still work for me. If you RDP into your main Orion server as that AD account and just try to execute that script outside of Solarwinds what happens?…