How to check a windows server status with () in the service name
-
Hello
I have a windows service which is called Lotus Domino Server (DLotusDominodata). I can't seem to monitor this as a service but I can monitor services without () (ie System.ServiceState("Alerter")) .
Is there anyway to get around this ?
Thanks
Andy
-
Hi!
Are you sure that it's service name and not display name? Also, do you use quotes, like System.ServiceState("Lotus Domino Server (DLotusDominodata)") ?
Best regards,
Victor -
Hi
I realise that this is an old thread, but i have just stumbled upon the same issue, i want to monitor an lotus domino server, and the service name (not display name) contains ( ) and there fore i cannnot get a service state and encapsulation the service name with "" doesn't help any ideas?
Regards
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login