7 Replies Latest reply on Mar 20, 2018 1:49 PM by mesverrum

    How do bulk add Route table monitoring

    hjarriell

      I have about 150 routers that need to have the routing table monitored.  How do I do it in bulk?  I tuned on the Solarwinds Routing poller, but that hasn't made a difference.

        • Re: How do bulk add Route table monitoring
          mesverrum

          When you say you "turned on" the routing poller, what do you mean?  The discovery interval is once every 3 hours by default, so it could be that it just hasn't taken effect yet. 

           

          I can think of two places where you might have turned it on in bulk, either going to Settings > Manage Pollers > Routing > +Assign

          or with a SQL update directly in the database.  I've done it both ways successfully, but like I said it can take a bit to get back.

          • Re: How do bulk add Route table monitoring
            neomatrix1217

            When you go to one of the nodes and you do a list resources do you see routing in the list?

              • Re: How do bulk add Route table monitoring
                hjarriell

                I see routing in the list. 

                 

                It shows:

                 

                Routing

                     Routing table

                     BGP neighbors

                     EIGRP neighbors

                 

                 

                I am looking for a way to check the Routing table entry without having to manually go to each device's List Resources.

                  • Re: How do bulk add Route table monitoring
                    neomatrix1217

                    Ok then you can do that the way  mesverrum    suggested by assigning that Routing Poller to those nodes.

                     

                      • Re: How do bulk add Route table monitoring
                        hjarriell

                        Yesterday afternoon I turned on the Routing Poller...

                         

                         

                         

                         

                        This morning, the router is still not gathering the routing table and it isn't checked in the List Resources as shown below...

                         

                          • Re: How do bulk add Route table monitoring
                            mesverrum

                            Not sure why the manage pollers thing in the GUI is buggy for you, I'd open a ticket but if you have the SDK installed you can try this posh script if you like to turn them all on

                             

                            <#------------- CONNECT TO SWIS -------------#>

                            # load the snappin if it's not already loaded (step 1)

                            if (!(Get-PSSnapin | Where-Object { $_.Name -eq "SwisSnapin" })) {

                                Add-PSSnapin "SwisSnapin"

                            }

                             

                             

                            #define target host and credentials

                            $hostname = 'localhost'

                            #$user = "admin"

                            #$password = "password"

                            # create a connection to the SolarWinds API

                            #$swis = connect-swis -host $hostname -username $user -password $password -ignoresslerrors

                            $swis = Connect-Swis -Hostname $hostname -Trusted

                             

                             

                            <#------------- ACTUAL SCRIPT -------------#>

                             

                             

                             

                             

                            $query = @"

                            select

                            n.uri, n.pollertype

                            from orion.pollers n

                            where pollertype like 'n.routing%routingtable%' and enabled=0

                            "@

                            $Nodes = Get-SwisData $swis $query

                             

                             

                            $propbag = @{

                                "enabled" = 1 ;

                            }

                             

                             

                             

                             

                            # iterate through this list and update each group

                            foreach($Node in $Nodes) 

                                { 

                                # write out which group we're working with

                                "Working with $($Node.Pollertype)"

                               

                                Set-SwisObject -SwisConnection $swis -Uri $Node.uri -properties $propbag   

                                }