Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-9124

Item system.sw.os[name] returns "\S" in RHEL7 (and possibly in other systemd Linux distributions)

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4.2
    • 3.2.0beta2, 3.2.0rc1
    • Agent (G)
    • Red Hat Enterprise Linux Server 7.0 (Maipo) 3.10.0-123.el7.x86_64

    Description

      The file used by Zabbix to get the OS name, /etc/issue.net according to the documentation, has changed in RHEL7.

      It seems that this information has moved to /etc/os-release (http://www.freedesktop.org/software/systemd/man/os-release.html) in distributions that use systemd.

      I have attached two patches that fix this issue. It's probably not the best implementation, but you can use it if you're too busy to fix it anytime soon.

      Attachments

        Activity

          People

            Unassigned Unassigned
            blfgomes Bruno Gomes
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: