This script will import ip addresses for network devices into Solarwinds and spread the nodes across the Poller Servers. I hope this can be useful and please change what you need to change. <# |
.NOTES
========================================================================================================
Created with: | Microsoft PowerShell Source File -- Created with SAPIEN Technologies PrimalScript 2014 |
Created on: | 10/27/2014 1:37 PM |
Created by: | Thomas Petersen |
Organization: | Kaiser Permanente |
Filename: | sdkimport.ps1 using powershell v2 |
========================================================================================================
.DESCRIPTION
Nigtly automated task - Import network devices only(routers, switches, etc.) into Solarwinds using the SDK from a database or text file. Looks at Solarwinds database
directly for information only. If node | imported is already in database with more than the 4 default pollers it adds those pollers. It evenly spreads out the nodes |
to all existing poller servers using the element count. If node is a duplicate off-line or has an snmp error it records it in a log but does not add it to the
database. It sends out an email when completed with details and to which Poller the node was added.
This script was designed to handle a 24 Poller Server environment
DISCLAIMER: This script is constantly evolving and the creator takes no responsibility on how this script may work in your environment.
Email example - files contain the ip's for that category