Host labels based on snmp info

Hello.

I have tried to find a way to have host lables reflect the device manufacturer. ex. cmk/device_type:cisco. I hope this isn’t a duplicate topic but I did not find a clear answer. I would like to label a host depending on what the snmp info output is. Mikrotik snmp info outputs as RouterOS… and Cisco as Cisco IOS… Is there a way to do this? I need a way to separate mikrotiks from cisco devices dynamically that can then be used in rule sets.

Hi,
have a look at this script: https://github.com/HeinleinSupport/check_mk_extensions/tree/cmk2.1/data2label

Karl

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.