43 Replies Latest reply on Apr 17, 2017 11:20 AM by bstreet1967

    Bit of help pls?

    bstreet1967

      I am using vRealize and Azure to build Windows servers for my company.  After these boxes are built our help desk would like to have the new servers managed in Orion automatically.  Is there a simple way to add these servers to Orion with a powershell script?  I apologize but I have also never used Orion either. 

       

      Thanks

      - Bill

        • Re: Bit of help pls?
          tdanner

          You should probably familiarize yourself with Orion first. Is there another group that handles server monitoring? If so, you should talk to them to understand what they expect from your automation.

           

          Next, you should decide whether you want to use the REST API for Orion or the PowerShell cmdlets. The formats for these options are documented on GitHub:

           

          REST · solarwinds/OrionSDK Wiki · GitHub

          PowerShell · solarwinds/OrionSDK Wiki · GitHub

           

          Next, for the specific task of adding Windows servers to Orion for monitoring, look at the Discovery API:

           

          Discovery · solarwinds/OrionSDK Wiki · GitHub

           

          The samples on that page are in PowerShell, but you can do the same thing via the REST API.

            • Re: Bit of help pls?
              bstreet1967

              Thanks for the information its been really helpful.  I did pull the code for the Core Plugin Configuration and modded it to my use.

               

              $CorePluginConfigurationContext = ([xml]"<CorePluginConfigurationContext xmlns='http://schemas.solarwinds.com/2012/Orion/Core' xmlns:i='http://www.w3.org/2001/XMLSchema-instance'>

                  <BulkList>

                      <IpAddress>

                          <Address>$NewSrvrIP</Address>

                      </IpAddress>

                  </BulkList>

                  <Credentials>

                      <SharedCredentialInfo>

                          <CredentialID>$domainCred</CredentialID>

                          <Order>1</Order>

                      </SharedCredentialInfo>

                  </Credentials>

                      <WmiRetriesCount>1</WmiRetriesCount>

                  <WmiRetryIntervalMiliseconds>1000</WmiRetryIntervalMiliseconds>

              </CorePluginConfigurationContext>

              ").DocumentElement

               

              Unfortunately its tossing this error:

               

              Invoke-SwisVerb : Verb Orion.Discovery.CreateCorePluginConfiguration cannot unpackage parameter 0 of type

              SolarWinds.Data.Providers.Orion.Verbs.Discovery+CorePluginConfigurationContext

              At line:20 char:28

              + ... iguration = Invoke-SwisVerb $swis Orion.Discovery CreateCorePluginCon ...

              +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                  + CategoryInfo          : InvalidOperation: (:) [Invoke-SwisVerb], FaultException`1

                  + FullyQualifiedErrorId : SwisError,SwisPowerShell.InvokeSwisVerb

               

              I did google and found this:  10.4.1 - use of Orion.Discovery verbs  However, when making these changes to the code it produces an object error like this:

               

              Invoke-SwisVerb : Object reference not set to an instance of an object.

              At line:18 char:28

              + ... iguration = Invoke-SwisVerb $swis Orion.Discovery CreateCorePluginCon ...

              +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                  + CategoryInfo          : InvalidOperation: (:) [Invoke-SwisVerb], FaultException`1

                  + FullyQualifiedErrorId : SwisError,SwisPowerShell.InvokeSwisVerb

               

              Kind of at a loss at this point.  Has anyone seen this recently?

               

               

              Thanks

              - Bill

                • Re: Bit of help pls?
                  Michael Halpin

                  What versions of the Orion Modules are you running?

                    • Re: Bit of help pls?
                      bstreet1967

                      Version 1.9.137.0

                        • Re: Bit of help pls?
                          bstreet1967

                          Just updated to the latest version.  Same issue.

                           

                          Invoke-SwisVerb : Object reference not set to an instance of an object.

                          At C:\Users\XXXX\Desktop\Untitled1.ps1:31 char:28

                          + ... iguration = Invoke-SwisVerb $swis Orion.Discovery CreateCorePluginCon ...

                          +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                              + CategoryInfo          : InvalidOperation: (:) [Invoke-SwisVerb], FaultException`1

                              + FullyQualifiedErrorId : SwisError,SwisPowerShell.InvokeSwisVerb

                          Invoke-SwisVerb : Verb Orion.Discovery.StartDiscovery cannot unpackage parameter 0 of type SolarWinds.Data.Providers.Orion.Verbs.Discovery+StartDiscoveryContext

                          At C:\Users\XXXXX\Desktop\Untitled1.ps1:82 char:24

                          + ... rofileID = (Invoke-SwisVerb $swis Orion.Discovery StartDiscovery @($S ...

                          +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                              + CategoryInfo          : InvalidOperation: (:) [Invoke-SwisVerb], FaultException`1

                              + FullyQualifiedErrorId : SwisError,SwisPowerShell.InvokeSwisVerb

                            • Re: Bit of help pls?
                              tdanner

                              Can you post more of your script plus the versions of the Orion product(s) you are using it with?

                                • Re: Bit of help pls?
                                  bstreet1967

                                  Full script.  I have installed vRealize Automation and as part of the build process I wanted servers built with vRA to be automatically added into Orion.  According to our admin, there are no special groups.  They simply monitor up/down, disk space etc.  The process they use to manage nodes are to go to SETTINGS -> MANAGE NODES -> ADD NODE. There they input the IP and SNMP string.

                                   

                                  Orion Platform 2016.2.100, DPA 10.2.0, NPM 12.0.1, IVIM 2.1.2, NetPath 1.0.1, QoE 2.2.0, SAM 6.3.0, Toolset 11.0.3 © 1999-2017 SolarWinds Worldwide, LLC. All Rights Reserved.

                                   

                                   

                                   

                                  #Param (

                                  #    $NewSrvrIP

                                  #)

                                   

                                  $NewSrvrIP = "10.10.118.4"

                                  Add-PSSnapin SwisSnapin

                                   

                                  $PasswordFile = "\\p10itutil01\swd$\Scripts\ServerAutoDeploy\domser.txt"

                                  $KeyFile = "\\p10itutil01\swd$\Scripts\ServerAutoDeploy\key2.txt"

                                  $Key = Get-Content $KeyFile

                                  $domainuser = "srv_vcac@amwins.local"

                                  $domainCred = New-Object -TypeName System.Management.Automation.PSCredential `

                                  -ArgumentList $domainuser, (Get-Content $PasswordFile | ConvertTo-SecureString -Key $key)

                                   

                                  $swis = Connect-Swis -Credential $domainCred -Hostname orion.amwins.local

                                   

                                  $CorePluginConfigurationContext = [xml]("<CorePluginConfigurationContext xmlns:i='http://www.w3.org/2001/XMLSchema-instance' xmlns='http://schemas.solarwinds.com/2012/Orion/Core'>

                                      <BulkList>

                                          <IpAddress>

                                              <Address>$NewSrvrIP</Address>

                                          </IpAddress>

                                      </BulkList>

                                      <Credentials>

                                          <SharedCredentialInfo>

                                              <CredentialID>$domainuser</CredentialID>

                                            </SharedCredentialInfo>

                                      </Credentials>

                                      <WmiRetriesCount>0</WmiRetriesCount>

                                      <WmiRetryIntervalMiliseconds>0</WmiRetryIntervalMiliseconds>

                                  </CorePluginConfigurationContext>").DocumentElement

                                  $CorePluginConfiguration = Invoke-SwisVerb $swis Orion.Discovery CreateCorePluginConfiguration @($CorePluginConfigurationContext)

                                   

                                   

                                  ##Configure the Interface

                                  $InterfacesPluginConfigurationContext = ([xml]"<InterfacesDiscoveryPluginContext xmlns='http://schemas.solarwinds.com/2008/Interfaces' xmlns:a='http://schemas.microsoft.com/2003/10/Serialization/Arrays'>

                                      <AutoImportStatus>

                                          <a:string>Up</a:string>

                                          <a:string>Down</a:string>

                                          <a:string>Shutdown</a:string>

                                      </AutoImportStatus>

                                      <AutoImportVirtualTypes>

                                          <a:string>Virtual</a:string>

                                          <a:string>Physical</a:string>

                                      </AutoImportVirtualTypes>

                                      <AutoImportVlanPortTypes>

                                          <a:string>Trunk</a:string>

                                          <a:string>Access</a:string>

                                          <a:string>Unknown</a:string>

                                      </AutoImportVlanPortTypes>

                                      <UseDefaults>false</UseDefaults>

                                  </InterfacesDiscoveryPluginContext>

                                  ").DocumentElement

                                   

                                  $InterfacesPluginConfiguration = Invoke-SwisVerb $swis Orion.NPM.Interfaces CreateInterfacesPluginConfiguration @($InterfacesPluginConfigurationContext)

                                  $EngineID = 1

                                  $DeleteProfileAfterDiscoveryCompletes = "true"

                                   

                                  ## Configure Discovery

                                  $StartDiscoveryContext = ([xml]"<StartDiscoveryContext xmlns='http://schemas.solarwinds.com/2012/Orion/Core' xmlns:i='http://www.w3.org/2001/XMLSchema-instance'>

                                      <Name>Script Discovery $([DateTime]::Now)</Name>

                                      <EngineId>$EngindId</EngineId>

                                      <JobTimeoutSeconds>3600</JobTimeoutSeconds>

                                      <SearchTimeoutMiliseconds>2000</SearchTimeoutMiliseconds>

                                      <SnmpTimeoutMiliseconds>2000</SnmpTimeoutMiliseconds>

                                      <SnmpRetries>1</SnmpRetries>

                                      <RepeatIntervalMiliseconds>1500</RepeatIntervalMiliseconds>

                                      <SnmpPort>161</SnmpPort>

                                      <HopCount>0</HopCount>

                                      <PreferredSnmpVersion>SNMP2c</PreferredSnmpVersion>

                                      <DisableIcmp>false</DisableIcmp>

                                      <AllowDuplicateNodes>false</AllowDuplicateNodes>

                                      <IsAutoImport>true</IsAutoImport>

                                      <IsHidden>$DeleteProfileAfterDiscoveryCompletes</IsHidden>

                                      <PluginConfigurations>

                                          <PluginConfiguration>

                                              <PluginConfigurationItem>$($CorePluginConfiguration.InnerXml)</PluginConfigurationItem>

                                              <PluginConfigurationItem>$($InterfacesPluginConfiguration.InnerXml)</PluginConfigurationItem>

                                          </PluginConfiguration>

                                      </PluginConfigurations>

                                  </StartDiscoveryContext>

                                  ").DocumentElement

                                   

                                  $DiscoveryProfileID = (Invoke-SwisVerb $swis Orion.Discovery StartDiscovery @($StartDiscoveryContext)).InnerText

                                   

                                  do {

                                      Start-Sleep -Seconds 1

                                      $Status = Get-SwisData $swis "SELECT Status FROM Orion.DiscoveryProfiles WHERE ProfileID = @profileId" @{profileId = $DiscoveryProfileID}

                                  } while ($Status -eq 1)

                                   

                                  $Result = Get-SwisData $swis "SELECT Result, ResultDescription, ErrorMessage, BatchID FROM Orion.DiscoveryLogs WHERE ProfileID = @profileId" @{profileId = $DiscoveryProfileID}

                                  Get-SwisData $swis "SELECT EntityType, DisplayName, NetObjectID FROM Orion.DiscoveryLogItems WHERE BatchID = @batchId" @{batchId = $Result.BatchID}

                                    • Re: Bit of help pls?
                                      tdanner

                                      I think I see the problem. You script is setting this variable:

                                       

                                      $EngineID = 1

                                       

                                      But the script has this line:

                                       

                                          <EngineId>$EngindId</EngineId>

                                       

                                      That's a typo on https://github.com/solarwinds/OrionSDK/wiki/Discovery (I'll fix it as soon as I post this reply), but it could be the cause of this error. Orion is trying to deserialize that as an int, but PowerShell is just leaving that xml element empty because the variable names don't match. Since the empty string is not a valid int, deserialization fails.

                                        • Re: Bit of help pls?
                                          bstreet1967

                                          Sorry for the late reply.  That is a good typo to know, but my error is happening before that.  I copied the snippet of the script that seems to originate the error.

                                           

                                          $CorePluginConfigurationContext = ([xml]"<CorePluginConfigurationContext xmlns='http://schemas.solarwinds.com/2012/Orion/Core' xmlns:i='http://www.w3.org/2001/XMLSchema-instance'>

                                              <BulkList>

                                                  <IpAddress>

                                                      <Address>$NewSrvrIP</Address>

                                                  </IpAddress>

                                              </BulkList>

                                              <Credentials>

                                                  <SharedCredentialInfo>

                                                      <CredentialID>$domainCred</CredentialID>

                                                      <Order>1</Order>

                                                  </SharedCredentialInfo>

                                              </Credentials>

                                                  <WmiRetriesCount>1</WmiRetriesCount>

                                              <WmiRetryIntervalMiliseconds>1000</WmiRetryIntervalMiliseconds>

                                          </CorePluginConfigurationContext>

                                          ").DocumentElement

                                           

                                           

                                          $CorePluginConfiguration = Invoke-SwisVerb $swis Orion.Discovery CreateCorePluginConfiguration @($CorePluginConfigurationContext)

                                           

                                          The bolded line causes this error:

                                           

                                          Invoke-SwisVerb : Verb Orion.Discovery.CreateCorePluginConfiguration cannot unpackage parameter 0 of type

                                          SolarWinds.Data.Providers.Orion.Verbs.Discovery+CorePluginConfigurationContext

                                          At C:\Users\streebil\Desktop\Add2Orion.ps1:39 char:28

                                          + ... iguration = Invoke-SwisVerb $swis Orion.Discovery CreateCorePluginCon ...

                                          +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                                              + CategoryInfo          : InvalidOperation: (:) [Invoke-SwisVerb], FaultException`1

                                              + FullyQualifiedErrorId : SwisError,SwisPowerShell.InvokeSwisVerb

                                          < : The term '<' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify

                                          that the path is correct and try again.

                                          At C:\Users\streebil\Desktop\Add2Orion.ps1:66 char:1

                                          + <EngineId>$EngindId</EngineId>

                                          + ~

                                              + CategoryInfo          : ObjectNotFound: (<:String) [], CommandNotFoundException

                                              + FullyQualifiedErrorId : CommandNotFoundException

                                           

                                          Invoke-SwisVerb : Verb Orion.Discovery.StartDiscovery cannot unpackage parameter 0 of type SolarWinds.Data.Providers.Orion.Verbs.Discovery+StartDiscoveryContext

                                          At C:\Users\streebil\Desktop\Add2Orion.ps1:98 char:24

                                          + ... rofileID = (Invoke-SwisVerb $swis Orion.Discovery StartDiscovery @($S ...

                                          +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                                              + CategoryInfo          : InvalidOperation: (:) [Invoke-SwisVerb], FaultException`1

                                              + FullyQualifiedErrorId : SwisError,SwisPowerShell.InvokeSwisVerb

                                            • Re: Bit of help pls?
                                              bstreet1967

                                              Walking through the script,

                                               

                                              - Assign an IP to be added to Orion

                                              - Load the snap in

                                              - Create a credential

                                              Assign this value to $swis: 

                                              PS C:\Users\xxxx> $swis

                                              OperationTimeout Channel ClientChannel ChannelFactory                                                                                               

                                              ---------------- ------- ------------- --------------                                                                                               

                                              01:00:00                               System.ServiceModel.ChannelFactory`1[SolarWinds.InformationService.Contract2.IStreamInformationServiceChannel]

                                               

                                              Assign this value to $CorePluginConfigurationContext

                                              PS C:\Users\xxxxx> $CorePluginConfigurationContext

                                              xmlns                       : http://schemas.solarwinds.com/2012/Orion/Core

                                              i                           : http://www.w3.org/2001/XMLSchema-instance

                                              BulkList                    : BulkList

                                              Credentials                 : Credentials

                                              WmiRetriesCount             : 1

                                              WmiRetryIntervalMiliseconds : 1000

                                                • Re: Bit of help pls?
                                                  bstreet1967

                                                  Does anyone have any additional thoughts as to why this not working?

                                                    • Re: Bit of help pls?
                                                      tdanner

                                                      Are you sure you have values for the $NewSrvrIP and $domainCred variables? Remember PowerShell variable names are case sensitive.

                                                       

                                                      When I run your chunk of script in PowerShell without filling in those variables, I get exactly the same error. When I provide values for those variables, it works fine.

                                                        • Re: Bit of help pls?
                                                          bstreet1967

                                                          Yes, I even removed the $NewSrvrIP variable and changed the $domainCred to a simple local account on the Orion server.  Here is a copy of the code.

                                                           

                                                          $secpasswd = ConvertTo-SecureString “xxxxxx” -AsPlainText -Force

                                                          $mycreds = New-Object System.Management.Automation.PSCredential (“xxxx”, $secpasswd)

                                                           

                                                          Add-PSSnapin SwisSnapin

                                                          $swis = Connect-Swis -Credential $mycreds -Hostname orion.amwins.local

                                                           

                                                          $CorePluginConfigurationContext = ([xml] "<CorePluginConfigurationContext xmlns:i='http://www.w3.org/2001/XMLSchema-instance' xmlns='http://schemas.solarwinds.com/2012/Orion/Core'>

                                                              <BulkList>

                                                                  <IpAddress>

                                                                      <Address>10.10.118.4</Address>

                                                                  </IpAddress>

                                                              </BulkList>

                                                              <Credentials>

                                                                  <SharedCredentialInfo>

                                                                      <CredentialID>$mycreds</CredentialID>

                                                                    </SharedCredentialInfo>

                                                              </Credentials>

                                                              <WmiRetriesCount>0</WmiRetriesCount>

                                                              <WmiRetryIntervalMiliseconds>0</WmiRetryIntervalMiliseconds>

                                                          </CorePluginConfigurationContext>").DocumentElement

                                                          $CorePluginConfiguration = Invoke-SwisVerb $swis Orion.Discovery CreateCorePluginConfiguration @($CorePluginConfigurationContext)

                                                           

                                                          Same error

                                                          Invoke-SwisVerb : Verb Orion.Discovery.CreateCorePluginConfiguration cannot unpackage parameter 0 of type

                                                          SolarWinds.Data.Providers.Orion.Verbs.Discovery+CorePluginConfigurationContext

                                                          At line:21 char:28

                                                          + ... iguration = Invoke-SwisVerb $swis Orion.Discovery CreateCorePluginCon ...

                                                          +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                                                              + CategoryInfo          : InvalidOperation: (:) [Invoke-SwisVerb], FaultException`1

                                                              + FullyQualifiedErrorId : SwisError,SwisPowerShell.InvokeSwisVerb

                                                            • Re: Bit of help pls?
                                                              bstreet1967

                                                              I ran the Get-SwisData $swis 'SELECT NodeID, Caption FROM Orion.Nodes' command and I am able to pull information from the Orion server.  I know the credentials are working correctly.

                                                                • Re: Bit of help pls?
                                                                  bstreet1967

                                                                  Platform Details

                                                                   

                                                                   

                                                                  Server

                                                                   

                                                                  WEB SERVERxxxxxxx
                                                                  SOFTWARE VERSIONWindows Server 2012 R2
                                                                  OS VERSION6.3.9600.0
                                                                  SERVICE PACKNone

                                                                   

                                                                  Network Elements

                                                                   

                                                                  TOTAL COUNT12872
                                                                  NODES2387
                                                                  INTERFACES5886
                                                                  VOLUMES4599

                                                                   

                                                                  Version Info

                                                                   

                                                                  ACCOUNTLIMITATIONBUILDER.EXE2016.02
                                                                  ALERTINGENGINE.EXE2015.2.0.0
                                                                  ALERTMANAGER.EXE2016.02
                                                                  ANTIXSSLIBRARY.DLL4.2.0.0
                                                                  ANTLR3.RUNTIME.DLL3.5.0.2
                                                                  BASICALERTSMANAGER.EXE2016.02
                                                                  BOUNCYCASTLE.CRYPTO.DLL1.7.5898.27424
                                                                  CASTLE.CORE.DLL3.3.0.2287
                                                                  CASTLE.WINDSOR.DLL3.3.0.2439
                                                                  CONFIGURATIONWIZARD.EXE2016.2.5300.959
                                                                  DATABASE-MAINT.EXE2016.2.5300.959
                                                                  DATABASEMANAGER.EXE10001.1.1.10108
                                                                  DOTNETOPENAUTH.CORE.DLL4.3.4.13329
                                                                  DOTNETOPENAUTH.OAUTH2.CLIENT.DLL4.3.4.13329
                                                                  DOTNETOPENAUTH.OAUTH2.CLIENTAUTHORIZATION.DLL4.3.4.13329
                                                                  DOTNETOPENAUTH.OAUTH2.DLL4.3.4.13329
                                                                  EASYNETQ.DLL0.54.3.424
                                                                  ENTITYFRAMEWORK.DLL6.0.21010.0
                                                                  ENTITYFRAMEWORK.SQLSERVER.DLL6.0.21010.0
                                                                  EO.BASE.DLL16.0.55.0
                                                                  EO.PDF.DLL16.0.55.0
                                                                  EO.WEBBROWSER.DLL16.0.55.0
                                                                  EO.WEBENGINE.DLL16.0.55.0
                                                                  EXPORTTOPDFCMD.EXE10001.1.1.121
                                                                  HAENABLEDISABLE.EXE2016.2.1.152
                                                                  HTMLAGILITYPACK.DLL1.4.6.0
                                                                  HTMLSANITIZATIONLIBRARY.DLL4.2.0.0
                                                                  ICSHARPCODE.SHARPZIPLIB.DLL0.86.0.527
                                                                  INFRAGISTICS2.SHARED.V7.3.DLL7.3.20073.38
                                                                  INSTALLHELPER.RUNONCE.EXE2016.2.5300.959
                                                                  INTEROP.CDOSYS.DLL1.0.0.0
                                                                  INTEROP.COMADMIN.DLL1.0.0.0
                                                                  INTEROP.NETFWTYPELIB.DLL1.0.0.0
                                                                  INTEROP.OLELIB.DLL1.61.0.0
                                                                  INTEROP.ORIONSWSCHEDULER8.DLL1.0.0.0
                                                                  INTEROP.SHDOCVW.DLL1.1.0.0
                                                                  INTEROP.TASKSCHEDULER.DLL1.0.0.0
                                                                  KIWI_LOGVIEWER_2.1.0_WIN32.SETUP.EXEUnknown
                                                                  LOG4NET.DLL1.2.10.0
                                                                  LOGADJUSTER.EXE2016.2.5300.959
                                                                  MAKECERT.EXE6.1.7600.16385 (win7_rtm.090713-1255)
                                                                  MICROSOFT.DEPLOYMENT.WINDOWSINSTALLER.DLL3.5.2519.0
                                                                  MICROSOFT.PRACTICES.TRANSIENTFAULTHANDLING.CORE.DLL5.1.1209.1
                                                                  MICROSOFT.WEB.SERVICES3.DLL3.0.5305.0
                                                                  MOMCONNECTORFRAMEWORKV2.DLL5.0.2749.0
                                                                  NETPERFMONEVENTLOG.DLL6.0.0.0
                                                                  NEWTONSOFT.JSON.DLL4.5.11.15520
                                                                  NINJECT.DLL3.2.2.0
                                                                  NSOFTWARE.IPWORKSSSNMP.DLL9.0.5077.0
                                                                  OPENRABBITMQCONSOLE.EXE2016.2.5300.959
                                                                  OPTIMIZEWEBSITE.EXE10001.1.1.10060
                                                                  ORIONALERTENGINE.EXE2016.02
                                                                  ORIONNPMMAPENGINE.DLL2016.02
                                                                  ORIONPERMISSIONCHECKER.EXE2016.2.5300.959
                                                                  ORIONREPORTWRITER.EXE2016.02
                                                                  ORIONSWDISCOVERYSERVICES9.DLL2016.02
                                                                  ORIONSWLOGGER.DLL2016.02
                                                                  ORIONSWSCHEDULER8.DLL2016.02
                                                                  ORIONWEB.DLL2016.2.5300.959
                                                                  PHANTOMJS.EXE1.9.2
                                                                  POLLERCHECKERTOOL.EXE2016.2.5300.959
                                                                  PRINTLAUNCHER.EXE2016.2.5300.959
                                                                  RABBITMQ.CLIENT.DLL3.6.0.0
                                                                  REGASM.EXE4.6.81.0 built by: NETFXREL2
                                                                  SCILEXER.DLL3.0.4
                                                                  SCILEXER64.DLL3.0.4
                                                                  SCINTILLANET.DLL2.5.0.0
                                                                  SMARTTHREADPOOL.DLL2.0.0.0
                                                                  SNMPWALK.EXE1.0.0.34
                                                                  SOLARWINDS.ADMINISTRATION.CONTRACT.DLL1.1.0.569
                                                                  SOLARWINDS.AGENTMANAGEMENT.CONTRACT.DLL1.6.0.331
                                                                  SOLARWINDS.ALERTING.SERVICE.EXE2016.2.5300.959
                                                                  SOLARWINDS.APIPROXYFACTORY.DLL1.0.0.12
                                                                  SOLARWINDS.ASSEMBLYRESOLVER.DLL1.0.0.15
                                                                  SOLARWINDS.BUSINESSLAYERHOST.CONTRACT.DLL2016.2.5300.959
                                                                  SOLARWINDS.BUSINESSLAYERHOST.EXE2016.2.5300.959
                                                                  SOLARWINDS.BUSINESSLAYERHOSTX64.EXE2016.2.5300.959
                                                                  SOLARWINDS.COLLECTOR.CONTRACT.DLL2.13.0.215
                                                                  SOLARWINDS.COMMON.DLL10001.1.1.10117
                                                                  SOLARWINDS.COMPRESSION.DLL10001.1.1.10066
                                                                  SOLARWINDS.CONFIGURATIONWIZARD.COMMON.DLL2016.2.5300.959
                                                                  SOLARWINDS.CONFIGURATIONWIZARD.IIS7.DLL2016.2.5300.959
                                                                  SOLARWINDS.CONFIGURATIONWIZARD.IIS7.INSTALLER.EXE2016.2.5300.959
                                                                  SOLARWINDS.CONFIGURATIONWIZARD.PERMISSIONS.DLL2016.2.5300.959
                                                                  SOLARWINDS.CONFIGURATIONWIZARD.PLUGIN.APM.DLL6.3.0.1423
                                                                  SOLARWINDS.CONFIGURATIONWIZARD.PLUGIN.COMMON.DLL2016.2.5300.959
                                                                  SOLARWINDS.CONFIGURATIONWIZARD.PLUGIN.HA.DLL2016.2.1.152
                                                                  SOLARWINDS.CONFIGURATIONWIZARD.PLUGIN.NETPATH.DLL1.0.3.31490
                                                                  SOLARWINDS.CONFIGURATIONWIZARD.PLUGIN.NPM.DLL12.0.15300.90
                                                                  SOLARWINDS.CONFIGURATIONWIZARD.PLUGIN.OIP.DLL2.6.131.0
                                                                  SOLARWINDS.CONFIGURATIONWIZARD.PLUGIN.ORION.DLL2016.2.5300.959
                                                                  SOLARWINDS.CONFIGURATIONWIZARD.PLUGIN.TOOLSET.DLL11.0.3.1245
                                                                  SOLARWINDS.CONFIGURATIONWIZARD.PLUGIN.VIM.DLL2.1.2.830
                                                                  SOLARWINDS.DATABASEMANAGER.STRINGS.DLL10001.1.1.10108
                                                                  SOLARWINDS.DATAGAP.ANALYSISTOOL.EXE10001.1.1.102
                                                                  SOLARWINDS.DEPENDENCIES.STRINGS.DLL0.0.0.0
                                                                  SOLARWINDS.DIAGNOSTICS.DBRESPONSE.EXE10001.1.1.104
                                                                  SOLARWINDS.FIPSMANAGER.EXE2016.2.5300.959
                                                                  SOLARWINDS.HIGHAVAILABILITY.CONTRACT.DLL2016.2.1.13
                                                                  SOLARWINDS.HIGHAVAILABILITY.UTILITIES.DLL2016.2.1.13
                                                                  SOLARWINDS.INFORMATIONSERVICE.CONTRACT2.DLL2016.2.0.40
                                                                  SOLARWINDS.INFORMATIONSERVICE.LINQ.DLL1.0.25.13
                                                                  SOLARWINDS.INFORMATIONSERVICE.LINQ.PLUGINS.CORE.DLL0.0.0.0
                                                                  SOLARWINDS.INTERNATIONALIZATION.DLL10001.1.1.10094
                                                                  SOLARWINDS.JOBENGINE.CONTRACT.DLL1.6.0.28
                                                                  SOLARWINDS.JOBENGINE.CONTRACT2.DLL2.11.0.244
                                                                  SOLARWINDS.LICENSING.DIAGNOSTICS.EXE4.0.0.178
                                                                  SOLARWINDS.LICENSING.FRAMEWORK.DLL4.0.0.752
                                                                  SOLARWINDS.LOGGING.DLL2016.0.1.24
                                                                  SOLARWINDS.MANAGEMENT.DLL10001.1.1.119
                                                                  SOLARWINDS.MESSAGEBUS.CONTRACT.DLL1.0.0.44
                                                                  SOLARWINDS.MESSAGEBUS.DLL1.0.0.44
                                                                  SOLARWINDS.MESSAGEBUS.RABBITMQ.DLL1.0.0.44
                                                                  SOLARWINDS.NET.ICMP.DLL10001.1.1.10065
                                                                  SOLARWINDS.NET.SNMP.DLL10001.1.1.10126
                                                                  SOLARWINDS.NET.WMI.DLL10001.1.1.10120
                                                                  SOLARWINDS.NTM.COMMON.DLL2.1.1.383
                                                                  SOLARWINDS.NTM.DATA.DLL2.1.1.383
                                                                  SOLARWINDS.NTM.DISCOVERY.DLL2.1.1.383
                                                                  SOLARWINDS.NTM.TOPOLOGY.DLL2.1.1.383
                                                                  SOLARWINDS.ORION.ACTIVEDIAGNOSTICS.CONTRACT.DLL1.5.0.599
                                                                  SOLARWINDS.ORION.ASSEMBLYRESOLVER.DLL10001.1.1.37
                                                                  SOLARWINDS.ORION.AUDITING.DLL10001.1.300.33
                                                                  SOLARWINDS.ORION.BATCHING.DLL10001.1.1.189
                                                                  SOLARWINDS.ORION.CHANNELS.DLL10001.1.1.183
                                                                  SOLARWINDS.ORION.COLLECTOR.MESSAGEPLUGIN.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORION.COLLECTOR.PLUGINS.DLL2016.2.5300.1007
                                                                  SOLARWINDS.ORION.COMMON.DLL10001.1.1.10135
                                                                  SOLARWINDS.ORION.COMMONHELPER.INTEROP.DLL1.0.0.0
                                                                  SOLARWINDS.ORION.COMPOSITION.DLL10001.1.1.37
                                                                  SOLARWINDS.ORION.CONFIGURATION.DLL10001.1.1.238
                                                                  SOLARWINDS.ORION.CORE.ACTIONS.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORION.CORE.ALERTING.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORION.CORE.ALERTING.PLUGINS.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORION.CORE.AUDITING.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORION.CORE.BUSINESSLAYER.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORION.CORE.CERTIFICATEUPDATE.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORION.CORE.COLLECTOR.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORION.CORE.COLLECTOR.MESSAGESENDER.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORION.CORE.COMMON.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORION.CORE.DATA.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORION.CORE.DATABASE.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORION.CORE.DEPENDENCIES.DLL10001.1.200.10218
                                                                  SOLARWINDS.ORION.CORE.DISCOVERY.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORION.CORE.JOBS.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORION.CORE.JOBS2.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORION.CORE.MESSAGEACTIONS.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORION.CORE.MODELS.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORION.CORE.POLLERS.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORION.CORE.REPORTING.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORION.CORE.SHAREDCREDENTIALS.DLL10001.1.1.186
                                                                  SOLARWINDS.ORION.CORE.STRINGS.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORION.CORE.SWISVIACOM.DLL1.0.0.0
                                                                  SOLARWINDS.ORION.CORE.TOPOLOGY.DLL2015.2.0.137
                                                                  SOLARWINDS.ORION.DISCOVERY.CONTRACT.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORION.DISCOVERY.FRAMEWORK.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORION.DISCOVERY.JOB.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORION.FEATUREMANAGER.INTEROP.DLL1.0.0.0
                                                                  SOLARWINDS.ORION.HIGHAVAILABILITY.AUDITING.DLL2016.2.1.152
                                                                  SOLARWINDS.ORION.HIGHAVAILABILITY.CONTRACT.DLL2016.2.1.152
                                                                  SOLARWINDS.ORION.HIGHAVAILABILITY.DLL2016.2.1.152
                                                                  SOLARWINDS.ORION.HIGHAVAILABILITY.STRINGS.DLL2016.2.1.152
                                                                  SOLARWINDS.ORION.I18N.INTEROP.DLL1.0.0.0
                                                                  SOLARWINDS.ORION.MACROPROCESSOR.CONTRACT.DLL10001.1.200.303
                                                                  SOLARWINDS.ORION.MACROPROCESSOR.DATAFORMATTERS.DLL10001.1.200.303
                                                                  SOLARWINDS.ORION.MACROPROCESSOR.DLL10001.1.200.303
                                                                  SOLARWINDS.ORION.MACROPROCESSOR.STRINGS.DLL10001.1.200.303
                                                                  SOLARWINDS.ORION.MODULE.COMMON.DLL10001.1.200.288
                                                                  SOLARWINDS.ORION.MODULE.MODELS.DLL10001.1.200.288
                                                                  SOLARWINDS.ORION.NETOBJECTS.MODELS.DLL10001.1.1.96
                                                                  SOLARWINDS.ORION.NETOBJECTS.STRINGS.DLL10001.1.1.96
                                                                  SOLARWINDS.ORION.PACKAGES.DLL1.0.0.92
                                                                  SOLARWINDS.ORION.POLLERS.FRAMEWORK.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORION.PROXY.I18N.DLL1.0.0.0
                                                                  SOLARWINDS.ORION.PROXY.I18N.STRINGS.DLL1.0.0.0
                                                                  SOLARWINDS.ORION.SECURITY.DLL10001.1.1.10099
                                                                  SOLARWINDS.ORION.SERVICEDIRECTORY.BUSINESSLAYER.DLL10001.1.1.35
                                                                  SOLARWINDS.ORION.SERVICEDIRECTORY.DLL10001.1.1.35
                                                                  SOLARWINDS.ORION.SWIS.CLIENT.DLL10001.1.300.33
                                                                  SOLARWINDS.ORION.SWIS.CONTRACT.DLL10001.1.300.33
                                                                  SOLARWINDS.ORION.SWIS.PUBSUB.DLL10001.1.300.33
                                                                  SOLARWINDS.ORION.SWIS.SCHEMAPROVIDER.DLL10001.1.300.33
                                                                  SOLARWINDS.ORION.TOPOLOGY.CALCULATION.DLL2015.2.0.137
                                                                  SOLARWINDS.ORION.TOPOLOGY.CALCULATOR.EXE2016.2.5300.959
                                                                  SOLARWINDS.ORION.TOPOLOGY.COMMON.DLL2015.2.0.137
                                                                  SOLARWINDS.ORION.TOPOLOGY.DATA.DLL2015.2.0.137
                                                                  SOLARWINDS.ORION.TOPOLOGY.FRAMEWORK.DLL2015.2.0.137
                                                                  SOLARWINDS.ORION.WEB.INTEGRATION.COMMON.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORION.WEB.INTEGRATION.DLL2016.2.5300.959
                                                                  SOLARWINDS.ORIONSCHEDULER2.DLL10001.1.1.10064
                                                                  SOLARWINDS.PACKAGING.CONTRACT.DLL1.0.0.92
                                                                  SOLARWINDS.PACKAGING.CORE.DLL1.0.0.92
                                                                  SOLARWINDS.POLLERCHECKER.CONTRACT.DLL2016.2.5300.959
                                                                  SOLARWINDS.POLLERCHECKER.DLL2016.2.5300.959
                                                                  SOLARWINDS.POLLERCHECKER.PLUGIN.CORE.DLL2016.2.5300.959
                                                                  SOLARWINDS.POLLERCHECKER.PLUGIN.POLLERCHECKER.DLL2016.2.5300.959
                                                                  SOLARWINDS.REPORTING.DLL2016.2.5300.959
                                                                  SOLARWINDS.SECURITY.CRYPTOGRAPHY.X509CERTIFICATES.DLLUnknown
                                                                  SOLARWINDS.SECURITY.CRYPTOGRAPHY.X509CERTIFICATES.X64.DLLUnknown
                                                                  SOLARWINDS.SERIALIZATION.DLL1.0.0.30
                                                                  SOLARWINDS.SERVICEDIRECTORY.CLIENT.CONTRACT.DLL1.1.0.4
                                                                  SOLARWINDS.SERVICEDIRECTORY.CLIENT.DLL1.1.0.4
                                                                  SOLARWINDS.SERVICEDIRECTORY.CONTRACT.DLL1.1.0.4
                                                                  SOLARWINDS.SERVICEDIRECTORY.DLL1.1.0.4
                                                                  SOLARWINDS.SERVICEDIRECTORY.LOCALCACHE.DLL1.1.0.4
                                                                  SOLARWINDS.SETTINGS.DLL1.0.0.37
                                                                  SOLARWINDS.SHARED.DLL10001.1.1.83
                                                                  SOLARWINDS.SHARED.STRINGS.DLL10001.1.1.83
                                                                  SOLARWINDS.SYSLOG.DLL2013.2.0.6
                                                                  SOLARWINDS.SYSLOG.STRINGS.DLL2013.2.0.6
                                                                  SOLARWINDS.WEBLAUNCHER.EXE2016.2.5300.959
                                                                  SOLARWINDSDIAGNOSTICS.EXE2016.2.5300.959
                                                                  STOPNETPERFMON.EXE2016.2.5300.959
                                                                  SWALERTACTIONS8.DLL2016.02
                                                                  SWALERTENGINE8.DLL2016.02
                                                                  SWSUBCLASS.DLL2016.02
                                                                  SWSYSLOGACTIONS.DLL2016.02
                                                                  SWTRAPACTIONS.DLL2016.02
                                                                  SWTRAPSERVICE.EXE2016.2.5300.959
                                                                  SYSLOGSERVICE.EXE2016.2.5300.959
                                                                  SYSLOGVIEWER.EXE2016.02
                                                                  SYSTEM.REACTIVE.CORE.DLL2.2.0.0
                                                                  SYSTEM.REACTIVE.INTERFACES.DLL2.2.0.0
                                                                  SYSTEM.REACTIVE.LINQ.DLL2.2.0.0
                                                                  SYSTEM.REACTIVE.PLATFORMSERVICES.DLL2.2.0.0
                                                                  TASKSCHD.DLL6.0.6001.18000 (longhorn_rtm.080118-1840)
                                                                  TDBGPP8.DLL8.0.20034.14
                                                                  TDBWSNK6.DLL5.00.0020
                                                                  TESTALERTS.EXE2016.02
                                                                  TODGUB8.DLL8.0.20034.18
                                                                  TRAPVIEWER.EXE2016.02
                                                                  VIM25SERVICE.DLL0.0.0.0
                                                                  VIM25SERVICE.XMLSERIALIZERS.DLL0.0.0.0
                                                                  VIMSERVICE.DLL0.0.0.0
                                                                  VIMSERVICE.XMLSERIALIZERS.DLL0.0.0.0
                                                                • Re: Bit of help pls?
                                                                  tdanner

                                                                  <CredentialID> needs to contain a number. You are sending a PSCredential object. I don't know what that will look like when it gets turned into XML, but it is not going to be a number.

                                                                   

                                                                  The CredentialID values correspond to the ID property of the Orion.Credential entity. You can find your stored credentials with a query like this:

                                                                   

                                                                  SELECT ID, Name, Description, CredentialType, CredentialOwner

                                                                  FROM Orion.Credential

                                                                    • Re: Bit of help pls?
                                                                      bstreet1967

                                                                      Ahhhh  When pulling the list of credentials I do not see the account I am using while I can see it through the web gui.  It was just added a bit ago, do I have to wait for it to appear??

                                                                        • Re: Bit of help pls?
                                                                          tdanner

                                                                          Where in the website do you see it?

                                                                            • Re: Bit of help pls?
                                                                              bstreet1967

                                                                              under Manage Accounts.  It shows up with the Orion logo next to it.

                                                                                • Re: Bit of help pls?
                                                                                  tdanner

                                                                                  That's an account for logging in to the Orion application. <CredentialID> needs to point to a credential Orion can use for monitoring servers/devices. You can see these in the website by going to SETTINGS > All Settings > Manage Windows Credentials or Manage SNMPv3 Credentials.

                                                                                    • Re: Bit of help pls?
                                                                                      bstreet1967

                                                                                      That helped significantly.  The majority of the script runs correctly however I get the error below when I run this line.

                                                                                       

                                                                                      $DiscoveryProfileID = (Invoke-SwisVerb $swis Orion.Discovery StartDiscovery @($StartDiscoveryContext)).InnerText

                                                                                       

                                                                                      Invoke-SwisVerb : Verb Orion.Discovery.StartDiscovery cannot unpackage parameter 0 of type SolarWinds.Data.Providers.Orion.Verbs.Discovery+StartDiscoveryContext

                                                                                      At C:\Users\streebil\Desktop\Add2Orion.ps1:87 char:24

                                                                                      + ... rofileID = (Invoke-SwisVerb $swis Orion.Discovery StartDiscovery @($S ...

                                                                                      +                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                                                                                          + CategoryInfo          : InvalidOperation: (:) [Invoke-SwisVerb], FaultException`1

                                                                                          + FullyQualifiedErrorId : SwisError,SwisPowerShell.InvokeSwisVerb

                                                                                        • Re: Bit of help pls?
                                                                                          tdanner

                                                                                          It appears that it doesn't like something about $StartDiscoveryContext. Can you post the part of the script that builds this variable?

                                                                                            • Re: Bit of help pls?
                                                                                              bstreet1967

                                                                                              ## Configure Discovery

                                                                                              $StartDiscoveryContext = ([xml]"

                                                                                              <StartDiscoveryContext xmlns='http://schemas.solarwinds.com/2012/Orion/Core' xmlns:i='http://www.w3.org/2001/XMLSchema-instance'>

                                                                                                  <Name>Script Discovery $([DateTime]::Now)</Name>

                                                                                                  <EngineId>$EngineId</EngineId>

                                                                                                  <JobTimeoutSeconds>3600</JobTimeoutSeconds>

                                                                                                  <SearchTimeoutMiliseconds>2000</SearchTimeoutMiliseconds>

                                                                                                  <SnmpTimeoutMiliseconds>2000</SnmpTimeoutMiliseconds>

                                                                                                  <SnmpRetries>1</SnmpRetries>

                                                                                                  <RepeatIntervalMiliseconds>1500</RepeatIntervalMiliseconds>

                                                                                                  <SnmpPort>161</SnmpPort>

                                                                                                  <HopCount>0</HopCount>

                                                                                                  <PreferredSnmpVersion>SNMP2c</PreferredSnmpVersion>

                                                                                                  <DisableIcmp>false</DisableIcmp>

                                                                                                  <AllowDuplicateNodes>false</AllowDuplicateNodes>

                                                                                                  <IsAutoImport>true</IsAutoImport>

                                                                                                  <IsHidden>$DeleteProfileAfterDiscoveryCompletes</IsHidden>

                                                                                                  <PluginConfigurations>

                                                                                                      <PluginConfiguration>

                                                                                                          <PluginConfigurationItem>$($CorePluginConfiguration.InnerXml)</PluginConfigurationItem>

                                                                                                          <PluginConfigurationItem>$($InterfacesPluginConfiguration.InnerXml)</PluginConfigurationItem>

                                                                                                      </PluginConfiguration>

                                                                                                  </PluginConfigurations>

                                                                                              </StartDiscoveryContext>

                                                                                              ").DocumentElement

                                                                                               

                                                                                               

                                                                                              $DiscoveryProfileID = (Invoke-SwisVerb $swis Orion.Discovery StartDiscovery @($StartDiscoveryContext)).InnerText

                                                                                                • Re: Bit of help pls?
                                                                                                  tdanner

                                                                                                  There are a few variable references here: does $EngineId have a valid value (int)? Does $DeleteProfileAfterDiscoveryCompletes have a valid value (boolean)?

                                                                                                    • Re: Bit of help pls?
                                                                                                      bstreet1967

                                                                                                      They do.

                                                                                                       

                                                                                                      $EngineID = 1

                                                                                                      $DeleteProfileAfterDiscoveryCompletes = "true"

                                                                                                        • Re: Bit of help pls?
                                                                                                          tdanner

                                                                                                          $EngineID and $EngineId are not the same. Could that be the issue?

                                                                                                           

                                                                                                          (You can add Set-StrictMode -Version latest to the script to catch issues like this.)

                                                                                                            • Re: Bit of help pls?
                                                                                                              bstreet1967

                                                                                                              I fixed the d.  Still no love but I did get more information back with the mode change.

                                                                                                               

                                                                                                              Invoke-SwisVerb : ProvideFault failed, check fault information.

                                                                                                              At C:\Users\streebil\Desktop\Add2Orion.ps1:88 char:24

                                                                                                              + ... rofileID = (Invoke-SwisVerb $swis Orion.Discovery StartDiscovery @($S ...

                                                                                                              +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                                                                                                                  + CategoryInfo          : InvalidOperation: (:) [Invoke-SwisVerb], FaultException`1

                                                                                                                  + FullyQualifiedErrorId : SwisError,SwisPowerShell.InvokeSwisVerb

                                                                                                              The property 'InnerText' cannot be found on this object. Verify that the property exists.

                                                                                                              At C:\Users\streebil\Desktop\Add2Orion.ps1:88 char:1

                                                                                                              + $DiscoveryProfileID = (Invoke-SwisVerb $swis Orion.Discovery StartDis ...

                                                                                                              + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                                                                                                                  + CategoryInfo          : NotSpecified: (:) [], PropertyNotFoundException

                                                                                                                  + FullyQualifiedErrorId : PropertyNotFoundStrict

                                                                                                               

                                                                                                              The property 'BatchID' cannot be found on this object. Verify that the property exists.

                                                                                                              At C:\Users\streebil\Desktop\Add2Orion.ps1:99 char:1

                                                                                                              + Get-SwisData $swis "SELECT EntityType, DisplayName, NetObjectID FROM  ...

                                                                                                              + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                                                                                                                  + CategoryInfo          : NotSpecified: (:) [], PropertyNotFoundException

                                                                                                                  + FullyQualifiedErrorId : PropertyNotFoundStrict

                                                                                                                • Re: Bit of help pls?
                                                                                                                  tdanner

                                                                                                                  Progress! We have gotten past the "cannot unpackage parameter 0" error. Unfortunately "ProvideFault failed" means SWIS had some error while trying to give us an error message. We'll have to go to the log file to get it. Check C:\ProgramData\SolarWinds\InformationService\v3.0\Orion.InformationService.log on the Orion server.

                                                                                                                    • Re: Bit of help pls?
                                                                                                                      bstreet1967

                                                                                                                      Whooo hoooo  I ran the script again and here are all of the log entries.

                                                                                                                       

                                                                                                                      2017-04-17 10:23:02,130 [35] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                      2017-04-17 10:23:02,130 [35] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms

                                                                                                                       

                                                                                                                       

                                                                                                                      2017-04-17 10:23:03,099 [56] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                      2017-04-17 10:23:03,099 [56] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms

                                                                                                                       

                                                                                                                       

                                                                                                                      2017-04-17 10:23:03,333 [Client Command Dispatcher Thread] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Channel action timed out. Throwing exception to client.
                                                                                                                      2017-04-17 10:23:07,146 [50] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                      2017-04-17 10:23:07,146 [50] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms

                                                                                                                       

                                                                                                                       

                                                                                                                      2017-04-17 10:23:08,115 [55] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                      2017-04-17 10:23:08,115 [55] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms

                                                                                                                       

                                                                                                                       

                                                                                                                      2017-04-17 10:23:12,161 [50] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                      2017-04-17 10:23:12,161 [50] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms

                                                                                                                       

                                                                                                                       

                                                                                                                      2017-04-17 10:23:13,130 [66] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                      2017-04-17 10:23:13,130 [66] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms

                                                                                                                       

                                                                                                                       

                                                                                                                      2017-04-17 10:23:16,146 [Client Command Dispatcher Thread] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Channel action timed out. Throwing exception to client.
                                                                                                                      2017-04-17 10:23:17,161 [65] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                      2017-04-17 10:23:17,161 [65] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms

                                                                                                                       

                                                                                                                       

                                                                                                                      2017-04-17 10:23:18,146 [51] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                      2017-04-17 10:23:18,146 [51] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms

                                                                                                                       

                                                                                                                       

                                                                                                                      2017-04-17 10:23:22,175 [78] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                      2017-04-17 10:23:22,175 [78] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms

                                                                                                                       

                                                                                                                       

                                                                                                                      2017-04-17 10:23:23,159 [17] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                      2017-04-17 10:23:23,159 [17] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms

                                                                                                                       

                                                                                                                       

                                                                                                                      2017-04-17 10:23:25,366 [Client Command Dispatcher Thread] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Channel action timed out. Throwing exception to client.
                                                                                                                      2017-04-17 10:23:27,186 [53] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                      2017-04-17 10:23:27,186 [53] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms

                                                                                                                       

                                                                                                                       

                                                                                                                      2017-04-17 10:23:28,170 [68] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                      2017-04-17 10:23:28,170 [68] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms

                                                                                                                       

                                                                                                                       

                                                                                                                      2017-04-17 10:23:28,952 [Client Command Dispatcher Thread] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Channel action timed out. Throwing exception to client.
                                                                                                                      2017-04-17 10:23:31,186 [99] ERROR SolarWinds.Orion.Core.SharedCredentials.CredentialDAL - SwisPowerShell (null) Unable to find credential with ID = 13, owner =  and credentialType = SolarWinds.Orion.Core.SharedCredentials.Credentials.UsernamePasswordCredential
                                                                                                                      2017-04-17 10:23:31,999 [99] ERROR SolarWinds.InformationService.Core.InformationService - SwisPowerShell (null) Exception for Operation: <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">

                                                                                                                        <s:Header>

                                                                                                                          <a:Action s:mustUnderstand="1">http://schemas.solarwinds.com/2007/08/informationservice/InformationService/Invoke</a:Action>

                                                                                                                          <a:MessageID>urn:uuid:f012b152-d155-4607-8812-6c074dc606ee</a:MessageID>

                                                                                                                          <a:ReplyTo>

                                                                                                                            <a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>

                                                                                                                          </a:ReplyTo>

                                                                                                                          <i18n xmlns="http://schemas.solarwinds.com/2007/08/informationservice" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

                                                                                                                            <Culture>en-US</Culture>

                                                                                                                          </i18n>

                                                                                                                          <SwisSettings xmlns="http://schemas.solarwinds.com/2007/08/informationservice" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

                                                                                                                            <AppendErrors>true</AppendErrors>

                                                                                                                            <ApplicationTag>SwisPowerShell</ApplicationTag>

                                                                                                                            <DataProviderTimeout>PT30S</DataProviderTimeout>

                                                                                                                          </SwisSettings>

                                                                                                                          <SwisProtocolVersion xmlns="http://schemas.solarwinds.com/2007/08/informationservice">2</SwisProtocolVersion>

                                                                                                                          <IsBase64EncodingAccepted xmlns="http://schemas.solarwinds.com/2007/08/informationservice">true</IsBase64EncodingAccepted>

                                                                                                                          <a:To s:mustUnderstand="1">net.tcp://orion.amwins.local:17777/SolarWinds/InformationService/v3/Orion/ssl</a:To>

                                                                                                                          <o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">

                                                                                                                            <u:Timestamp u:Id="_0">

                                                                                                                              <u:Created>2017-04-17T14:23:31.279Z</u:Created>

                                                                                                                              <u:Expires>2017-04-17T14:28:31.279Z</u:Expires>

                                                                                                                            </u:Timestamp>

                                                                                                                            <c:SecurityContextToken u:Id="uuid-c55ce570-9389-4e12-b8fd-2fb5b4aede2b-4074" xmlns:c="http://schemas.xmlsoap.org/ws/2005/02/sc">

                                                                                                                              <c:Identifier>urn:uuid:d407a850-5952-435c-9af8-57c1d1ee3bfe</c:Identifier>

                                                                                                                            </c:SecurityContextToken>

                                                                                                                            <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">

                                                                                                                              <SignedInfo>

                                                                                                                                <CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">

                                                                                                                                </CanonicalizationMethod>

                                                                                                                                <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1">

                                                                                                                                </SignatureMethod>

                                                                                                                                <Reference URI="#_0">

                                                                                                                                  <Transforms>

                                                                                                                                    <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">

                                                                                                                                    </Transform>

                                                                                                                                  </Transforms>

                                                                                                                                  <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1">

                                                                                                                                  </DigestMethod>

                                                                                                                                  <DigestValue>MkSQO1U0rvAlMTgQu+0h0lUl3S8=</DigestValue>

                                                                                                                                </Reference>

                                                                                                                              </SignedInfo>

                                                                                                                              <SignatureValue>ilYId9KzKZ37V9YEWfXD3t1k6oQ=</SignatureValue>

                                                                                                                              <KeyInfo>

                                                                                                                                <o:SecurityTokenReference>

                                                                                                                                  <o:Reference URI="#uuid-c55ce570-9389-4e12-b8fd-2fb5b4aede2b-4074">

                                                                                                                                  </o:Reference>

                                                                                                                                </o:SecurityTokenReference>

                                                                                                                              </KeyInfo>

                                                                                                                            </Signature>

                                                                                                                          </o:Security>

                                                                                                                        </s:Header>

                                                                                                                        <s:Body>

                                                                                                                          <Invoke xmlns="http://schemas.solarwinds.com/2007/08/informationservice">

                                                                                                                            <entity>Orion.Discovery</entity>

                                                                                                                            <verb>StartDiscovery</verb>

                                                                                                                            <parameters xmlns:b="http://schemas.datacontract.org/2004/07/System.Xml" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

                                                                                                                              <b:XmlElement>

                                                                                                                                <StartDiscoveryContext xmlns="http://schemas.solarwinds.com/2012/Orion/Core">

                                                                                                                                  <Name>Script Discovery 04/17/2017 10:23:31</Name>

                                                                                                                                  <EngineId>1</EngineId>

                                                                                                                                  <JobTimeoutSeconds>3600</JobTimeoutSeconds>

                                                                                                                                  <SearchTimeoutMiliseconds>2000</SearchTimeoutMiliseconds>

                                                                                                                                  <SnmpTimeoutMiliseconds>2000</SnmpTimeoutMiliseconds>

                                                                                                                                  <SnmpRetries>1</SnmpRetries>

                                                                                                                                  <RepeatIntervalMiliseconds>1500</RepeatIntervalMiliseconds>

                                                                                                                                  <SnmpPort>161</SnmpPort>

                                                                                                                                  <HopCount>0</HopCount>

                                                                                                                                  <PreferredSnmpVersion>SNMP2c</PreferredSnmpVersion>

                                                                                                                                  <DisableIcmp>false</DisableIcmp>

                                                                                                                                  <AllowDuplicateNodes>false</AllowDuplicateNodes>

                                                                                                                                  <IsAutoImport>true</IsAutoImport>

                                                                                                                                  <IsHidden>true</IsHidden>

                                                                                                                                  <PluginConfigurations>

                                                                                                                                    <PluginConfiguration>

                                                                                                                                      <PluginConfigurationItem>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;PluginItems&gt;&lt;knownTypes&gt;&lt;ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"&gt;&lt;string&gt;SolarWinds.Orion.Core.Models.Discovery.CoreDiscoveryPluginConfiguration,SolarWinds.Orion.Core.Models&lt;/string&gt;&lt;/ArrayOfstring&gt;&lt;/knownTypes&gt;&lt;pluginItem&gt;&lt;ArrayOfDiscoveryPluginConfigurationBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SolarWinds.Orion.Core.Models.Discovery"&gt;&lt;DiscoveryPluginConfigurationBase xmlns:d2p1="http://schemas.solarwinds.com/2008/Orion" i:type="d2p1:CoreDiscoveryPluginConfiguration"&gt;&lt;d2p1:ActiveDirectoryList /&gt;&lt;d2p1:AddressRange /&gt;&lt;d2p1:AgentsAddresses xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /&gt;&lt;d2p1:AutoImportVolumeTypes xmlns:d3p1="http://schemas.datacontract.org/2004/07/SolarWinds.Common.Snmp" i:nil="true" /&gt;&lt;d2p1:BulkList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"&gt;&lt;d3p1:string&gt;10.10.118.4&lt;/d3p1:string&gt;&lt;/d2p1:BulkList&gt;&lt;d2p1:Credentials&gt;&lt;d2p1:credentials&gt;&lt;knownTypes&gt;&lt;ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /&gt;&lt;/knownTypes&gt;&lt;pluginItem&gt;&lt;d2p1:ArrayOfCredential xmlns:i="http://www.w3.org/2001/XMLSchema-instance" /&gt;&lt;/pluginItem&gt;&lt;/d2p1:credentials&gt;&lt;/d2p1:Credentials&gt;&lt;d2p1:DiscoverAgentNodes&gt;false&lt;/d2p1:DiscoverAgentNodes&gt;&lt;d2p1:PreferredPollingMethod&gt;SNMP&lt;/d2p1:PreferredPollingMethod&gt;&lt;d2p1:SharedCredentials xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"&gt;&lt;d3p1:KeyValueOfintint&gt;&lt;d3p1:Key&gt;1&lt;/d3p1:Key&gt;&lt;d3p1:Value&gt;13&lt;/d3p1:Value&gt;&lt;/d3p1:KeyValueOfintint&gt;&lt;/d2p1:SharedCredentials&gt;&lt;d2p1:SubnetList /&gt;&lt;d2p1:WMICredentials /&gt;&lt;d2p1:WmiRetries&gt;1&lt;/d2p1:WmiRetries&gt;&lt;d2p1:WmiRetryInterval&gt;PT1S&lt;/d2p1:WmiRetryInterval&gt;&lt;/DiscoveryPluginConfigurationBase&gt;&lt;/ArrayOfDiscoveryPluginConfigurationBase&gt;&lt;/pluginItem&gt;&lt;/PluginItems&gt;</PluginConfigurationItem>

                                                                                                                                      <PluginConfigurationItem>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;PluginItems&gt;&lt;knownTypes&gt;&lt;ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"&gt;&lt;string&gt;SolarWinds.Interfaces.Common.Models.Discovery.InterfacesDiscoveryPluginConfiguration,SolarWinds.Interfaces.Common&lt;/string&gt;&lt;/ArrayOfstring&gt;&lt;/knownTypes&gt;&lt;pluginItem&gt;&lt;ArrayOfDiscoveryPluginConfigurationBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SolarWinds.Orion.Core.Models.Discovery"&gt;&lt;DiscoveryPluginConfigurationBase xmlns:d2p1="http://schemas.solarwinds.com/2008/Interfaces" i:type="d2p1:InterfacesDiscoveryPluginConfiguration"&gt;&lt;d2p1:AutoImportExpressionFilter xmlns:d3p1="http://schemas.datacontract.org/2004/07/" i:nil="true" /&gt;&lt;d2p1:AutoImportStatus xmlns:d3p1="http://schemas.datacontract.org/2004/07/SolarWinds.Interfaces.Common.Enums"&gt;&lt;d3p1:IfAutoImportStatus&gt;Up&lt;/d3p1:IfAutoImportStatus&gt;&lt;d3p1:IfAutoImportStatus&gt;Down&lt;/d3p1:IfAutoImportStatus&gt;&lt;d3p1:IfAutoImportStatus&gt;Shutdown&lt;/d3p1:IfAutoImportStatus&gt;&lt;/d2p1:AutoImportStatus&gt;&lt;d2p1:AutoImportVirtualTypes xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"&gt;&lt;d3p1:boolean&gt;true&lt;/d3p1:boolean&gt;&lt;d3p1:boolean&gt;false&lt;/d3p1:boolean&gt;&lt;/d2p1:AutoImportVirtualTypes&gt;&lt;d2p1:AutoImportVlanPortTypes xmlns:d3p1="http://schemas.datacontract.org/2004/07/SolarWinds.Orion.Core.Models.Enums"&gt;&lt;d3p1:VlanPortType&gt;Trunk&lt;/d3p1:VlanPortType&gt;&lt;d3p1:VlanPortType&gt;Access&lt;/d3p1:VlanPortType&gt;&lt;d3p1:VlanPortType&gt;Unknown&lt;/d3p1:VlanPortType&gt;&lt;/d2p1:AutoImportVlanPortTypes&gt;&lt;d2p1:DiscoverVLANs&gt;false&lt;/d2p1:DiscoverVLANs&gt;&lt;/DiscoveryPluginConfigurationBase&gt;&lt;/ArrayOfDiscoveryPluginConfigurationBase&gt;&lt;/pluginItem&gt;&lt;/PluginItems&gt;</PluginConfigurationItem>

                                                                                                                                    </PluginConfiguration>

                                                                                                                                  </PluginConfigurations>

                                                                                                                                </StartDiscoveryContext>

                                                                                                                              </b:XmlElement>

                                                                                                                            </parameters>

                                                                                                                          </Invoke>

                                                                                                                        </s:Body>

                                                                                                                      </s:Envelope>

                                                                                                                      2017-04-17 10:23:31,999 [99] ERROR SolarWinds.InformationService.Core.InformationService - SwisPowerShell (null) Exception caught in method SolarWinds.InformationService.Core.InformationService.Invoke

                                                                                                                      System.ServiceModel.FaultException`1[SolarWinds.Orion.Core.Common.CoreFaultContract]: ProvideFault failed, check fault information. (Fault Detail is equal to SolarWinds.Orion.Core.Common.CoreFaultContract(Unknown): System.ArgumentOutOfRangeException: Engine Id 1 does not exist

                                                                                                                      Parameter name: EngineId

                                                                                                                         at SolarWinds.Orion.Core.Common.JobEngineDAL.GetEngine(Int32 EngineID)

                                                                                                                         at SolarWinds.Orion.Core.BusinessLayer.OrionDiscoveryJobFactory.CreateDiscoveryJob(DiscoveryConfiguration configuration, IDiscoveryPluginFactory pluginFactory)

                                                                                                                         at SolarWinds.Orion.Core.BusinessLayer.OrionDiscoveryJobFactory.CreateDiscoveryJob(DiscoveryConfiguration configuration)

                                                                                                                         at SolarWinds.Orion.Core.BusinessLayer.CoreBusinessLayerService.CreateOrionDiscoveryJob(Int32 profileID, Boolean executeImmediately)

                                                                                                                         at SyncInvokeCreateOrionDiscoveryJob(Object , Object[] , Object[] )

                                                                                                                         at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)

                                                                                                                         at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)

                                                                                                                         at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc...).

                                                                                                                      2017-04-17 10:23:32,202 [65] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                      2017-04-17 10:23:32,483 [65] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms

                                                                                                                       

                                                                                                                       

                                                                                                                      2017-04-17 10:23:33,171 [34] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                      2017-04-17 10:23:33,171 [34] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms

                                                                                                                       

                                                                                                                       

                                                                                                                      2017-04-17 10:23:37,499 [47] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                      2017-04-17 10:23:37,499 [47] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms

                                                                                                                       

                                                                                                                       

                                                                                                                      2017-04-17 10:23:38,186 [78] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                      2017-04-17 10:23:38,186 [78] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms
                                                                                                                        • Re: Bit of help pls?
                                                                                                                          tdanner

                                                                                                                          You have three problems:

                                                                                                                           

                                                                                                                          1. "Unable to find credential with ID = 13" - are you sure this is the correct credential ID?

                                                                                                                          2. "Engine Id 1 does not exist" - you can query Orion.Engines to see what the right EngineID is in your system.

                                                                                                                          3. Something is messed up with RabbitMQ. I recommend you open a ticket with SolarWinds support to get this fixed - it is not SDK related.

                                                                                                                            • Re: Bit of help pls?
                                                                                                                              bstreet1967

                                                                                                                              1. That is the ID I was given, but I did find 31 others.  I will ping the team again.

                                                                                                                              2. Will do

                                                                                                                              3. Will do.

                                                                                                                                • Re: Bit of help pls?
                                                                                                                                  bstreet1967

                                                                                                                                  I think we have some progress.

                                                                                                                                   

                                                                                                                                    <s:Header>

                                                                                                                                      <a:Action s:mustUnderstand="1">http://schemas.solarwinds.com/2007/08/informationservice/InformationService/Invoke</a:Action>

                                                                                                                                      <a:MessageID>urn:uuid:d342652b-a0a9-4110-8f4a-ed2fbacfd684</a:MessageID>

                                                                                                                                      <a:ReplyTo>

                                                                                                                                        <a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>

                                                                                                                                      </a:ReplyTo>

                                                                                                                                      <i18n xmlns="http://schemas.solarwinds.com/2007/08/informationservice" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

                                                                                                                                        <Culture>en-US</Culture>

                                                                                                                                      </i18n>

                                                                                                                                      <SwisSettings xmlns="http://schemas.solarwinds.com/2007/08/informationservice" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

                                                                                                                                        <AppendErrors>true</AppendErrors>

                                                                                                                                        <ApplicationTag>SwisPowerShell</ApplicationTag>

                                                                                                                                        <DataProviderTimeout>PT30S</DataProviderTimeout>

                                                                                                                                      </SwisSettings>

                                                                                                                                      <SwisProtocolVersion xmlns="http://schemas.solarwinds.com/2007/08/informationservice">2</SwisProtocolVersion>

                                                                                                                                      <IsBase64EncodingAccepted xmlns="http://schemas.solarwinds.com/2007/08/informationservice">true</IsBase64EncodingAccepted>

                                                                                                                                      <a:To s:mustUnderstand="1">net.tcp://p10orionprod01.amwins.local:17777/SolarWinds/InformationService/v3/Orion/ssl</a:To>

                                                                                                                                      <o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">

                                                                                                                                        <u:Timestamp u:Id="_0">

                                                                                                                                          <u:Created>2017-04-17T15:36:05.383Z</u:Created>

                                                                                                                                          <u:Expires>2017-04-17T15:41:05.383Z</u:Expires>

                                                                                                                                        </u:Timestamp>

                                                                                                                                        <c:SecurityContextToken u:Id="uuid-c55ce570-9389-4e12-b8fd-2fb5b4aede2b-4092" xmlns:c="http://schemas.xmlsoap.org/ws/2005/02/sc">

                                                                                                                                          <c:Identifier>urn:uuid:25f56cbe-8c50-48fb-a12b-17d55646f71a</c:Identifier>

                                                                                                                                        </c:SecurityContextToken>

                                                                                                                                        <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">

                                                                                                                                          <SignedInfo>

                                                                                                                                            <CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">

                                                                                                                                            </CanonicalizationMethod>

                                                                                                                                            <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1">

                                                                                                                                            </SignatureMethod>

                                                                                                                                            <Reference URI="#_0">

                                                                                                                                              <Transforms>

                                                                                                                                                <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">

                                                                                                                                                </Transform>

                                                                                                                                              </Transforms>

                                                                                                                                              <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1">

                                                                                                                                              </DigestMethod>

                                                                                                                                              <DigestValue>hNO6wm9Y4PyfOa90FgnHPyFMAeY=</DigestValue>

                                                                                                                                            </Reference>

                                                                                                                                          </SignedInfo>

                                                                                                                                          <SignatureValue>jLduQPPdbXGfzFzLkhlKubgYSic=</SignatureValue>

                                                                                                                                          <KeyInfo>

                                                                                                                                            <o:SecurityTokenReference>

                                                                                                                                              <o:Reference URI="#uuid-c55ce570-9389-4e12-b8fd-2fb5b4aede2b-4092">

                                                                                                                                              </o:Reference>

                                                                                                                                            </o:SecurityTokenReference>

                                                                                                                                          </KeyInfo>

                                                                                                                                        </Signature>

                                                                                                                                      </o:Security>

                                                                                                                                    </s:Header>

                                                                                                                                    <s:Body>

                                                                                                                                      <Invoke xmlns="http://schemas.solarwinds.com/2007/08/informationservice">

                                                                                                                                        <entity>Orion.Discovery</entity>

                                                                                                                                        <verb>CreateCorePluginConfiguration</verb>

                                                                                                                                        <parameters xmlns:b="http://schemas.datacontract.org/2004/07/System.Xml" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

                                                                                                                                          <b:XmlElement>

                                                                                                                                            <CorePluginConfigurationContext xmlns="http://schemas.solarwinds.com/2012/Orion/Core">

                                                                                                                                              <BulkList>

                                                                                                                                                <IpAddress>

                                                                                                                                                  <Address>10.10.118.4</Address>

                                                                                                                                                </IpAddress>

                                                                                                                                              </BulkList>

                                                                                                                                              <Credentials>

                                                                                                                                                <SharedCredentialInfo>

                                                                                                                                                  <CredentialID>

                                                                                                                                                  </CredentialID>

                                                                                                                                                  <Order>1</Order>

                                                                                                                                                </SharedCredentialInfo>

                                                                                                                                              </Credentials>

                                                                                                                                              <WmiRetriesCount>1</WmiRetriesCount>

                                                                                                                                              <WmiRetryIntervalMiliseconds>1000</WmiRetryIntervalMiliseconds>

                                                                                                                                            </CorePluginConfigurationContext>

                                                                                                                                          </b:XmlElement>

                                                                                                                                        </parameters>

                                                                                                                                      </Invoke>

                                                                                                                                    </s:Body>

                                                                                                                                  </s:Envelope>

                                                                                                                                  2017-04-17 11:36:05,299 [87] ERROR SolarWinds.InformationService.Core.InformationService - SwisPowerShell (null)Exception caught in method SolarWinds.InformationService.Core.InformationService.Invoke

                                                                                                                                  SolarWinds.InformationService.Verb.VerbExecutorException: Verb Orion.Discovery.CreateCorePluginConfiguration cannot unpackage parameter 0 of type SolarWinds.Data.Providers.Orion.Verbs.Discovery+CorePluginConfigurationContext ---> System.Runtime.Serialization.SerializationException: There was an error deserializing the object of type SolarWinds.Data.Providers.Orion.Verbs.Discovery+CorePluginConfigurationContext. Input string was not in a correct format. ---> System.FormatException: Input string was not in a correct format.

                                                                                                                                    at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)

                                                                                                                                    at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)

                                                                                                                                    at System.Xml.XmlReader.ReadElementContentAsInt()

                                                                                                                                    at ReadSharedCredentialInfoFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString[] , XmlDictionaryString[] )

                                                                                                                                    at System.Runtime.Serialization.ClassDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context)

                                                                                                                                    at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)

                                                                                                                                    at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Int32 id, RuntimeTypeHandle declaredTypeHandle, String name, String ns)

                                                                                                                                    at ReadArrayOfSharedCredentialInfoFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString , XmlDictionaryString , CollectionDataContract )

                                                                                                                                    at System.Runtime.Serialization.CollectionDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context)

                                                                                                                                    at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)

                                                                                                                                    at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Int32 id, RuntimeTypeHandle declaredTypeHandle, String name, String ns)

                                                                                                                                    at ReadCorePluginConfigurationContextFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString[] , XmlDictionaryString[] )

                                                                                                                                    at System.Runtime.Serialization.ClassDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context)

                                                                                                                                    at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)

                                                                                                                                    at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, DataContract dataContract, String name, String ns)

                                                                                                                                    at System.Runtime.Serialization.DataContractSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName, DataContractResolver dataContractResolver)

                                                                                                                                    at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)

                                                                                                                                    --- End of inner exception stack trace ---

                                                                                                                                    at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)

                                                                                                                                    at SolarWinds.InformationService.Verb.VerbExecutorContext.<>c__DisplayClass19_0.<UnpackageParameters>b__0(Int32 index)

                                                                                                                                    --- End of inner exception stack trace ---

                                                                                                                                    at SolarWinds.InformationService.Verb.VerbExecutorContext.<>c__DisplayClass19_0.<UnpackageParameters>b__0(Int32 index)

                                                                                                                                    at SolarWinds.InformationService.Verb.VerbExecutorContext.CreateParameters(Func`2 getParameterAt, Int32 parametersCount, Stream stream)

                                                                                                                                    at SolarWinds.InformationService.Verb.VerbExecutorContext.UnpackageParameters(XmlElement[] parameters, Stream stream)

                                                                                                                                    at SolarWinds.InformationService.Core.InformationService.Invoke[T](String entity, String verb, Action`1 setupParameters, Func`2 extractReturnValue)

                                                                                                                                  2017-04-17 11:36:07,268 [107] ERROR SolarWinds.InformationService.Core.InformationService - SwisPowerShell (null)Exception for Operation: <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">

                                                                                                                                    <s:Header>

                                                                                                                                      <a:Action s:mustUnderstand="1">http://schemas.solarwinds.com/2007/08/informationservice/InformationService/Invoke</a:Action>

                                                                                                                                      <a:MessageID>urn:uuid:a3ddbbd0-cc44-431e-a58a-fe741f95a221</a:MessageID>

                                                                                                                                      <a:ReplyTo>

                                                                                                                                        <a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>

                                                                                                                                      </a:ReplyTo>

                                                                                                                                      <i18n xmlns="http://schemas.solarwinds.com/2007/08/informationservice" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

                                                                                                                                        <Culture>en-US</Culture>

                                                                                                                                      </i18n>

                                                                                                                                      <SwisSettings xmlns="http://schemas.solarwinds.com/2007/08/informationservice" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

                                                                                                                                        <AppendErrors>true</AppendErrors>

                                                                                                                                        <ApplicationTag>SwisPowerShell</ApplicationTag>

                                                                                                                                        <DataProviderTimeout>PT30S</DataProviderTimeout>

                                                                                                                                      </SwisSettings>

                                                                                                                                      <SwisProtocolVersion xmlns="http://schemas.solarwinds.com/2007/08/informationservice">2</SwisProtocolVersion>

                                                                                                                                      <IsBase64EncodingAccepted xmlns="http://schemas.solarwinds.com/2007/08/informationservice">true</IsBase64EncodingAccepted>

                                                                                                                                      <a:To s:mustUnderstand="1">net.tcp://p10orionprod01.amwins.local:17777/SolarWinds/InformationService/v3/Orion/ssl</a:To>

                                                                                                                                      <o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">

                                                                                                                                        <u:Timestamp u:Id="_0">

                                                                                                                                          <u:Created>2017-04-17T15:36:06.941Z</u:Created>

                                                                                                                                          <u:Expires>2017-04-17T15:41:06.941Z</u:Expires>

                                                                                                                                        </u:Timestamp>

                                                                                                                                        <c:SecurityContextToken u:Id="uuid-c55ce570-9389-4e12-b8fd-2fb5b4aede2b-4092" xmlns:c="http://schemas.xmlsoap.org/ws/2005/02/sc">

                                                                                                                                          <c:Identifier>urn:uuid:25f56cbe-8c50-48fb-a12b-17d55646f71a</c:Identifier>

                                                                                                                                        </c:SecurityContextToken>

                                                                                                                                        <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">

                                                                                                                                          <SignedInfo>

                                                                                                                                            <CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">

                                                                                                                                            </CanonicalizationMethod>

                                                                                                                                            <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1">

                                                                                                                                            </SignatureMethod>

                                                                                                                                            <Reference URI="#_0">

                                                                                                                                              <Transforms>

                                                                                                                                                <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">

                                                                                                                                                </Transform>

                                                                                                                                              </Transforms>

                                                                                                                                              <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1">

                                                                                                                                              </DigestMethod>

                                                                                                                                              <DigestValue>0lsmAEX0CamJQpcZsTRHMcwTBGs=</DigestValue>

                                                                                                                                            </Reference>

                                                                                                                                          </SignedInfo>

                                                                                                                                          <SignatureValue>rCXukQGxFVyRpf/55uN/yqLeysA=</SignatureValue>

                                                                                                                                          <KeyInfo>

                                                                                                                                            <o:SecurityTokenReference>

                                                                                                                                              <o:Reference URI="#uuid-c55ce570-9389-4e12-b8fd-2fb5b4aede2b-4092">

                                                                                                                                              </o:Reference>

                                                                                                                                            </o:SecurityTokenReference>

                                                                                                                                          </KeyInfo>

                                                                                                                                        </Signature>

                                                                                                                                      </o:Security>

                                                                                                                                    </s:Header>

                                                                                                                                    <s:Body>

                                                                                                                                      <Invoke xmlns="http://schemas.solarwinds.com/2007/08/informationservice">

                                                                                                                                        <entity>Orion.Discovery</entity>

                                                                                                                                        <verb>StartDiscovery</verb>

                                                                                                                                        <parameters xmlns:b="http://schemas.datacontract.org/2004/07/System.Xml" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

                                                                                                                                          <b:XmlElement>

                                                                                                                                            <StartDiscoveryContext xmlns="http://schemas.solarwinds.com/2012/Orion/Core">

                                                                                                                                              <Name>Script Discovery 04/17/2017 11:36:06</Name>

                                                                                                                                              <EngineId>2</EngineId>

                                                                                                                                              <JobTimeoutSeconds>3600</JobTimeoutSeconds>

                                                                                                                                              <SearchTimeoutMiliseconds>2000</SearchTimeoutMiliseconds>

                                                                                                                                              <SnmpTimeoutMiliseconds>2000</SnmpTimeoutMiliseconds>

                                                                                                                                              <SnmpRetries>1</SnmpRetries>

                                                                                                                                              <RepeatIntervalMiliseconds>1500</RepeatIntervalMiliseconds>

                                                                                                                                              <SnmpPort>161</SnmpPort>

                                                                                                                                              <HopCount>0</HopCount>

                                                                                                                                              <PreferredSnmpVersion>SNMP2c</PreferredSnmpVersion>

                                                                                                                                              <DisableIcmp>false</DisableIcmp>

                                                                                                                                              <AllowDuplicateNodes>false</AllowDuplicateNodes>

                                                                                                                                              <IsAutoImport>true</IsAutoImport>

                                                                                                                                              <IsHidden>true</IsHidden>

                                                                                                                                              <PluginConfigurations>

                                                                                                                                                <PluginConfiguration>

                                                                                                                                                  <PluginConfigurationItem>

                                                                                                                                                  </PluginConfigurationItem>

                                                                                                                                                  <PluginConfigurationItem>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;PluginItems&gt;&lt;knownTypes&gt;&lt;ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"&gt;&lt;string&gt;SolarWinds.Interfaces.Common.Models.Discovery.InterfacesDiscoveryPluginConfiguration,SolarWinds.Interfaces.Common&lt;/string&gt;&lt;/ArrayOfstring&gt;&lt;/knownTypes&gt;&lt;pluginItem&gt;&lt;ArrayOfDiscoveryPluginConfigurationBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SolarWinds.Orion.Core.Models.Discovery"&gt;&lt;DiscoveryPluginConfigurationBase xmlns:d2p1="http://schemas.solarwinds.com/2008/Interfaces" i:type="d2p1:InterfacesDiscoveryPluginConfiguration"&gt;&lt;d2p1:AutoImportExpressionFilter xmlns:d3p1="http://schemas.datacontract.org/2004/07/" i:nil="true" /&gt;&lt;d2p1:AutoImportStatus xmlns:d3p1="http://schemas.datacontract.org/2004/07/SolarWinds.Interfaces.Common.Enums"&gt;&lt;d3p1:IfAutoImportStatus&gt;Up&lt;/d3p1:IfAutoImportStatus&gt;&lt;d3p1:IfAutoImportStatus&gt;Down&lt;/d3p1:IfAutoImportStatus&gt;&lt;d3p1:IfAutoImportStatus&gt;Shutdown&lt;/d3p1:IfAutoImportStatus&gt;&lt;/d2p1:AutoImportStatus&gt;&lt;d2p1:AutoImportVirtualTypes xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"&gt;&lt;d3p1:boolean&gt;true&lt;/d3p1:boolean&gt;&lt;d3p1:boolean&gt;false&lt;/d3p1:boolean&gt;&lt;/d2p1:AutoImportVirtualTypes&gt;&lt;d2p1:AutoImportVlanPortTypes xmlns:d3p1="http://schemas.datacontract.org/2004/07/SolarWinds.Orion.Core.Models.Enums"&gt;&lt;d3p1:VlanPortType&gt;Trunk&lt;/d3p1:VlanPortType&gt;&lt;d3p1:VlanPortType&gt;Access&lt;/d3p1:VlanPortType&gt;&lt;d3p1:VlanPortType&gt;Unknown&lt;/d3p1:VlanPortType&gt;&lt;/d2p1:AutoImportVlanPortTypes&gt;&lt;d2p1:DiscoverVLANs&gt;false&lt;/d2p1:DiscoverVLANs&gt;&lt;/DiscoveryPluginConfigurationBase&gt;&lt;/ArrayOfDiscoveryPluginConfigurationBase&gt;&lt;/pluginItem&gt;&lt;/PluginItems&gt;</PluginConfigurationItem>

                                                                                                                                                </PluginConfiguration>

                                                                                                                                              </PluginConfigurations>

                                                                                                                                            </StartDiscoveryContext>

                                                                                                                                          </b:XmlElement>

                                                                                                                                        </parameters>

                                                                                                                                      </Invoke>

                                                                                                                                    </s:Body>

                                                                                                                                  </s:Envelope>

                                                                                                                                  2017-04-17 11:36:07,268 [107] ERROR SolarWinds.InformationService.Core.InformationService - SwisPowerShell (null)Exception caught in method SolarWinds.InformationService.Core.InformationService.Invoke

                                                                                                                                  System.ServiceModel.FaultException`1[SolarWinds.Orion.Core.Common.CoreFaultContract]: ProvideFault failed, check fault information. (Fault Detail is equal to SolarWinds.Orion.Core.Common.CoreFaultContract(Unknown): System.NullReferenceException: Object reference not set to an instance of an object.

                                                                                                                                    at SolarWinds.Orion.Core.DiscoveryPlugin.CoreDiscoveryPlugin.PreProcessDiscoveryConfiguration(DiscoveryConfigurationBase configuration)

                                                                                                                                    at SolarWinds.Orion.Core.Discovery.DAL.DiscoveryProfileDAL.StoreDiscoveryConfiguration(DiscoveryConfiguration configuration, Boolean refreshCredentialsFromDb)

                                                                                                                                    at SolarWinds.Orion.Core.Discovery.DAL.DiscoveryProfileDAL.CreateNewConfiguration(DiscoveryConfiguration configuration, Boolean refreshCredentialsFromDb, List`1& affectedCredentials)

                                                                                                                                    at SolarWinds.Orion.Core.BusinessLayer.CoreBusinessLayerService.CreateOrionDiscoveryProfile(DiscoveryConfiguration configuration, Boolean refreshCredentialsFromDb)

                                                                                                                                    at SolarWinds.Orion.Core.BusinessLayer.CoreBusinessLayerService.CreateOrionDiscoveryProfileFromConfigurationStrings(DiscoveryConfiguration configurationWithoutPluginInformation, List`1 discoveryPluginConfigurationBase...).

                                                                                                                                   

                                                                                                                                   

                                                                                                                                   

                                                                                                                                  The error is producing more information now.

                                                                                                                                   

                                                                                                                                  Invoke-SwisVerb : Verb Orion.Discovery.CreateCorePluginConfiguration cannot unpackage parameter 0 of type

                                                                                                                                  SolarWinds.Data.Providers.Orion.Verbs.Discovery+CorePluginConfigurationContext

                                                                                                                                  At C:\Users\streebil\Desktop\Add2Orion.ps1:35 char:28

                                                                                                                                  + ... iguration = Invoke-SwisVerb $swis Orion.Discovery CreateCorePluginCon ...

                                                                                                                                  +                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                                                                                                                                      + CategoryInfo          : InvalidOperation: (:) [Invoke-SwisVerb], FaultException`1

                                                                                                                                      + FullyQualifiedErrorId : SwisError,SwisPowerShell.InvokeSwisVerb

                                                                                                                                  The property 'InnerXml' cannot be found on this object. Verify that the property exists.

                                                                                                                                  At C:\Users\streebil\Desktop\Add2Orion.ps1:81 char:40

                                                                                                                                  + ...  <PluginConfigurationItem>$($CorePluginConfiguration.InnerXml)</Plugi ...

                                                                                                                                  +                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                                                                                                                                      + CategoryInfo          : NotSpecified: (:) [], PropertyNotFoundException

                                                                                                                                      + FullyQualifiedErrorId : PropertyNotFoundStrict

                                                                                                                                   

                                                                                                                                  Invoke-SwisVerb : ProvideFault failed, check fault information.

                                                                                                                                  At C:\Users\streebil\Desktop\Add2Orion.ps1:90 char:24

                                                                                                                                  + ... rofileID = (Invoke-SwisVerb $swis Orion.Discovery StartDiscovery @($S ...

                                                                                                                                  +                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                                                                                                                                      + CategoryInfo          : InvalidOperation: (:) [Invoke-SwisVerb], FaultException`1

                                                                                                                                      + FullyQualifiedErrorId : SwisError,SwisPowerShell.InvokeSwisVerb

                                                                                                                                  The property 'InnerText' cannot be found on this object. Verify that the property exists.

                                                                                                                                  At C:\Users\streebil\Desktop\Add2Orion.ps1:90 char:1

                                                                                                                                  + $DiscoveryProfileID = (Invoke-SwisVerb $swis Orion.Discovery StartDis ...

                                                                                                                                  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                                                                                                                                      + CategoryInfo          : NotSpecified: (:) [], PropertyNotFoundException

                                                                                                                                      + FullyQualifiedErrorId : PropertyNotFoundStrict

                                                                                                                                   

                                                                                                                                  The property 'BatchID' cannot be found on this object. Verify that the property exists.

                                                                                                                                  At C:\Users\streebil\Desktop\Add2Orion.ps1:98 char:1

                                                                                                                                  + Get-SwisData $swis "SELECT EntityType, DisplayName, NetObjectID FROM  ...

                                                                                                                                  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                                                                                                                                      + CategoryInfo          : NotSpecified: (:) [], PropertyNotFoundException

                                                                                                                                      + FullyQualifiedErrorId : PropertyNotFoundStrict

                                                                                                                                    • Re: Bit of help pls?
                                                                                                                                      tdanner

                                                                                                                                      This shows the call to CreateCorePluginConfiguration failing now. It was definitely working before - I can see it in the log you posted earlier today. I can also see why it is failing now:

                                                                                                                                       

                                                                                                                                      <Credentials>

                                                                                                                                                    <SharedCredentialInfo>

                                                                                                                                                      <CredentialID>

                                                                                                                                                      </CredentialID>

                                                                                                                                                      <Order>1</Order>

                                                                                                                                                    </SharedCredentialInfo>

                                                                                                                                                  </Credentials>

                                                                                                                                       

                                                                                                                                      Notice that there is nothing but a blank line in the <CredentialID> element. There needs to be a number there.

                                                                                                                                        • Re: Bit of help pls?
                                                                                                                                          bstreet1967
                                                                                                                                          2017-04-17 12:00:02,319 [61] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                                          2017-04-17 12:00:02,319 [61] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms

                                                                                                                                           

                                                                                                                                           

                                                                                                                                          2017-04-17 12:00:02,319 [70] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                                          2017-04-17 12:00:02,319 [70] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms

                                                                                                                                           

                                                                                                                                           

                                                                                                                                          2017-04-17 12:00:04,167 [Client Command Dispatcher Thread] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Channel action timed out. Throwing exception to client.
                                                                                                                                          2017-04-17 12:00:07,330 [66] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                                          2017-04-17 12:00:07,330 [66] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms

                                                                                                                                           

                                                                                                                                           

                                                                                                                                          2017-04-17 12:00:07,330 [59] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                                          2017-04-17 12:00:07,330 [59] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms

                                                                                                                                           

                                                                                                                                           

                                                                                                                                          2017-04-17 12:00:10,142 [107] ERROR SolarWinds.InformationService.Core.InformationService - SwisPowerShell (null) Exception for Operation: <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">

                                                                                                                                            <s:Header>

                                                                                                                                              <a:Action s:mustUnderstand="1">http://schemas.solarwinds.com/2007/08/informationservice/InformationService/Invoke</a:Action>

                                                                                                                                              <a:MessageID>urn:uuid:37eb7057-10f3-43c6-b42a-011ec98567fb</a:MessageID>

                                                                                                                                              <a:ReplyTo>

                                                                                                                                                <a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>

                                                                                                                                              </a:ReplyTo>

                                                                                                                                              <i18n xmlns="http://schemas.solarwinds.com/2007/08/informationservice" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

                                                                                                                                                <Culture>en-US</Culture>

                                                                                                                                              </i18n>

                                                                                                                                              <SwisSettings xmlns="http://schemas.solarwinds.com/2007/08/informationservice" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

                                                                                                                                                <AppendErrors>true</AppendErrors>

                                                                                                                                                <ApplicationTag>SwisPowerShell</ApplicationTag>

                                                                                                                                                <DataProviderTimeout>PT30S</DataProviderTimeout>

                                                                                                                                              </SwisSettings>

                                                                                                                                              <SwisProtocolVersion xmlns="http://schemas.solarwinds.com/2007/08/informationservice">2</SwisProtocolVersion>

                                                                                                                                              <IsBase64EncodingAccepted xmlns="http://schemas.solarwinds.com/2007/08/informationservice">true</IsBase64EncodingAccepted>

                                                                                                                                              <a:To s:mustUnderstand="1">net.tcp://p10orionprod01.amwins.local:17777/SolarWinds/InformationService/v3/Orion/ssl</a:To>

                                                                                                                                              <o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">

                                                                                                                                                <u:Timestamp u:Id="_0">

                                                                                                                                                  <u:Created>2017-04-17T16:00:09.147Z</u:Created>

                                                                                                                                                  <u:Expires>2017-04-17T16:05:09.147Z</u:Expires>

                                                                                                                                                </u:Timestamp>

                                                                                                                                                <c:SecurityContextToken u:Id="uuid-c55ce570-9389-4e12-b8fd-2fb5b4aede2b-4102" xmlns:c="http://schemas.xmlsoap.org/ws/2005/02/sc">

                                                                                                                                                  <c:Identifier>urn:uuid:dc460195-bb4b-49bb-ab2c-276d2afb563c</c:Identifier>

                                                                                                                                                </c:SecurityContextToken>

                                                                                                                                                <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">

                                                                                                                                                  <SignedInfo>

                                                                                                                                                    <CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">

                                                                                                                                                    </CanonicalizationMethod>

                                                                                                                                                    <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1">

                                                                                                                                                    </SignatureMethod>

                                                                                                                                                    <Reference URI="#_0">

                                                                                                                                                      <Transforms>

                                                                                                                                                        <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">

                                                                                                                                                        </Transform>

                                                                                                                                                      </Transforms>

                                                                                                                                                      <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1">

                                                                                                                                                      </DigestMethod>

                                                                                                                                                      <DigestValue>rsaHoxuMAggbBVjjv/G37fXmAOc=</DigestValue>

                                                                                                                                                    </Reference>

                                                                                                                                                  </SignedInfo>

                                                                                                                                                  <SignatureValue>b6qNK058KBYboGPsWEVcTky4NMs=</SignatureValue>

                                                                                                                                                  <KeyInfo>

                                                                                                                                                    <o:SecurityTokenReference>

                                                                                                                                                      <o:Reference URI="#uuid-c55ce570-9389-4e12-b8fd-2fb5b4aede2b-4102">

                                                                                                                                                      </o:Reference>

                                                                                                                                                    </o:SecurityTokenReference>

                                                                                                                                                  </KeyInfo>

                                                                                                                                                </Signature>

                                                                                                                                              </o:Security>

                                                                                                                                            </s:Header>

                                                                                                                                            <s:Body>

                                                                                                                                              <Invoke xmlns="http://schemas.solarwinds.com/2007/08/informationservice">

                                                                                                                                                <entity>Orion.Discovery</entity>

                                                                                                                                                <verb>StartDiscovery</verb>

                                                                                                                                                <parameters xmlns:b="http://schemas.datacontract.org/2004/07/System.Xml" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

                                                                                                                                                  <b:XmlElement>

                                                                                                                                                    <StartDiscoveryContext xmlns="http://schemas.solarwinds.com/2012/Orion/Core">

                                                                                                                                                      <Name>Script Discovery 04/17/2017 12:00:09</Name>

                                                                                                                                                      <EngineId>2</EngineId>

                                                                                                                                                      <JobTimeoutSeconds>3600</JobTimeoutSeconds>

                                                                                                                                                      <SearchTimeoutMiliseconds>2000</SearchTimeoutMiliseconds>

                                                                                                                                                      <SnmpTimeoutMiliseconds>2000</SnmpTimeoutMiliseconds>

                                                                                                                                                      <SnmpRetries>1</SnmpRetries>

                                                                                                                                                      <RepeatIntervalMiliseconds>1500</RepeatIntervalMiliseconds>

                                                                                                                                                      <SnmpPort>161</SnmpPort>

                                                                                                                                                      <HopCount>0</HopCount>

                                                                                                                                                      <PreferredSnmpVersion>SNMP2c</PreferredSnmpVersion>

                                                                                                                                                      <DisableIcmp>false</DisableIcmp>

                                                                                                                                                      <AllowDuplicateNodes>false</AllowDuplicateNodes>

                                                                                                                                                      <IsAutoImport>true</IsAutoImport>

                                                                                                                                                      <IsHidden>true</IsHidden>

                                                                                                                                                      <PluginConfigurations>

                                                                                                                                                        <PluginConfiguration>

                                                                                                                                                          <PluginConfigurationItem>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;PluginItems&gt;&lt;knownTypes&gt;&lt;ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"&gt;&lt;string&gt;SolarWinds.Orion.Core.Models.Discovery.CoreDiscoveryPluginConfiguration,SolarWinds.Orion.Core.Models&lt;/string&gt;&lt;/ArrayOfstring&gt;&lt;/knownTypes&gt;&lt;pluginItem&gt;&lt;ArrayOfDiscoveryPluginConfigurationBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SolarWinds.Orion.Core.Models.Discovery"&gt;&lt;DiscoveryPluginConfigurationBase xmlns:d2p1="http://schemas.solarwinds.com/2008/Orion" i:type="d2p1:CoreDiscoveryPluginConfiguration"&gt;&lt;d2p1:ActiveDirectoryList /&gt;&lt;d2p1:AddressRange /&gt;&lt;d2p1:AgentsAddresses xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /&gt;&lt;d2p1:AutoImportVolumeTypes xmlns:d3p1="http://schemas.datacontract.org/2004/07/SolarWinds.Common.Snmp" i:nil="true" /&gt;&lt;d2p1:BulkList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"&gt;&lt;d3p1:string&gt;10.10.118.4&lt;/d3p1:string&gt;&lt;/d2p1:BulkList&gt;&lt;d2p1:Credentials&gt;&lt;d2p1:credentials&gt;&lt;knownTypes&gt;&lt;ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /&gt;&lt;/knownTypes&gt;&lt;pluginItem&gt;&lt;d2p1:ArrayOfCredential xmlns:i="http://www.w3.org/2001/XMLSchema-instance" /&gt;&lt;/pluginItem&gt;&lt;/d2p1:credentials&gt;&lt;/d2p1:Credentials&gt;&lt;d2p1:DiscoverAgentNodes&gt;false&lt;/d2p1:DiscoverAgentNodes&gt;&lt;d2p1:PreferredPollingMethod&gt;SNMP&lt;/d2p1:PreferredPollingMethod&gt;&lt;d2p1:SharedCredentials xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /&gt;&lt;d2p1:SubnetList /&gt;&lt;d2p1:WMICredentials&gt;&lt;WMIAccess&gt;&lt;_x003C_CredentialID_x003E_k__BackingField&gt;10&lt;/_x003C_CredentialID_x003E_k__BackingField&gt;&lt;_x003C_Credential_x003E_k__BackingField&gt;&lt;d2p1:Description&gt;&lt;/d2p1:Description&gt;&lt;d2p1:ID&gt;10&lt;/d2p1:ID&gt;&lt;d2p1:IsBroken&gt;false&lt;/d2p1:IsBroken&gt;&lt;d2p1:Name&gt;admin&lt;/d2p1:Name&gt;&lt;d2p1:Owner&gt;NPM&lt;/d2p1:Owner&gt;&lt;d2p1:Password&gt;r0y@lp@!n&lt;/d2p1:Password&gt;&lt;d2p1:Username&gt;admin&lt;/d2p1:Username&gt;&lt;/_x003C_Credential_x003E_k__BackingField&gt;&lt;/WMIAccess&gt;&lt;/d2p1:WMICredentials&gt;&lt;d2p1:WmiRetries&gt;1&lt;/d2p1:WmiRetries&gt;&lt;d2p1:WmiRetryInterval&gt;PT1S&lt;/d2p1:WmiRetryInterval&gt;&lt;/DiscoveryPluginConfigurationBase&gt;&lt;/ArrayOfDiscoveryPluginConfigurationBase&gt;&lt;/pluginItem&gt;&lt;/PluginItems&gt;</PluginConfigurationItem>

                                                                                                                                                          <PluginConfigurationItem>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;PluginItems&gt;&lt;knownTypes&gt;&lt;ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"&gt;&lt;string&gt;SolarWinds.Interfaces.Common.Models.Discovery.InterfacesDiscoveryPluginConfiguration,SolarWinds.Interfaces.Common&lt;/string&gt;&lt;/ArrayOfstring&gt;&lt;/knownTypes&gt;&lt;pluginItem&gt;&lt;ArrayOfDiscoveryPluginConfigurationBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SolarWinds.Orion.Core.Models.Discovery"&gt;&lt;DiscoveryPluginConfigurationBase xmlns:d2p1="http://schemas.solarwinds.com/2008/Interfaces" i:type="d2p1:InterfacesDiscoveryPluginConfiguration"&gt;&lt;d2p1:AutoImportExpressionFilter xmlns:d3p1="http://schemas.datacontract.org/2004/07/" i:nil="true" /&gt;&lt;d2p1:AutoImportStatus xmlns:d3p1="http://schemas.datacontract.org/2004/07/SolarWinds.Interfaces.Common.Enums"&gt;&lt;d3p1:IfAutoImportStatus&gt;Up&lt;/d3p1:IfAutoImportStatus&gt;&lt;d3p1:IfAutoImportStatus&gt;Down&lt;/d3p1:IfAutoImportStatus&gt;&lt;d3p1:IfAutoImportStatus&gt;Shutdown&lt;/d3p1:IfAutoImportStatus&gt;&lt;/d2p1:AutoImportStatus&gt;&lt;d2p1:AutoImportVirtualTypes xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"&gt;&lt;d3p1:boolean&gt;true&lt;/d3p1:boolean&gt;&lt;d3p1:boolean&gt;false&lt;/d3p1:boolean&gt;&lt;/d2p1:AutoImportVirtualTypes&gt;&lt;d2p1:AutoImportVlanPortTypes xmlns:d3p1="http://schemas.datacontract.org/2004/07/SolarWinds.Orion.Core.Models.Enums"&gt;&lt;d3p1:VlanPortType&gt;Trunk&lt;/d3p1:VlanPortType&gt;&lt;d3p1:VlanPortType&gt;Access&lt;/d3p1:VlanPortType&gt;&lt;d3p1:VlanPortType&gt;Unknown&lt;/d3p1:VlanPortType&gt;&lt;/d2p1:AutoImportVlanPortTypes&gt;&lt;d2p1:DiscoverVLANs&gt;false&lt;/d2p1:DiscoverVLANs&gt;&lt;/DiscoveryPluginConfigurationBase&gt;&lt;/ArrayOfDiscoveryPluginConfigurationBase&gt;&lt;/pluginItem&gt;&lt;/PluginItems&gt;</PluginConfigurationItem>

                                                                                                                                                        </PluginConfiguration>

                                                                                                                                                      </PluginConfigurations>

                                                                                                                                                    </StartDiscoveryContext>

                                                                                                                                                  </b:XmlElement>

                                                                                                                                                </parameters>

                                                                                                                                              </Invoke>

                                                                                                                                            </s:Body>

                                                                                                                                          </s:Envelope>

                                                                                                                                          2017-04-17 12:00:10,142 [107] ERROR SolarWinds.InformationService.Core.InformationService - SwisPowerShell (null) Exception caught in method SolarWinds.InformationService.Core.InformationService.Invoke

                                                                                                                                          System.ServiceModel.FaultException`1[SolarWinds.Orion.Core.Common.CoreFaultContract]: ProvideFault failed, check fault information. (Fault Detail is equal to SolarWinds.Orion.Core.Common.CoreFaultContract(Unknown): System.ArgumentOutOfRangeException: Engine Id 2 does not exist

                                                                                                                                          Parameter name: EngineId

                                                                                                                                             at SolarWinds.Orion.Core.Common.JobEngineDAL.GetEngine(Int32 EngineID)

                                                                                                                                             at SolarWinds.Orion.Core.BusinessLayer.OrionDiscoveryJobFactory.CreateDiscoveryJob(DiscoveryConfiguration configuration, IDiscoveryPluginFactory pluginFactory)

                                                                                                                                             at SolarWinds.Orion.Core.BusinessLayer.OrionDiscoveryJobFactory.CreateDiscoveryJob(DiscoveryConfiguration configuration)

                                                                                                                                             at SolarWinds.Orion.Core.BusinessLayer.CoreBusinessLayerService.CreateOrionDiscoveryJob(Int32 profileID, Boolean executeImmediately)

                                                                                                                                             at SyncInvokeCreateOrionDiscoveryJob(Object , Object[] , Object[] )

                                                                                                                                             at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)

                                                                                                                                             at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)

                                                                                                                                             at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc...).

                                                                                                                                          2017-04-17 12:00:12,345 [21] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                                          2017-04-17 12:00:12,345 [54] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                                          2017-04-17 12:00:12,345 [21] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms

                                                                                                                                           

                                                                                                                                           

                                                                                                                                          2017-04-17 12:00:12,345 [54] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms

                                                                                                                                           

                                                                                                                                           

                                                                                                                                          2017-04-17 12:00:16,970 [Client Command Dispatcher Thread] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Channel action timed out. Throwing exception to client.
                                                                                                                                          2017-04-17 12:00:17,361 [75] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                                          2017-04-17 12:00:17,361 [68] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                                          2017-04-17 12:00:17,361 [75] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms

                                                                                                                                           

                                                                                                                                           

                                                                                                                                          2017-04-17 12:00:17,361 [68] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms

                                                                                                                                           

                                                                                                                                           

                                                                                                                                          2017-04-17 12:00:22,374 [68] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                                          2017-04-17 12:00:22,374 [75] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to Broker: 'P10ORIONPROD01', Port: 5671 VHost: '/'. ExceptionMessage: 'None of the specified endpoints were reachable'
                                                                                                                                          2017-04-17 12:00:22,374 [68] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms

                                                                                                                                           

                                                                                                                                           

                                                                                                                                          2017-04-17 12:00:22,374 [75] ERROR SolarWinds.MessageBus.RabbitMQ.EasyNetQLogger - (null) (null) Failed to connect to any Broker. Retrying in 5000 ms
                                                                            • Re: Bit of help pls?
                                                                              bluefunelemental

                                                                              Sorry to veer off the thread here but having just done this why not have agents pushed into the server images or post-build installed with GPO and/or config management?

                                                                              The only reason I use discovery anymore is for on prem snmp, vcenter, and network gear.

                                                                                • Re: Bit of help pls?
                                                                                  bstreet1967

                                                                                  That was my suggestion as well but the monitoring guys use agent-less monitoring on all of the windows boxes.  I can't get a concrete reason. Based on that I am trying to take the middle man out of the middle and add a powershell script that will add the newly deployed server to Orion once provisioned from vRA.