Ad Widget

Collapse

Service state wildcard

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • markfree
    Senior Member
    • Apr 2019
    • 868

    #1

    Service state wildcard

    Hey guys.

    I monitor a service running on some Windows servers and it has two possible names.
    On some machines the service name is something like "service", other machines it is "service64".

    So to monitor this service, I created two items, one for each name.

    I thought off merging these two keys into something like this:
    Code:
    service.info[service*,state]
    But that doesn't work.

    Is there a way to check those two service names with just one key?
  • Semiadmin
    Senior Member
    • Oct 2014
    • 1625

    #2
    You may use service.discovery and filter off all other services by regexp.

    Comment

    Working...