3 Replies Latest reply on Apr 7, 2017 12:28 PM by wluther

    Any way to exclude a device from downloading startup configs?

    cdow2011

      We have a large number of devices (not ALL, but lots) which do not actually have startup configs. (RuggedCom rx1500's.)  Maybe I'm missing it, but is there any way to tell NCM that this device doesn't download startup configs?

       

      I tried pulling the Startup Config line out of the device template.  Also tried replacing "startup" with "".  Neither worked.

       

      For the time being, I've edited the device template to download the running config for both running and startup, but there's really no point in downloading the configs twice.

       

      If there's no way to do this currently, I'll probably submit this as a feature request. It seems really basic. Thanks.

        • Re: Any way to exclude a device from downloading startup configs?
          wluther

          cdow2011 I simply build another NCM job to backup those devices separately from the other devices. Within the job, I specify to only download the running configs. That is how I handle this task for our Cisco ASR 9K devices.

           

          Let us know if that works for you, please.

           

          Thank you,

           

          -Will

            • Re: Any way to exclude a device from downloading startup configs?
              cdow2011

              I'll have to look into this, thank you!

               

              How does the running/startup mismatch report pie chart work, then?  Do you do something to exclude these devices from that comparison?

                • Re: Any way to exclude a device from downloading startup configs?
                  wluther

                  They do show up under the "Unknown" tab, or pie slice. However, I have a simple table setup, using a SWQL query, to show me the "real" stats, which do not include the "unknown" devices.

                   

                  ncm_config_conflicts-001.PNG

                   

                   

                  This is the SWQL query I use to create the table that shows me only the devices that either DO or DO NOT have conflicts, there is no try... err.. I mean, there are no "unknown" devices....

                  select distinct
                    CASE
                    WHEN CacheResults.DiffFlags = 1 THEN 'conflict'
                    WHEN CacheResults.DiffFlags = 0 THEN 'noConflict'
                    ELSE 'unknown'
                    END as NCMNodeStatus,
                    Orion.NodeID,
                    Orion.Caption,
                    Orion.IPAddress,
                    CacheResults.DiffFlags,
                  
                  Orion.DetailsUrl,
                  Orion.Status,
                  Orion.ChildStatus,
                  Orion.Vendor
                  
                    FROM Cirrus.NodeProperties as NCMNodeProperties
                    join Orion.Nodes as Orion on Orion.NodeID=NCMNodeProperties.CoreNodeId
                    join
                  (
                  select NodeID
                  from Orion.NodesCustomProperties
                  where Testing="False"
                  
                  ) as OrionCustomProperties
                  on Orion.NodeId= OrionCustomProperties.NodeId
                    inner join Orion.Vendors AS OrionVendors ON Orion.Vendor=OrionVendors.Name
                    left join
                    (
                    select
                    DiffFlag as DiffFlags,
                    NodeID
                    from Cirrus.LatestComparisonResults
                    where
                    ComparisonType=1
                  
                    ) as CacheResults
                  
                    on NCMNodeProperties.NodeID=CacheResults.NodeID
                  
                  where CacheResults.DiffFlags = 1
                  
                  ORDER BY Orion.Caption ASC
                  

                   

                   

                   

                  I hope that helps.

                   

                   

                  Thank you,

                   

                  -Will