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

Re: Alert when Wireless MAC address is seen on LAN

$
0
0

ASSUMPTIONS/DEPENDENCIES:

  • All of your endpoints need to be in NPM inventory
  • All of your endpoints have a True/False custom property called "Wireless"

 

SELECT DISTINCT Nodes.NodeID AS NetObjectID, Nodes.Caption AS Name
FROM Nodes
WHERE Nodes.Wireless = 0
AND Nodes.NodeID IN  (SELECT NodeMACAddresses.NodeID  FROM NodeMACAddresses  WHERE NodeMACAddresses.NodeID IN  (SELECT UDT_AllWLEndpoints.NodeID FROM UDT_AllWLEndpoints))

 

 

This should work as a Custom SQL Alert for Nodes.

 

I haven't taken a hard look at the UDT tables and views, but I am not 100% sure there will be something in there that marks devices as non-Wireless (so to speak). There are 2 main views for UDT endpoints: UDT_AllEndpoints and UDT_AllWLEndpoints...

    I *think* that the UDT_AllEndpoints holds all endpoints, not just the wired. And AllWLEndpoints holds all of the Wireless Endpoints.

 

So, it isn't as easy as saying "IF Wired.MAC = Wireless.MAC THEN Alert". But the above SQL will work if you take the time to add your endpoints and mark them with a custom property.

 

I'm hopeful someone in the community might be able to provide some insight into another part of UDT that might mark nodes as wired. If we can find that point, then it simplifies this considerably.

 

Good Luck!

 

-ZackM

Loop1 Systems: SolarWinds Training and Professional Services


Viewing all articles
Browse latest Browse all 20396

Trending Articles



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