<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/1.0.2">
</HEAD>
<BODY BGCOLOR="#ffffff">
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>
</BODY>
</HTML>