SolarWinds THWACK
THWACK
  • Sign In
  • Search
  • Product Forums
    • Observability
      • Observability Solutions
      • ⮩ SolarWinds Observability
      • ⮩ Hybrid Cloud Observability
    • The Orion Platform
      • Forum
      • Scalability Engines (HA, APE, AWS)
      • Enterprise Operations Console (EOC)
      • Orion SDK
      • Alert Lab
      • Report Lab
    • Network Management
      • Network Performance Monitor (NPM)
      • NetFlow Traffic Analyzer (NTA)
      • Network Configuration Manager (NCM)
      • IP Address Manager (IPAM)
      • User Device Tracker (UDT)
      • VoIP & Network Quality Manager (VNQM)
      • Log Analyzer
      • Engineer’s Toolset
      • Network Topology Mapper (NTM)
      • Kiwi CatTools
      • Kiwi Syslog Server
      • ipMonitor
    • Systems Management
      • Server & Application Monitor (SAM)
      • Virtualization Manager (VMAN)
      • Storage Resource Monitor (SRM)
      • Server Configuration Monitor (SCM)
      • SolarWinds Backup
      • Web Performance Monitor (WPM)
    • Database Management
      • Database Performance Analyzer (DPA)
      • SQL Sentry
      • Database Performance Monitor (DPM)
      • Database Mapper
      • Task Factory
    • Application Management
      • AppOptics
      • Loggly
      • Papertrail
      • Pingdom
      • DevOps
    • IT Security
      • Access Rights Manager (ARM)
      • Identity Monitor
      • Security Event Manager (SEM)
      • Patch Manager
      • Serv-U FTP & MFT
    • IT Service Management
      • SolarWinds Service Desk (SWSD)
      • Web Help Desk (WHD)
      • DameWare Remote Support (DRS)
      • DameWare Remote Everywhere (DRE)
      • DameWare Mini Remote Control (MRC)
  • Resources
    • THWACK Command Center
    • DevOps
    • What We're Working On
    • Blogs
      • Community Announcements
      • Product Blog
      • Monitoring Central
      • Geek Speak
      • The DevOps Blog
    • THWACK Tech Tips
    • Movies and Mainframes
    • Support
      • Success Center
      • Documentation
      • Submit a Support Ticket
      • Customer Portal
      • Renew Maintenance
    • Community Groups
      • New To THWACK
      • Federal & Government
      • User Experience
      • EMEA Group
      • Japan Group
      • All Community Groups
  • Events, Missions, & Musings
    • Events
      • THWACK Livecast
      • THWACK Livecast Archive
      • SolarWinds Lab
      • SolarWinds Lab Archive
      • THWACKcamp 2022
      • SolarWinds User Groups
      • SolarWinds Events Calendar
    • Missions & Contests
      • Monthly Mission: Data Speedway
      • THWACK 101
    • Musings
      • Water Cooler
      • Geek Tank
      • IT Tech Jobs/Careers
      • Monitoring for Managers
    •  
      •  
  • Content Exchange
    • The Orion Platform
      • Alerts
      • Custom HTML
      • Custom Queries
      • Modern Dashboards
      • Reports
      • Scripts
    • Network Performance Monitor
      • Device Pollers
      • Universal Device Pollers (UnDP)
    • Network Configuration Manager
      • Config Change Scripts
      • Device Templates
      • Firmware Upgrade Templates
      • Policy Documents
    • Server & Application Monitor
      • API Pollers
      • Application Monitor Templates
    • Server Configuration Monitor
      • Policies
      • Profiles
    • Database Performance Analyzer
      • Custom Alerts
      • Custom Metrics
      • Custom Queries
    • SQL Sentry
      • Advisory Conditions
    • Web Help Desk
      • Style Sheets
  • Academy
    • Newsroom
    • Forums
      • Classroom Discussions
      • SolarWinds Certified Professional (SCP)
    • Training & Certification
  • Free Tools & Trials
  • Store
The Orion Platform
  • Content Exchange
The Orion Platform
Scripts Register Passive Agents to SolarWinds Platform
  • Tags
  • More
  • Cancel
Options
  • View all
  • Previous
  • Next
  • View slideshow
  • More
  • Cancel
fileName

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 not work for a Linux target.

Comments abound, but you are welcome to try it yourself.

  • SolarWinds Platform 2022.2
  • Agent Management
KMSigma.SWI
KMSigma.SWI
  • 6 Jul 2022
  • 16 Downloads
  • Share
  • More
  • Cancel
  • Sign in to reply
  • KMSigma.SWI
    KMSigma.SWI over 1 year ago in reply to omavel

    The Shared Secret for MSI deployed is an empty string (it's documented in the script).

    # Passive Agent Details
    # -------BEGIN-------
    $agentName = 'TestingWindows'
    $agentHostname = 'WIN-9U6765CNCDDCP'
    # recommend using the IP for the hostname as well if domain name resolution won't work
    $agentHostname = '192.168.21.211'
    $agentIpAddress = '192.168.21.211'
    $agentPort = 17790 # default
    $pollingEngineId = 1 # primary polling engine, otherwise get the ID from the Orion.Engines entity
    $sharedSecret = '' # empty for MST-deployed agents
    $proxyId = 0 # if you are using no proxy, otherwise get the ID from the Orion.AgentManagement.Proxy entity
    $autoUpdateEnabled = $false # default is typically $true
    # --------END--------

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • omavel
    omavel over 1 year ago

    Shared Secret

    What if agents were deployed with GPO (msi+mst)?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ray_omp
    ray_omp over 1 year ago

    excellent report

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel

SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 190,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.

SolarWinds Customer Success Center Certification SolarWinds Lab Link Accounts
About THWACK Blogs Federal & Government Edit Settings Free Tools & Trials
Legal Documents Terms of Use Privacy California Privacy Rights Security Information
©2021 SolarWinds Worldwide, LLC. All Rights Reserved.