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

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 2.2.10rc1, 2.4.6rc1, 2.5.0
    • 2.4.5
    • Agent (G)
    • Zabbix Agent 2.4.5 (revision 53282) on Ubuntu Trusty 64-bits
      Zabbix Server 2.4.5 (revision 53282) on Debian Wheezy 64-bits

      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".

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

              Created:
              Updated:
              Resolved: