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

WMI/WQL Poller - Wrong text in event

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.7.7
    • 1.9.91
    • Security Level: Default (Default Security Scheme)
    • None
    • Operating System: All
      Platform: PC
    • 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

            seth Seth Leger
            opennms@hammon.info Daniel Hammon (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: