Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-2692

nsclient-datacollection-config.xml only collects on 1st attribute in wpm group

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.11
    • Fix Version/s: 1.8.12, 1.9.8
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Operating System: Linux
      Platform: PC
    • Bugzilla Id:
      2628

      Description

      1.3.11 on SLES 10..

      have a windows host configured with nsclient++ v0.3.3 from http://trac.nakednuns.org/nscp/

      nsclient-datacollection-config.xml-

      essentially, on a config below data collection will only occur on the 1st attribute in the wpm group:

      <wpm name="Processor" keyvalue="\Processor(_Total)% Processor Time" recheckInterval="3600000">
      <attrib name="\Processor(_Total)% Processor Time" alias="cpuProcTime" type="Gauge"/>
      <attrib name="\Processor(_Total)% Interrupt Time" alias="cpuIntrTime" type="Gauge"/>
      <attrib name="\Processor(_Total)% Privileged Time" alias="cpuPrivTime" type="Gauge"/>
      <attrib name="\Processor(_Total)% User Time" alias="cpuUserTime" type="Gauge"/>
      </wpm>

      opennms:/data/opennms/rrd/snmp # ls -l 3479
      total 1960
      rw-rw-r- 1 root root 283360 2008-08-12 13:37 cpuProcTime.rrd
      rw-rw-r- 1 root root 283360 2008-08-12 13:37 dnsqueryrecv.rrd
      rw-rw-r- 1 root root 283360 2008-08-12 13:37 exchangebytessent.rrd
      rw-rw-r- 1 root root 283360 2008-08-12 13:37 iisbytes.rrd
      rw-rw-r- 1 root root 283360 2008-08-12 13:37 LD_C_FreeSpace.rrd
      rw-rw-r- 1 root root 283360 2008-08-12 13:37 sqluserconn.rrd
      rw-rw-r- 1 root root 283360 2008-08-12 13:37 winProcQueueLength.rrd

      If I segment the wpms into their own groups, like:

      <wpm name="ProcessorProc" keyvalue="\Processor(_Total)% Processor Time" recheckInterval="3600000">
      <attrib name="\Processor(_Total)% Processor Time" alias="cpuProcTime" type="Gauge"/>
      </wpm>

      <wpm name="ProcessorInt" keyvalue="\Processor(_Total)% Processor Time" recheckInterval="3600000">
      <attrib name="\Processor(_Total)% Interrupt Time" alias="cpuIntrTime" type="Gauge"/>
      </wpm>

      <wpm name="ProcessorPriv" keyvalue="\Processor(_Total)% Processor Time" recheckInterval="3600000">
      <attrib name="\Processor(_Total)% Privileged Time" alias="cpuPrivTime" type="Gauge"/>
      </wpm>

      <wpm name="ProcessorUser" keyvalue="\Processor(_Total)% Processor Time" recheckInterval="3600000">
      <attrib name="\Processor(_Total)% User Time" alias="cpuUserTime" type="Gauge"/>
      </wpm>

      then I get properly built rrds:

      opennms:/data/opennms/rrd/snmp # ls -l 3480
      total 2800
      rw-rw-r- 1 root root 283360 2008-08-12 13:48 cpuIntrTime.rrd
      rw-rw-r- 1 root root 283360 2008-08-12 13:48 cpuPrivTime.rrd
      rw-rw-r- 1 root root 283360 2008-08-12 13:48 cpuProcTime.rrd
      rw-rw-r- 1 root root 283360 2008-08-12 13:48 cpuUserTime.rrd
      rw-rw-r- 1 root root 283360 2008-08-12 13:48 dnsqueryrecv.rrd
      rw-rw-r- 1 root root 283360 2008-08-12 13:48 exchangebytessent.rrd
      rw-rw-r- 1 root root 283360 2008-08-12 13:48 iisbytes.rrd
      rw-rw-r- 1 root root 283360 2008-08-12 13:48 LD_C_FreeSpace.rrd
      rw-rw-r- 1 root root 283360 2008-08-12 13:48 sqluserconn.rrd
      rw-rw-r- 1 root root 283360 2008-08-12 13:48 winProcQueueLength.rrd

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              eshelbyk@gmail.com Ken Eshelby
            • Votes:
              4 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: