Thanks for your information, so it seems there is no easy way to get the information.
We have many locations with a lot of switches and with our other monitoring tool (WhatsUp Gold)
there is an easy way to add these information to the notifiation (%Device.Attribute.*)
As you wrote it is a device attribute inside WhatsUp Gold. That means, it is some type of saved configuration attribute. That WhatsUp automatically stores it, is something else. Inside CMK you can reach a similar behavior with using the inventory data mentioned by @r.sander and use some script to write these information in some own defined host attributes. These attributes later can be used in the notification similar to your example from WhatsUp.
Thanks Andreas, I will try to realize it in Checkmk.
In WhatsUp we can use the following information stored in variables.
We haven’t configured these attributes in Whatsup, they come definitely from SNMP configured devices
Device.Attribute.Contact=Systems Business Services
Device.Attribute.Description=Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.2(7)E2, RELEASE SOFTWARE (fc3) Technical Support: Support - Cisco Support and Downloads – Documentation, Tools, Cases - Cisco Copyright (c) 1986-2020 by Cisco Systems, Inc. Compiled Sat 14-Mar-20 16:53 by prod_rel_team
Device.Attribute.FwVersion=15.2(7)E2
Device.Attribute.HwVersion=B0
Device.Attribute.Location=Publications Bremen
Device.Attribute.MACAddress=6C:FA:89:xx:xx:xx
Device.Attribute.MACAddressVendor=Cisco Systems Inc.
Device.Attribute.Model=WS-C2960X-24TS-L Device.Attribute.Name=SX4097P-2960X.domain.de
Device.Attribute.SerialNumber=FCW1817X16X
Device.Attribute.SwVersion=15.2(7)E2
Device.Attribute.Vendor=Cisco
Device.Attribute.Vendor_OS=
Device.Attribute.Vendor_OSVersion=
All this information is available in CheckMK’s HW/SW inventory.
The part missing as @andreas-doehler wrote is the script that puts this into custom host attributes which can be used for notifications. But the notification plugin also has to be modified. Unfortunately there is currently no generic way for using such kind of info from the device.
@gdx need the same feature. Did you realise something in the past what you would like to share? If not, what about the feature request? @martin.hirschvogel
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.