Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-1355

Network Interface discovery missing from freebsd agent

    Details

    • Type: Change Request
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.0.2
    • Fix Version/s: None
    • Component/s: Agent (G)
    • Environment:
      freebsd agents

      Description

      Currently the network autodiscovery key is missing from the freebsd agent. Currently I have to work around with the following

      UserParameter=net.if.discovery,ifconfig | awk ' BEGIN { print "

      {\"data\":\[" }

      /^[a-z0-9]+\:/ { gsub(/\:/,"",$ 1); if ( $ 1 != "lo0" ) print "{ \"

      {#IFNAME}\":\"" $ 1"\" }," } END { print "{ \"{#IFNAME}

      \":\"lo0\"} \n]}" } '

      This works fine but should really be fixed properly with system calls and merged into the code stack. I can help with testing here if needed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alexei Alexei Vladishev
                Reporter:
                cscott chris scott
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: