<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">


<META content="MSHTML 5.50.4611.1300" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Comic Sans MS" color=#000080 size=2><A 
href="http://nsclient.ready2run.nl/">http://nsclient.ready2run.nl/</A></FONT></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Pascal Miquet 
  [mailto:p.miquet@hafiba.fr]<BR><B>Sent:</B> Tuesday, November 19, 2002 10:29 
  AM<BR><B>To:</B> Carroll, Jim P [Contractor]<BR><B>Cc:</B> 'Peter Pan'; Nagios 
  users<BR><B>Subject:</B> RE: [Nagios-users] Monitoring two hard 
  disk<BR><BR></FONT></DIV>I think I will have to face to the same checks, soon. 
  <BR>And let me ask you this, and sorry if you've already make an answer.. 
  <BR>Some people are talking about NSClient. Where should I get documentation 
  on <BR><BR>How to get the NSClient ? <BR>How to make is works on NT 
  Servers/Workstations ? <BR><BR>On another hand, I'll have to monitor and trap 
  SNMP on a Lucent switch, where could I get any good documentations on this ? 
  <BR>I think I should first have a look to the check_snmp first, but if you 
  have any infos to get more quicker system to work. <BR><BR>Thanks for your 
  help <BR>Regards <BR>Pascal Miquet <BR><BR>Le mar 19/11/2002 à 16:23, Carroll, 
  Jim P [Contractor] a écrit : 
  <BLOCKQUOTE><FONT color=#000080><FONT size=2><I>You're new to the list, 
    aren't you?  ;)</FONT></FONT></I> <BR><FONT color=#737373><FONT 
    size=3><I> </FONT></FONT></I> <BR><FONT color=#000080><FONT size=2><I>I 
    just answered this very question last Wednesday.  But here it is 
    again:</FONT></FONT></I> <BR><FONT color=#737373><FONT 
    size=3><I> </FONT></FONT></I> <BR><FONT color=#000080><FONT 
    size=2><I>Here's how we're doing it.  The snippet from 
    checkcommands.cfg (note the linewrap):</FONT></FONT></I> <BR><FONT 
    color=#737373><FONT size=3><I> </FONT></FONT></I> <BR><FONT 
    color=#737373><FONT size=2><I>define command{</FONT></FONT></I> <BR><FONT 
    color=#737373><FONT size=2><I>        
    command_name    check_nt_disk</FONT></FONT></I> <BR><FONT 
    color=#737373><FONT size=2><I>        
    command_line    $USER1$/check_nt -H 
    $HOSTADDRESS$</FONT></FONT></I><FONT color=#737373><FONT size=2><I> -p 
    1248 \</FONT></FONT></I> <BR><FONT color=#737373><FONT 
    size=2><I>        -v USEDDISKSPACE -s 
    $ARG1$ -l $ARG2$ -w $ARG3$ -c $ARG4$</FONT></FONT></I> <BR><FONT 
    color=#737373><FONT size=2><I>        
    }</FONT></FONT></I> <BR><FONT color=#737373><FONT 
    size=3><I> </FONT></FONT></I> <BR><FONT color=#000080><FONT 
    size=2><I>And the checks for the C and D drives in 
    services.cfg:</FONT></FONT></I> <BR><FONT color=#737373><FONT 
    size=3><I> </FONT></FONT></I> <BR><FONT color=#737373><FONT 
    size=2><I>define service{</FONT></FONT></I> <BR><FONT color=#737373><FONT 
    size=2><I>        
    host_name                       
    itdmlw04</FONT></FONT></I> <BR><FONT color=#737373><FONT 
    size=2><I>        
    use                             
    icmp</FONT></FONT></I> <BR><FONT color=#737373><FONT 
    size=2><I>        
    service_description             
    Space on C</FONT></FONT></I> <BR><FONT color=#737373><FONT 
    size=2><I>        
    contact_groups                  
    windows-admins</FONT></FONT></I> <BR><FONT color=#737373><FONT 
    size=2><I>        
    check_command                   
    check_nt_disk!XXXXX!C!80!90</FONT></FONT></I> <BR><FONT color=#737373><FONT 
    size=2><I>        }</FONT></FONT></I> 
    <BR><FONT color=#737373><FONT size=3><I> </FONT></FONT></I> <BR><FONT 
    size=2><I>define service{</FONT></I> <BR><FONT 
    size=2><I>        
    host_name                       
    itdmlw04</FONT></I> <BR><FONT 
    size=2><I>        
    use                             
    icmp</FONT></I> <BR><FONT 
    size=2><I>        
    service_description             
    Space on D</FONT></I> <BR><FONT 
    size=2><I>        
    contact_groups                  
    windows-admins</FONT></I> <BR><FONT 
    size=2><I>        
    check_command                   
    check_nt_disk!XXXXX!D!80!90</FONT></I> <BR><FONT 
    size=2><I>        }</FONT></I> <BR><FONT 
    color=#737373><FONT size=3><I></FONT></FONT></I><BR><FONT 
    color=#737373><FONT size=3><I> </FONT></FONT></I> <BR><FONT 
    color=#000080><FONT size=2><I>(Password to access NSClient is obscured by 
    'XXXXX'.)</FONT></FONT></I> <BR><FONT color=#737373><FONT 
    size=3><I> </FONT></FONT></I> <BR><FONT color=#000080><FONT 
    size=2><I>Does this help?  (Yes, I'm using the template-based object 
    file configuration.  You should, too.)</FONT></FONT></I><FONT 
    color=#000080><FONT size=2><I>  You might be partial to using 
    'generic-service' instead of 'icmp'.</FONT></FONT></I> <BR><FONT 
    color=#737373><FONT size=3><I> </FONT></FONT></I> <BR><FONT 
    color=#000080><FONT size=2><I>jc</FONT></FONT></I> 
    <BLOCKQUOTE><FONT color=#737373><FONT size=2><I>-----Original 
      Message-----</FONT></FONT></I> <BR><FONT color=#737373><FONT 
      size=2><B><I>From:</FONT></FONT></B></I><FONT color=#737373><FONT 
      size=2><I> Peter Pan [mailto:peterpan@pvamu.edu]</FONT></FONT></I> 
      <BR><FONT color=#737373><FONT 
      size=2><B><I>Sent:</FONT></FONT></B></I><FONT color=#737373><FONT 
      size=2><I> Monday, November 18, 2002 10:04 PM</FONT></FONT></I> <BR><FONT 
      color=#737373><FONT size=2><B><I>To:</FONT></FONT></B></I><FONT 
      color=#737373><FONT size=2><I> 
      Nagios-users@lists.sourceforge.net</FONT></FONT></I> <BR><FONT 
      color=#737373><FONT size=2><B><I>Subject:</FONT></FONT></B></I><FONT 
      color=#737373><FONT size=2><I> [Nagios-users] Monitoring two hard 
      disk</FONT></FONT></I> <BR><FONT color=#737373><FONT 
      size=2><I></FONT></FONT></I><BR><FONT color=#737373><FONT 
      size=3><I></FONT></FONT></I><BR><FONT color=#737373><FONT size=2><I>I am 
      currently monitoring a windows server.  I am stuck on how to monitor 
      two hdd's.  I do not use a template based object file conf.  I 
      have been working on the problem for awhile now without a solution.  
      Any advice would help, thanks</FONT></FONT></I> 
<BR></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>