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

WMI/WQL Poller - Wrong text in event

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.7
    • Fix Version/s: 1.9.91
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: PC
    • Bugzilla Id:
      3562

      Description

      I defined WQL Service monitor in capsd and pollerd.
      (<property key="wql" value="Select State,Name From Win32_Service Where StartMode = 'auto'") - it is not so important what exactly I configured. Important is that I queried Win32_Service!

      When the poller detects a failure and the event message has the following text:

      "WMI-Service-Test outage identified on interface 127.0.0.1 with reason code: Result for Win32_ComputerSystem\State: Stopped."

      I never queried Win32_ComputerSystem!
      Better message would be:
      "... with reason code: State: Stopped."
      or
      "... with reason code: <$WQL Statement> <$wmiObject> <$compareOp> <$compareValue>: failed"
      or somthing else

        Attachments

          Activity

            People

            • Assignee:
              seth Seth Leger
              Reporter:
              opennms@hammon.info Daniel Hammon
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: