Ad Widget

Collapse

Record MAC address of terminal

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mantonik
    Junior Member
    • May 2015
    • 17

    #1

    Record MAC address of terminal

    Hi.

    I am trying to use automatic inventory tool to monitor MAC address of terminals.
    Base on documentations

    tems that are especially useful for automated inventory data collection:

    system.hw.chassis[full|type|vendor|model|serial] - default is [full], root permissions needed
    system.hw.cpu[all|cpunum,full|maxfreq|vendor|model|curfreq] - default is [all,full]
    system.hw.devices[pci|usb] - default is [pci]
    system.hw.macaddr[interface,short|full] - default is [all,full], interface is regex
    system.sw.arch
    system.sw.os[name|short|full] - default is [name]
    system.sw.packages[package,manager,short|full] - default is [all,all,full], package is regex


    I add new item to template MAC address
    key: system.hw.macaddr[all,full]
    and set zabbix agent (active)

    in server log I see
    1723:20150517:223059.089 item "tvm_266:system.hw.macaddr[all,full]" became not supported: Unsupported item key.

    Thanks for suggestion how to get mac address of each terminal.

    Mariusz
  • BDiE8VNy
    Senior Member
    • Apr 2010
    • 680

    #2
    I'm not sure what you're referring to with 'terminal' but the agent item key system.hw.macaddr is related to activated network interfaces only:
    Code:
    [[email protected]~]$ /usr/sbin/zabbix_agentd -t system.hw.macaddr
    system.hw.macaddr                             [s|[bond0] 00:21:5b:a8:e3:1d]
    [[email protected]~]$

    Comment

    • rubendob
      Member
      • Apr 2012
      • 36

      #3
      Hi

      I have same problem. By cli I get the value

      zabbix_get -s something.ovh.net -k system.hw.macaddr[eth0,short]
      00:25:90:a0:63:7e

      but this item becomes unsupported on every host after I have created the item into template and linked into hosts.

      Comment

      • gastonace1
        Junior Member
        • Jun 2018
        • 6

        #4
        Do somebody know why it isn't working?
        Attached Files

        Comment

        Working...