Hi,
I wanted to create a trigger to detect if a certain service is running so I can send a restart command through an action. Most servers I added as hosts automatically got triggers for their services through Windows Service Discovery, but the server I wanted to add this trigger to didn't, so I wanted to create one manually. I tried copying the expressions from other hosts but I only get an error "Cannot add trigger Incorrect item key "service.info[vfreader,state]" provided for trigger expression on "APPLIKATION11".". I guess the problem is that this expressions comes with the Windows Service Discovery but that didn't work on this server for some reason. Is there a way to force the service discovery or create the trigger manually? I'm using the same templates and they are in the same group, everything except the hostname and IP should be similar...
Thanks!
I wanted to create a trigger to detect if a certain service is running so I can send a restart command through an action. Most servers I added as hosts automatically got triggers for their services through Windows Service Discovery, but the server I wanted to add this trigger to didn't, so I wanted to create one manually. I tried copying the expressions from other hosts but I only get an error "Cannot add trigger Incorrect item key "service.info[vfreader,state]" provided for trigger expression on "APPLIKATION11".". I guess the problem is that this expressions comes with the Windows Service Discovery but that didn't work on this server for some reason. Is there a way to force the service discovery or create the trigger manually? I'm using the same templates and they are in the same group, everything except the hostname and IP should be similar...
Thanks!
Comment