Shared Files for the Orion Platform
  • Unmanage or Suppress Alerts (Applications)

    This script provides two ways to not hear about applications during a maintenance window. The script is fully customizable for your needs and commented thoroughly. It uses one of two methods: # Using 'Unmanage' verb on 'Orion.APM.Application' entity # Arguments: # [string]netObjectId (in the form of "AA:#"") # [datetime]unmanageTime # [datetime]remanageTime # [bool]isRelative # Using 'SuppressAlerts' verb on 'Orion.AlertSuppression' entity # Arguments: # [string[]]entityUris # [datetime...
    • 3 downloads
    • 21 Mar 2023
  • Set Classic Dashboards to Equal Column Widths

    This is something that I threw together a few years ago in a pure T-SQL way. It's generally not a great idea to do it that way, so I decided to re-do this using the SolarWinds API. Basically, it uses a display pixel width value you specify (Line 17) and determines the number of pixels for each column in a Classic Dashboard. Default settings are for a full HD system (1920w x 1080h). I used several advanced PowerShell features (adding script properties to objects) to optimize this for memory on...
    • 1 download
    • 13 Mar 2023
  • Workaround - Oracle .Net Framework Data Provider Error

    As outlined here: Oracle User Experience Monitor: Failed to find or load the registered .Net Framework Data Provider - Forum - The Orion Platform - THWACK (solarwinds.com) This script 1) Downloads the Oracle package from Oracle to a Temporary Location. Then Expand that .zip to a oracle folder. (c:/temp & c:/oracle 2) Moves the required dll to the Orion installation directory 3) Registers the .dll with the odp. 4) Removes .zip from Assumptions: - Ran on the target system - Target system has internet...
    • 2 downloads
    • 3 Mar 2023
  • Fix SAM PowerShell Remoting - 2022.4

    As Outlined 2022.4 Upgrade: Remote PowerShell Broken - Forum - Server & Application Monitor (SAM) - THWACK (solarwinds.com) This simple script assumes a default Orion installation location and makes the needed changes to the config file.
    • 1 download
    • 3 Mar 2023
  • Install Latest Orion SDK from Github (PowerShell)

    This script will fetch the latest release of the Orion SDK from Github and install it. I did this script to help building lab VMs. Needs some refinement, but it's a good start. <# Script: Install_OrionSDK.ps1 Author: PLanglois Version: 1.0 No arguments needed. This script will fetch the latest release of OrionSDK on Github. To Do: * Validate if SWQL Studio is already installed and if version is lower than target. * Enhance error handling #> #Requires -RunAsAdministrator...
    • 0 downloads
    • 24 Feb 2023
  • Python Script to work create, update and assign credentials used for polling

    1. Create a new SNMPv2 credential. 2. Update an existing SNMPv2 credential. 3. Create a new username/password credential. 4. Update an existing username/password credential. 5. Assign a username/password credential to node(s) 6. Create a new SNMPv3 credential set. 7. Update an existing SNMPv3 credential set. 8. Assign an existing SNMPv3 credential to node(s). 9. List All Credentials. 10. List All Nodes and assigned credentials
    • 23 Jan 2023
  • Python Script to Enable/Disable Application Components

    Python script to demonstrate how to work with Application Templates and Application Components 1. List Application Templates. 2. List Applications. 3. List Application Component Types. 4. List Components in Application Template. 5. Enable/Disable a component type in all Application Monitor Templates using it. 6. Enable/Disable a component in a specific Application Template.
    • 23 Jan 2023
  • Register Passive Agents to SolarWinds Platform

    This script will register a passive agent, then scan for resources, and automatically import the resources. You'll need the following information for registering an agent (outlined within the script as well): Agent Name Agent Hostname Agent IP Address Agent Port Polling Engine ID Shared Secret Proxy ID Auto Update Enabled Tested with SolarWinds Platform 2022.2.0 and agent 2022.2.0.1952. Currently only tested on a Windows agent as a target, but there's no reason it should...
    • 13 downloads
    • 6 Jul 2022
  • Acknowledge Solarwinds alert by email with oAuth and Azure AD

    Updated 2022-07-05 to use oAuth (modern authentication) and to require the AlertObjectID in the message body. If you have been using an older version of this script, please read the documentation again, as there have been several changes since the previous version. This Powershell script allows end users to acknowledge or comment upon a Solarwinds alert via email. The script assumes that your organization uses Exchange and Azure AD as its email platform. Prerequisites: An email account ...
    • 17 downloads
    • 5 Jul 2022
  • Update Node Captions to match polled Sysname value.

    This script will go through and update node captions to match the polled sysname value. Useful when devices get renamed and you don't want to manually update the captions to match the new device name.
    • 32 downloads
    • 10 Mar 2022
  • THWACKcamp 2022 - Practical Examples Using the Orion API: Acknowledge Alert

    Simple PowerShell example that calls a verb to acknowledge and add a note to an alert. Relies on $SwisConnection variable as defined in 00_Authenticate.ps1 . THWACKcamp 2022: Practical Examples Using the Orion API Additional Resources
    • 35 downloads
    • 23 Feb 2022
  • THWACKcamp 2022 - Practical Examples Using the Orion API: Add Alert Note

    Simple PowerShell function that adds a note to an existing alert. Relies on $SwisConnection variable as defined in 00_Authenticate.ps1 . THWACKcamp 2022: Practical Examples Using the Orion API Additional Resources
    • 18 downloads
    • 23 Feb 2022
  • THWACKcamp 2022 - Practical Examples Using the Orion API: Update Node Custom Properties

    Simple PowerShell script that updates custom properties based on node caption. Provides a better example of how the Set-SwisObject function works with hashtables. Relies on $SwisConnection variable as defined in 00_Authenticate.ps1 . THWACKcamp 2022: Practical Examples Using the Orion API Additional Resources
    • 24 downloads
    • 23 Feb 2022
  • THWACKcamp 2022 - Practical Examples Using the Orion API: Import Modern Dashboard [Better]

    Uses a published file from GitHub to build a function to import Modern Dashboards. See Import Modern Dashboard for a more rudimentary solution. Relies on $SwisConnection variable as defined in 00_Authenticate.ps1 . THWACKcamp 2022: Practical Examples Using the Orion API Additional Resources
    • 29 downloads
    • 23 Feb 2022
  • THWACKcamp 2022 - Practical Examples Using the Orion API: Export Modern Dashboard [Better]

    Uses a published file from GitHub to build a function to export Modern Dashboards. See Export Modern Dashboard for a more rudimentary solution. Relies on $SwisConnection variable as defined in 00_Authenticate.ps1 . THWACKcamp 2022: Practical Examples Using the Orion API Additional Resources
    • 17 downloads
    • 23 Feb 2022
  • THWACKcamp 2022 - Practical Examples Using the Orion API: Import Modern Dashboard

    Simple PowerShell function to import Modern Dashboard definitions from the file system. See Import Modern Dashboard [Better] for another way. Relies on $SwisConnection variable as defined in 00_Authenticate.ps1 . THWACKcamp 2022: Practical Examples Using the Orion API Additional Resources
    • 14 downloads
    • 23 Feb 2022
  • THWACKcamp 2022 - Practical Examples Using the Orion API: Export Modern Dashboard

    Simple PowerShell function that exports Modern Dashboard definitions to the file system. See Export Modern Dashboard [Better] for a easier to use option. Relies on $SwisConnection variable as defined in 00_Authenticate.ps1 . THWACKcamp 2022: Practical Examples Using the Orion API Additional Resources
    • 11 downloads
    • 23 Feb 2022
  • THWACKcamp 2022 - Practical Examples Using the Orion API: Import Alert

    Simple PowerShell function to import an alert definition from the file system. Relies on $SwisConnection variable as defined in 00_Authenticate.ps1 . THWACKcamp 2022: Practical Examples Using the Orion API Additional Resources
    • 15 downloads
    • 23 Feb 2022
  • THWACKcamp 2022 - Practical Examples Using the Orion API: Export Alerts

    Simple PowerShell script to export alerts to the file system using the [xml] cast and the Save method. Relies on $SwisConnection variable as defined in 00_Authenticate.ps1 . THWACKcamp 2022: Practical Examples Using the Orion API Additional Resources
    • 17 downloads
    • 23 Feb 2022
  • THWACKcamp 2022 - Practical Examples Using the Orion API: Set Interface to Unpluggable

    Simple PowerShell script using the Set-SwisObject function to convert specific interfaces to "unpluggable" (as opposed to being reported as "down"). Relies on $SwisConnection variable as defined in 00_Authenticate.ps1 . THWACKcamp 2022: Practical Examples Using the Orion API Additional Resources
    • 12 downloads
    • 23 Feb 2022