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

PHP-FPM template php-fpm.ping reports false down

    XMLWordPrintable

Details

    • Problem report
    • Status: Confirmed
    • Trivial
    • Resolution: Unresolved
    • 6.0.6, 6.2.0
    • None
    • Templates (T)
    • None

    Description

      Both "PHP-FPM by HTTP" and "PHP-FPM by Zabbix agent" are affected.

      Steps to reproduce:

      1. Configure host to provide php-fpm /status and /ping page
      2. Enable and start php-fpm and http server
      3. Add PHP-FPM template to host

       

      Result:

      php-fpm.ping = "Down(0)"
      **

      Expected:
      php-fpm.ping = "Up(1)"

       

      Resolution:

      Change regular expression in preprocessing for php-fpm.ping:

      from: {$PHP_FPM.PING.REPLY}($|\n)

      to: {$PHP_FPM.PING.REPLY}($|\r?\n)

      Attachments

        Activity

          People

            zit Zabbix Integration Team
            t0fik Jerzy Drożdż
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: