Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 20490

Re: Changing nodes' polling address

$
0
0

Ping...Any input from the community? I have 667 nodes that do NOT have their loopback addr as their polling addr. This caused the device to alert as down when the polling addr fails. This is false alerting, the node is NOT down, just the interface SW picked (at random?) to poll on. The loopback addr, is down DOES mean the node is down.

 

Can I change the polling address to the loopback address with a SQL script (5 minutes of coding and 5 seconds of processing, max) and not toast the system ,

or do I have to go into the GUI for each of the 667 nodes and manually correct the addresses (10 hours of clicking if I skip lunch and coffee!)?


Here is the select, I can just make this into an update and fire it off:


select N.caption as 'Hostname', Na.IPAddress as 'Loopback Addr', N.IP_Address as 'Polling Addr' from interfaces I

join NodeIPAddresses Na on Na.NodeID=I.NodeID

join nodes N on N.NodeID = na.NodeID

where I.InterfaceName like '%loop%' and I.NodeID = Na.NodeID and I.InterfaceIndex=Na.InterfaceIndex and 'Polling Addr' not like 'Loopback Addr'


Viewing all articles
Browse latest Browse all 20490

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>