Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • None
    • Default

    Description

      Hello,

      since the latest update we are not able to poll our applications via Observium Agent.
      The polling script is just getting the following errors:

      PHP Fatal error:  Uncaught TypeError: Illegal offset type in /opt/observium/includes/polling/applications.inc.php:18
      Stack trace:
      #0 /opt/observium/includes/polling/functions.inc.php(303): include()
      #1 /opt/observium/poller.php(171): poll_device()
      #2 {main}
        thrown in /opt/observium/includes/polling/applications.inc.php on line 18
       

      Before the latest update this worked without problems. Also the application graphs we use are not updated.
      We are using the following applications:

      Attachments

        Activity

          [OBS-3936] Polling Applications failed
          adama Adam Armstrong added a comment - - edited

          Holy shit people shipping php8 by default already. Don't they know it's incompatible with huge amounts of pre-existing code?

          RHEL: so old nothing works
          Fedora Server: so new nothing works

          adama Adam Armstrong added a comment - - edited Holy shit people shipping php8 by default already. Don't they know it's incompatible with huge amounts of pre-existing code? RHEL: so old nothing works Fedora Server: so new nothing works

          We are using CE 21.10.11666.
          Any timeline when this will get fixed in CE too?

          We use Fedora Server version 35 which ships with PHP8 per default. We will check if we can downgrade.

          marcwa19197 marcwa19197 added a comment - We are using CE 21.10.11666. Any timeline when this will get fixed in CE too? We use Fedora Server version 35 which ships with PHP8 per default. We will check if we can downgrade.

          Issue fixed in r11727.

          But that's happened only on php8.
          If you use CE, downgrade your php to 7.4.

          landy Mike Stupalov added a comment - Issue fixed in r11727. But that's happened only on php8. If you use CE, downgrade your php to 7.4.

          Which version of observium?

          ./discovery.php -VV
          

          landy Mike Stupalov added a comment - Which version of observium? ./discovery.php -VV

          apache2, nginx, ioping, postfix_queue, mysql

          marcwa19197 marcwa19197 added a comment - apache2, nginx, ioping, postfix_queue, mysql

          General questions and device support can be discussed in our Discord channel, click here to join.


          Please make and attach additional information about the device:

          • full snmp dump from device:

            snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -ObentxU <hostname> .1 > myagent.snmpwalk
            snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk

            If device not support SNMP version 2c, replace -v2c with -v1.

          • If you have problems with discovery or poller processes, please do and attach these debugs:

            ./discovery.php -d -h <device>
            ./poller.php -d -h <device>

          • additionally attach device and/or vendor specific MIB files

          This comment is added automatically.

          bot Observium Bot added a comment - General questions and device support can be discussed in our Discord channel, click here to join . Please make and attach additional information about the device: full snmp dump from device: snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -ObentxU <hostname> .1 > myagent.snmpwalk snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk If device not support SNMP version 2c, replace -v2c with -v1. If you have problems with discovery or poller processes, please do and attach these debugs: ./discovery.php -d -h <device> ./poller.php -d -h <device> additionally attach device and/or vendor specific MIB files This comment is added automatically.

          People

            landy Mike Stupalov
            marcwa19197 marcwa19197
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: