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

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

                  People

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

                    Dates

                      Created:
                      Updated:
                      Resolved:

                      People

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

                        Dates

                          Created:
                          Updated:
                          Resolved: