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

HostResourceSwRunMonitor: define the service-name parameter as a regular expression

    XMLWordPrintable

    Details

      Description

      It could be very useful to define the service-name parameter used by the HostResourceSwRunMonitor.java to be a regular expression when matching the software running in the remote machine, like

      N[tT][rR][tT][Ss]can.exe

      Also, If "match-all" is true, there can be an optional "min-services" and "max-services" parameters that can define a range. The service is up if:

      a) services_count >= min-services and services_count <= max-services
      b) either one is not defined, then only one has to pass.
      c) neither are defined, the monitor acts just like it used to - checking

      All instances to see if they are all running. It is assumed that all services would have to pass the minimum run state test, no matter what the count.

        Attachments

          Activity

            People

            • Assignee:
              agalue Alejandro Galue
              Reporter:
              agalue Alejandro Galue
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: