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

Wrapper does not seem to work with debug

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • Professional Edition
    • Discovery, Poller

    Description

      Running the poller/observium-wrapper with the "-d" flag is not working.

      I expected it to run through as normal and at the end leave the debug file in /tmp,

      but it seems to just exit directly.See below

      [root@hostname observium]# ./observium-wrapper -d
      This is the default poller. Will only poll devices with no specified poller set.
      INFO: starting the poller at 2021/04/05 20:22:09 with 8 threads
      WARNING: DEBUG enabled, each device poller store output to /tmp/observium_poller_id.debug (where id is device_id)
      INFO: observium-wrapper poller processed 68 devices in 0.26 seconds with 8 threads, load average (5min) 1.41Number of rows updated: 1
      DEBUG: /usr/bin/rrdtool update /opt/observium/rrd/poller-wrapper.rrd N:68:0.258:8
      DEBUG: /usr/bin/rrdtool update /opt/observium/rrd/poller-wrapper_count.rrd N:1
      [root@hostname observium]# ./observium-wrapper -d discovery
      This is the default poller. Will only poll devices with no specified poller set.
      INFO: starting discovery.php for update
      INFO: finished discovery.php for update
      INFO: starting the discovery at 2021/04/05 20:22:25 with 8 threads
      WARNING: DEBUG enabled, each device discovery store output to /tmp/observium_discovery_id.debug (where id is device_id)
      INFO: observium-wrapper discovery processed 66 devices in 0.52 seconds with 8 threads, load average (5min) 1.34
      

      Attachments

        Activity

          [OBS-3708] Wrapper does not seem to work with debug
          bot Observium Bot made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          landy Mike Stupalov made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          landy Mike Stupalov made changes -
          Status Original: Pending Response [ 10000 ] New: In Progress [ 3 ]
          landy Mike Stupalov made changes -
          Comment [ Please make and attach additional information about the device:
           * full snmp dump from device:
          {noformat}
          snmpwalk -v2c -c <community> --hexOutputLength=0 -ObentxU <hostname> .1 > myagent.snmpwalk
          snmpwalk -v2c -c <community> --hexOutputLength=0 -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk
          {noformat}
            _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:
          {noformat}
          ./discovery.php -d -h <device>
          ./poller.php -d -h <device>
          {noformat}
           
          * additionally attach device and/or vendor specific MIB files

          {color:#505F79}_Note, this comment is added automatically._{color} ]
          bot Observium Bot made changes -
          Status Original: Open [ 1 ] New: Pending Response [ 10000 ]
          kentbjoh Kent Johannessen created issue -

          People

            landy Mike Stupalov
            kentbjoh Kent Johannessen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: