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

Storage snmp/wmi mislabeled volumes on Windows

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • None
    • Community Edition, Professional Edition
    • Discovery, Poller
    • Observium 6493 against 2012 R2 Datacenter with net-snmp 5.7.2 and wmic 4.0.0tp4-SVN-build-UNKNOWN

    Description

      Windows volumes have an extra backslash when polled via SNMP, and an incorrect rrd filename when polled via WMI. This causes issues with historic data when changing methods.

      Windows responds to host-resources-mib while polling via snmp, however, net-snmp output containing backslashes is escaped with an extra backslash. This patch removes the extra backslash from $descr so that paths are correct in the web interface, database, and rrd files. Existing Windows volumes should be removed or have both storage.storage_descr updated and rrd file renamed.

      It also uses the correct storage_mib as referenced in the database for rrd filenames. WMI output returns paths correctly, but rrd filenames contain hrstorage instead of host-resources-mib as stored in storage.storage_mib. This is noted in OBSERVIUM-938.

      Last, unknown volumes are skipped and device rediscovery is requested.

      Before:
      storage-host-resources-mib-C____Label___Serial_Number_9a842de8.rrd
      storage-hrstorage-C___Label___Serial_Number_9a842de8.rrd
      C:\\
       
      After:
      storage-host-resources-mib-C___Label___Serial_Number_9a842de8.rrd
      C:\
      

      Attachments

        Issue Links

          Activity

            People

              landy Mike Stupalov
              jpmasseo Jonathan Masseo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: