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

Item vfs.file.regexp[/etc/issue,"^(.*[0-9])(.*)$",,1,1,\1] returns error "Start line parameter must not exceed end line" on Ubuntu Trusty

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.5
    • Fix Version/s: 2.2.10rc1, 2.4.6rc1, 2.5.0
    • Component/s: Agent (G)
    • Labels:
    • Environment:
      Zabbix Agent 2.4.5 (revision 53282) on Ubuntu Trusty 64-bits
      Zabbix Server 2.4.5 (revision 53282) on Debian Wheezy 64-bits

      Description

      A Ubuntu Trusty server is monitored, it has a /etc/issue file containing the line "Ubuntu 14.04.2 LTS \n \l" followed by a blank line.

      In Zabbix, an item of type "Zabbix agent" has been added to the "Linux" Template as follow :

      vfs.file.regexp[/etc/issue,"^(.*[0-9])(.*)$",,1,1,\1]
      

      It is supposed to return "Ubuntu 14.04.2".

      The correct value is returned for agents running on Debian Squeeze/Wheezy/Jessie, Red Hat Enterprise Linux 5/6, Oracle Linux 6, CentOS 6, Ubuntu Precise.

      However, for Ubuntu Trusty there's an error "Start line parameter must not exceed end line".

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nryc Nicolas C.
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: