<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>



<META content="MSHTML 5.50.4915.500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=554101818-25112002><FONT face=Arial color=#0000ff size=2>Have 
you tested from the command line?  Does your password use any special 
characters?  I don't know if this matters but it could cause the check 
command some grief interpreting your command syntax.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Peter Pan 
  [mailto:peterpan@pvamu.edu]<BR><B>Sent:</B> Monday, November 25, 2002 10:16 
  AM<BR><B>To:</B> Frater, Greg J; nagios<BR><B>Subject:</B> Re: [Nagios-users] 
  Another NSClient question<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial size=2>I restarted the server and it still gives me an 
  "No output".  Here is some info is this helps in any way.  
  Thanks</FONT></DIV>
  <DIV><FONT face=Arial size=2># NSClient -- 
  Server<BR>command[check_nt_disk_Server]=$USER1$/check_nt -H 127.0.0.1  -P 
  1248 -p xxxxx -v USEDDISKSPACE -l C -w 80 -c 
  90<BR>command[check_nt_cpuload_Server]=$USER1$/check_nt -H 127.0.0.1  -P 
  1248 -p xxxxx -v CPULOAD -l 
  10,80,95,60,80,95,1440,80,95<BR>command[check_nt_uptime_Server]=$USER1$/check_nt 
  -H 127.0.0.1  -P 1248 -p xxxxx -v 
  UPTIME<BR>command[check_nt_clientversion_Server]=$USER1$/check_nt -H 
  127.0.0.1  -P 1248 -p xxxxx -v 
  CLIENTVERSION<BR>command[check_nt_process_Server]=$USER1$/check_nt -H 
  127.0.0.1  -P 1248 -p xxxxx -v PROCSTATE -l 
  $ARG1$<BR>command[check_nt_service_Server]=$USER1$/check_nt -H 127.0.0.1  
  -P 1248 -p xxxxx -v SERVICESTATE -l 
  $ARG1$<BR>command[check_nt_memuse_Server]=$USER1$/check_nt -H 127.0.0.1  
  -P 1248 -p xxxxx -v MEMUSE -w $ARG1$ -c 
  $ARG2$<BR>command[check_nt_fileage_Server]=$USER1$/check_nt -H 127.0.0.1  
  -P 1248 -p xxxxx -v FILEAGE ~Vl $ARG1$ -w $ARG2$ -c 
  $ARG3$<BR>command[check_nt_pagingfile_Server]=$USER1$/check_nt -H 
  $HOSTADDRESS$ -P 1248 -p xxxxx -v COUNTER -l "<A 
  href="file://\\Paging">\\Paging</A> File(_Total)\\% Usage","Paging File usage 
  is %.2f %%" -w $ARG1$ -c $ARG2$<BR></FONT></DIV>
  <DIV><FONT face=Arial size=2>Here is my commands.  Note 127.0.0.1 is not 
  actually IP just replacing the actual and "xxxxx" is masking the 
  password.</DIV></FONT>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>Justin</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <BLOCKQUOTE dir=ltr 
  style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
    <DIV 
    style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
    <A title=gjfrater@bechtel.com href="mailto:gjfrater@bechtel.com">Frater, 
    Greg J</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>To:</B> <A title=peterpan@pvamu.edu 
    href="mailto:peterpan@pvamu.edu">'Peter Pan'</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, November 25, 2002 11:24 
    AM</DIV>
    <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Nagios-users] Another 
    NSClient question</DIV>
    <DIV><BR></DIV>
    <DIV><SPAN class=355442117-25112002><FONT face=Arial color=#0000ff 
    size=2>The registry key holds the password string.  You then use (as 
    you speculated) the -p option on the check_nt command to send the 
    password to the nt box.  When I did it I had to restart the server when 
    after adding the password to my servers.  Restarting the nsclient 
    nt service did not work.</FONT></SPAN></DIV>
    <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
      <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
      size=2>-----Original Message-----<BR><B>From:</B> Peter Pan 
      [mailto:peterpan@pvamu.edu]<BR><B>Sent:</B> Monday, November 25, 2002 8:50 
      AM<BR><B>To:</B> nagios<BR><B>Subject:</B> [Nagios-users] Another NSClient 
      question<BR><BR></FONT></DIV>
      <DIV><FONT face=Arial size=2>I understand that I can put the key in the 
      registry under HKEY_LOCAL_MACHINE -> SOFTWARE -> NSClient -> 
      Params -> password, and modify it to suit whichever password I 
      choose.  But I am a little confused about what config file I store 
      this password in on the Nagios box.  I was thinking I used the "-p" 
      flag in the commands configuration file, then the password 
      following.  But I must be forgetting something.  Any ideas would 
      be great, thanks guys</FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT> </DIV>
      <DIV><FONT face=Arial 
size=2>Justin</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>