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

'some' matchType for WMI Poller matches 2 or more, not 1 or more as docuemented

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.4
    • Fix Version/s: 1.9.8
    • Component/s: Command-Line Tools
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All
    • Bugzilla Id:
      4152

      Description

      Jason-Arass-MacBook-Pro-2:bin jay$ ./checkwmi -matchType one -wmiWql "Select * From Win32_Process" -wmiObject 'Name' -op EQ -value "regedit.exe" -domain . 172.16.93.151 'Administrator' 'f00bar@@'
      Checking: Select * From Win32_Process for Name Op: EQ Val: regedit.exe
      Check results: OK (32)
      Result for (1) \Name: System Idle Process
      Result for (2) \Name: System
      Result for (3) \Name: smss.exe
      Result for (4) \Name: csrss.exe
      Result for (5) \Name: csrss.exe
      Result for (6) \Name: wininit.exe
      Result for (7) \Name: winlogon.exe
      Result for (8) \Name: services.exe
      Result for (9) \Name: lsass.exe
      Result for (10) \Name: lsm.exe
      Result for (11) \Name: svchost.exe
      Result for (12) \Name: svchost.exe
      Result for (13) \Name: svchost.exe
      Result for (14) \Name: svchost.exe
      Result for (15) \Name: svchost.exe
      Result for (16) \Name: svchost.exe
      Result for (17) \Name: svchost.exe
      Result for (18) \Name: svchost.exe
      Result for (19) \Name: spoolsv.exe
      Result for (20) \Name: svchost.exe
      Result for (21) \Name: svchost.exe
      Result for (22) \Name: msdtc.exe
      Result for (23) \Name: sppsvc.exe
      Result for (24) \Name: WmiPrvSE.exe
      Result for (25) \Name: taskhost.exe
      Result for (26) \Name: dwm.exe
      Result for (27) \Name: explorer.exe
      Result for (28) \Name: Oobe.exe
      Result for (29) \Name: regedit.exe
      Result for (30) \Name: wuauclt.exe
      Result for (31) \Name: dllhost.exe
      Result for (32) \Name: TrustedInstaller.exe
      Jason-Arass-MacBook-Pro-2:bin jay$ ./checkwmi -matchType some -wmiWql "Select * From Win32_Process" -wmiObject 'Name' -op EQ -value "regedit.exe" -domain . 172.16.93.151 'Administrator' 'f00bar@@'
      Checking: Select * From Win32_Process for Name Op: EQ Val: regedit.exe
      Check results: CRITICAL (32)
      Result for (1) \Name: System Idle Process
      Result for (2) \Name: System
      Result for (3) \Name: smss.exe
      Result for (4) \Name: csrss.exe
      Result for (5) \Name: csrss.exe
      Result for (6) \Name: wininit.exe
      Result for (7) \Name: winlogon.exe
      Result for (8) \Name: services.exe
      Result for (9) \Name: lsass.exe
      Result for (10) \Name: lsm.exe
      Result for (11) \Name: svchost.exe
      Result for (12) \Name: svchost.exe
      Result for (13) \Name: svchost.exe
      Result for (14) \Name: svchost.exe
      Result for (15) \Name: svchost.exe
      Result for (16) \Name: svchost.exe
      Result for (17) \Name: svchost.exe
      Result for (18) \Name: svchost.exe
      Result for (19) \Name: spoolsv.exe
      Result for (20) \Name: svchost.exe
      Result for (21) \Name: svchost.exe
      Result for (22) \Name: msdtc.exe
      Result for (23) \Name: sppsvc.exe
      Result for (24) \Name: WmiPrvSE.exe
      Result for (25) \Name: taskhost.exe
      Result for (26) \Name: dwm.exe
      Result for (27) \Name: explorer.exe
      Result for (28) \Name: Oobe.exe
      Result for (29) \Name: regedit.exe
      Result for (30) \Name: wuauclt.exe
      Result for (31) \Name: dllhost.exe
      Result for (32) \Name: TrustedInstaller.exe

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              jay@opennms.org Jay Aras
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: