Hi,
I want to create a discovery Rules for Specific Services created on my Computer. (Service name = BlackMotor,BlackServer,BlackRoute,...)
1.Create a discovery rules
name = service.info[{#SERVICE.NAME}]
key = service.info[{#SERVICE.NAME},state]
2.Create the item prototypes
name =service.info[{#SERVICE.NAME}]
service.info[{@testMacro},state]
TestMacro is my regular expresssion : match everything who start with Black
But something is wrong , how to do this correctly?
I want to create a discovery Rules for Specific Services created on my Computer. (Service name = BlackMotor,BlackServer,BlackRoute,...)
1.Create a discovery rules
name = service.info[{#SERVICE.NAME}]
key = service.info[{#SERVICE.NAME},state]
2.Create the item prototypes
name =service.info[{#SERVICE.NAME}]
service.info[{@testMacro},state]
TestMacro is my regular expresssion : match everything who start with Black
But something is wrong , how to do this correctly?


Comment