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.
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
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.
When you go to one of the nodes and you do a list resources do you see routing in the list?
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.
"turned on" the routing poller, I was talking about going to Settings > Manage Pollers > Routing > +Assign, then assigned the devices needed. But when I check back a day later, the routing table checkbox is still empty, and routing table isn't being polled on the device.
Ok then you can do that the way mesverrum suggested by assigning that Routing Poller to those nodes.
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...