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
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.