Ad Widget

Collapse

display network device firmware version on map (inside label)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • toottoot
    Junior Member
    • Jul 2024
    • 3

    #1

    display network device firmware version on map (inside label)

    Hi all.

    I'm using Zabbix Zabbix 6.4.8. and I have a Zabbix map of network devices that exist in my network. Id like to be able to display the firmware version that the devices are running - but within the label of each device displayed on the map.

    I'm trying to use the HP enterprise switch by SNMP template at the moment, and ive tried a few combinations.

    if I place, {ITEM.VALUE[system.hw.firmware]} in the label, this is not recognized by zabbix.

    Also tried using: {?last(/HP Enterprise Switch by SNMP/system.hw.firmware)}
    However on this occasion, the label changes but displays: *UNKNOWN*

    If I open up the latest data under that host/network device the firmware version is indeed being pulled through by SNMP so the device is connected and SNMP is indeed working.

    Would anyone be able to point me in the right direction?

    Thanks



  • toottoot
    Junior Member
    • Jul 2024
    • 3

    #2
    Just bumping this one - would be appreciative if anyone has a solution. Thanks

    Comment

    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #3
      Why you don’t read docs? https://www.zabbix.com/documentation...ation/maps/map
      {?last(/host/key)}
      host name! Not template name
      Last edited by Hamardaban; 31-07-2024, 19:48.

      Comment


      • toottoot
        toottoot commented
        Editing a comment
        Thanks for your help Hamardaban,

        I've had a look at your article, (thankyou for this), and tried using {HOST.NAME} - Firmware: {?last(/coreswitch/system.hw.firmware)} - coreswitch being the hostname, and this did indeed work, however to save me changing the hostname for each element in this string when im pasting this into the many hosts on my map, is there some kind of hotkey you can use for the hostname?

        I tried {?last(/host/system.hw.firmware)} but this is not working as the word "host" is not resolving unfortunately.
    • toottoot
      Junior Member
      • Jul 2024
      • 3

      #4
      Don't worry I figured it out

      Firmware: {?last(/{HOST.HOST}/system.hw.firmware)}

      So HOST.HOST was the answer. Thanks for putting me on the right track

      Comment


      • Hamardaban
        Hamardaban commented
        Editing a comment
        You welcome
    Working...