Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-3903

Alert checkers are not Working in 21.10.11633

Details

    • Vendor Bug
    • Resolution: Fixed
    • Critical
    • None
    • Community Edition
    • Alerting
    • Operating System: CentOS Linux 7 (Core)
             CPE OS Name: cpe:/o:centos:centos:7
                  Kernel: Linux 3.10.0-1160.el7.x86_64

    Description

      Alerts are not working in observium version 21.10.11633  . Status Unknown. Same device is working fine with other versions.

      Attachments

        Activity

          [OBS-3903] Alert checkers are not Working in 21.10.11633
          adama Adam Armstrong added a comment - - edited

          A regression bug managed to make it into the CE release which prevents device_id being correctly set.

          You can fix it by making a small change in includes/alerts.inc.php. Remove the /* */ lines around the code setting `devices`.`device_id` as `device_id` around line 2864:

           

              2864     /* hrm, already join with using
            2865 2869   if ($entity_type !== 'device') {     $sql .= ", `devices`.`device_id` as `device_id`";   }
              2868     */

           Otherwise there'll be a new CE in a day or so.

          adama Adam Armstrong added a comment - - edited A regression bug managed to make it into the CE release which prevents device_id being correctly set. You can fix it by making a small change in includes/alerts.inc.php. Remove the /* */ lines around the code setting `devices`.`device_id` as `device_id` around line 2864:        2864     /* hrm, already join with using   2865 2869   if ($entity_type !== 'device') {     $sql .= ", `devices`.`device_id` as `device_id`";   }      2868     */  Otherwise there'll be a new CE in a day or so.

          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

          Note, this comment is added automatically.

          bot Observium Bot added a comment - 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 Note, this comment is added automatically.

          People

            adama Adam Armstrong
            Manu Manoranjan Tiwary
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: