I have a service that I want to make sure is installed and running on every server I have monitored with CMK, so that I know for sure it was installed and not missed during deployment.
The problem is, this service automatically gets updated periodically from the vendor and changes the name every other time. First it is called “MYService”, then it changes to “MyService”. (I have no idea why they started doing this.)
I tried enabling this under Enforced Services but not exactly sure how to handle this periodic rename. It’s the same service, so I am OK if either spelling of the name appears, but one or the other needs to always be running as a Windows service.
I see that there is an option for “Alternative names for the service” but I must be missing something as it’s not working the way I think it should.
Thanks!
UPDATE:
I think I was getting messed up by the automatic service discovery not excluding this particular service, so I think I need to configure both the enforced service including the alternative service name, and exclude it from the autodiscovery process.
if the name for the wanted service is the same just except for the usage of upper / lower case, you might use a RegEx which will ignore the upper/lower case difference of that service name
Regards
Nora
I tested in 2.0.0p26, 1.6.0p27 and I also was not able to discover any systemd servivce, even not a simple one like rsyslog. An enforced service works but doesn’t help.
Anyone else an idea?
What works is process discovery. My personal approach is using that one to detect if a process is really running. At least in Windows world it happens that the service is in running state but the process died.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.