This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

All Interfaces

I've been asked to add a large number of Meraki devices to SolarWinds for monitoring. One aspect of this process is to come away with a report showing the port/interface configuration for all ports on the device. We know we have ports that are supposed to be active and some that are not. I scripted the discovery process using the configuration values below. It seems though that the only interfaces being discovered are the active ones be they up or down. Each Meraki has 3 LANs and for any of the LANs, there will be some ports that are not used but, they don't appear to be discovered as they do not show up in the Interfaces table for that device. How do I configure discovery to pick those up? My use case request is to alert when a disabled port is made enabled.

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

    $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>true</UseDefaults>

    </InterfacesDiscoveryPluginContext>

    ").DocumentElement

$StartDiscoveryContext = ([xml]"

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

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

     <EngineId>$EngineID</EngineId>

     <JobTimeoutSeconds>3600</JobTimeoutSeconds>

     <SearchTimeoutMiliseconds>2500</SearchTimeoutMiliseconds>

     <SnmpTimeoutMiliseconds>2500</SnmpTimeoutMiliseconds>

     <SnmpRetries>1</SnmpRetries>

     <RepeatIntervalMiliseconds>2500000</RepeatIntervalMiliseconds>

     <SnmpPort>161</SnmpPort>

     <HopCount>0</HopCount>

     <PreferredSnmpVersion>SNMP2c</PreferredSnmpVersion>

     <DisableIcmp>false</DisableIcmp>

     <AllowDuplicateNodes>false</AllowDuplicateNodes>

     <IsAutoImport>true</IsAutoImport>

     <IsHidden>false</IsHidden>

     <PluginConfigurations>

      <PluginConfiguration>

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

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

      </PluginConfiguration>

     </PluginConfigurations>

    </StartDiscoveryContext>

    ").DocumentElement