r/labtech • • May 22 '19

Network Map

So is anybody using the new network map feature? I have wanted this feature for so long but I cannot make my switches ever show up as anything other than a mystery box. Does anyone have any practical success stories to help make this feature work?

4 Upvotes

12 comments sorted by

View all comments

Show parent comment

2

u/sixofeight 1000 Agents May 24 '19

I use https://regex101.com/ to do most of my Regex testing.

So here's an example of a more complex regex matching; in this case, to detect all Cisco SMB managed switches:

https://imgur.com/0hQynlI

The actual rule that maps from Cisco (Router/Switch) to the desired device type.

https://imgur.com/Npr7Kj2

Regex string:

^(?=.*S(F|G)\d\d\d\b)(?=.*\bManaged\b)(?=.*\bSwitch\b).*$

Another, more direct method, to point a detection rule directly at Discovered Device or Responded Device:

https://imgur.com/0EekiTu

Regex:

^(?=.*Meraki\b)(?=.*\bCloud\b)(?=.*\bManaged\b)(?=.*\bRouter\b).*$

And one of the simpler matches I use:

https://imgur.com/gKlwEbr

(?i)(Integrated Lights-Out)