<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=414491614-06042005>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=414491614-06042005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=414491614-06042005>We're having
trouble using "check_nt" (NSCLIENT plug-in) to monitor services that have a
space character in its name (e.g. "Service ABC").</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=414491614-06042005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=414491614-06042005>I read the following
post </SPAN></FONT><FONT face=Arial size=2><SPAN
class=414491614-06042005><FONT face="Times New Roman" size=3> </FONT><A
href="http://sourceforge.net/mailarchive/message.php?msg_id=8135478">http://sourceforge.net/mailarchive/message.php?msg_id=8135478</A></DIV>
<DIV>
<P
style="FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Verdana; mso-outline-level: 1"><SPAN
class=414491614-06042005><FONT face=Arial>, and looking at the registry
(HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services) one of the services
really didn't have a space in its real name, and it solved the problem for this
particular service </FONT></SPAN><SPAN class=414491614-06042005><FONT
face=Arial>:)</FONT></SPAN></P>
<P
style="FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Verdana; mso-outline-level: 1"><SPAN
class=414491614-06042005><FONT face=Arial></FONT></SPAN> </P>
<P
style="FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Verdana; mso-outline-level: 1"><SPAN
class=414491614-06042005><FONT face=Arial>Still, there is another service that
has a space in its real name, therefore it still doesn't work: check_nt_service
can't monitor it. (This is a commercial application and we can't modify its
code/installation...)</FONT></SPAN></P>
<P
style="FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Verdana; mso-outline-level: 1"><SPAN
class=414491614-06042005><FONT face=Arial>Changing the service real name in the
registry causes the service to stop responding to stop/start
commands.</FONT></SPAN></P>
<P
style="FONT-SIZE: 10pt; MARGIN: 0in; FONT-FAMILY: Verdana; mso-outline-level: 1"><FONT
face=Arial></FONT> </P></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=414491614-06042005>I also couldn't
find any more posts on this subject in the archives :(</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=414491614-06042005></SPAN></FONT><FONT
face=Arial size=2><SPAN class=414491614-06042005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=414491614-06042005>I know this is an
old issue, but can anyone provide further help on this?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=414491614-06042005>Is there a way
around the problem or do we have to require real service names with no
spaces?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=414491614-06042005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=414491614-06042005>PS: I also have a
problem with a service with an hyphen '-' in its real
name...</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=414491614-06042005><FONT face=Arial size=2>Best
Regards,</FONT></SPAN></DIV>
<DIV align=left><FONT face=Arial size=2>
<DIV align=left>
<DIV align=left><FONT face=Arial size=2>Luís
Noronha</FONT></FONT></DIV></DIV></DIV></BODY></HTML>