<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
I'm wondering if it's possible to monitor een service (used by time
registration software) on a windows host. What I've done is copy/paste
the line's I used for monitoring<br>
the backupexec services. Now I would like reuse this code, this is what
I did:<br>
<br>
<b><u>original code:<br>
<br>
</u></b># \'check_nt-bejobe\' command definition
<br>
define command{
<pre><code>    command_name check_nt_bejobe
    command_line        $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -d SHOWALL -l <font
 color="#ff0000">BackupExecJobEngine</font>
        }

</code></pre>
<code></code><b><u>modified code:<br>
<br>
</u></b># \'check_nt-GPSCommunicationService\' command definition<br>
define command{<br>
<br>
<code> command_name     check_nt_gpscomm<br>
command_line     $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
SERVICESTATE -d SHOWALL -l <font color="#ff0000">GPS Communication
Service<br>
</font> }<br>
<br>
<br>
I checked this service name by looking under the windows host -
services.msc and by service name I see: </code><code><font><font
 color="#ff0000">GPS Communication Service<br>
<br>
<font color="#000000">BUT, when I checked the service via internet
explorer, the nagios webpage:<br>
<br>
</font></font></font></code>
<table class="status" border="0" width="100%">
  <tbody>
    <tr>
      <tr>
        <td><br>
        </td>
        <td class="statusBGWARNING">
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tbody>
            <tr>
              <td align="left">
              <table border="0" cellpadding="0" cellspacing="0">
                <tbody>
                  <tr>
                    <td class="statusBGWARNING" align="left"
 valign="center"><a
 href="http://10.189.13.35/nagios/cgi-bin/extinfo.cgi?type=2&host=tikklok&service=GPS+communication+Service">GPS
communication Service</a></td>
                  </tr>
                </tbody>
              </table>
              </td>
              <td class="statusBGWARNING" align="right">
              <table border="0" cellpadding="0" cellspacing="0">
                <tbody>
                  <tr>
                  </tr>
                </tbody>
              </table>
              </td>
            </tr>
          </tbody>
        </table>
        </td>
        <td class="statusWARNING"><font color="#ffcc33">WARNING</font></td>
        <td class="statusBGWARNING" nowrap="nowrap">06-19-2008 10:08:52</td>
        <td class="statusBGWARNING" nowrap="nowrap"> 0d 0h 25m 10s</td>
        <td class="statusBGWARNING">3/3</td>
        <td class="statusBGWARNING" valign="center">GPS Communication
Service: Unknown </td>
      </tr>
    </tr>
  </tbody>
</table>
<pre> What could be wrong?<code>

</code></pre>
<br>
</body>
</html>