The most recent content from our members.
Working on a PowerShell monitor to check for account lockouts. Each account to check configured as its own Component Monitor within the application. Successfully created the monitor(s) that return account name and LockedOut status (False/True) Successfully returning output pairs for Message.AccountName,…
Overview Since I enjoy scripting, I figured that I'd gather all of my thoughts around what is required when creating a custom script component and place it here. Hopefully it'll help as you build your own. There are two main things that the SAM script component monitor is looking for: 1. The Exit Code. Ok, I'll be honest.…
As our team makes more and more complex scripts and trigger actions, we were called on to write to the windows event log a custom entry. This is the base code needed to use powershell to write to a custom windows event log. Prereq You will have to run this command to tell Windows that you are creating a new log source…
This document outlines how you can use WMI to remotely call a process on a Windows Server. The really nice part about this script is it allows you to centrally store the script on the orion server and use WMI to remotely call a process on another server. This also does not require WinRM to be configured and should work on…
Hi all, I have another topic for this question but I decided to open this one since other one is more broad. I am running PowerShell script from alert and I am using string to call a script and run it on the node that triggered the alert. The string I am using is the one from Solarwinds but it does not run PowerShell…
I deployed the Cisco IronPort (PowerShell) Application template to monitor two different IronPort devices in our environment, but the monitors return multiple script errors on both devices. The errors occur about once per hour. Sometimes less, sometimes more; but they are consistent. As far as I can tell, any one of the…
Hi, I have compiled a PowerShell script that adds a new node to Orion with required properties. What I am missing in the script is the part to add volumes. I would like to be able to add C:\ and E:\ drive for Windows nodes and / and /car for Linux nodes. Here is my script, I would appreciated if someone would point me in…
Hello Orion Experts. I am trying to create and update custom property values for 300+ nodes that are being monitored via ICMP. Found a script OrionSDK/CRUD.SettingCustomProperty.ps1 at master · solarwinds/OrionSDK · GitHub to update the custom property. When i try to get the data from Swis using Get-OrionNode command i do…
This Script Checks a list of Servers for a Running Service. If the Count of Servers Running the Service are Below a minimum Number The Template Exits Warning or Critical based on variables If the Count of Servers Running the Service are Above a minimum Number The Template Exits Up
Provide a way to script common SolarWinds operations. Example, scripting node creation, in some cases, would be much faster than using the GUI. And, it could be expanded to loop through a list for bulk creations. Also, the common task like Windows Updates and the Unmanaging of systems could be automated if it could be done…
It looks like you're new here. Sign in or register to get started.