<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">


<meta name=Generator content="Microsoft Word 11 (filtered)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
code
        {font-family:"Courier New";}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle19
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body bgcolor=white lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi,</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Is there a way to make the nsc+ check disk
dll work with nspr_nt? Already have nspr_nt installed on all my windows servers
and would hate to have to swap clients at this point.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>How are others doing disk checks with
nrpe_nt? If each server has a different number of partitions (all have c:, some
have e:, and others have both e: and f: and/or more), are you just defining
different service checks for the different partitions and then adding a host to
each service check for a drive it has? </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks,</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Dan</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
color=black face="Times New Roman"><span style='font-size:12.0pt;color:windowtext'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 color=black face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold'>From:</span></font></b><font
size=2 color=black face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
color:windowtext'> Michael Medin [mailto:michael@medin.name] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, June 08, 2005
5:30 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Castelhano, Dan<br>
<b><span style='font-weight:bold'>Cc:</span></b>
'nagios-users@lists.sourceforge.net'<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Nagios-users] Check
all windows disks with one command</span></font></p>

</div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>Hi,<br>
<br>
NSClient++ can do this using the NRPE protocol.<br>
<br>
</span></font><code><font size=2 face="Courier New"><span style='font-size:
10.0pt'>check_nrpe ... -c CheckDriveSize -a MaxWarn=50% MaxCrit=75% CheckAll
FilterType=FIXED FilterType=REMOTE</span></font></code><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<br>
<code><font face="Courier New">The above example (from the NSClient++ docs)
will check all fixed and remote (network) drives, if you only want the fixed
drives you can simply leave out the FilterType=REMOTE option.</font></code></span></font><br>
<br>
A note though is that tomorrow night (didn't have time to fix it today, as my
Grandmother had some problems with her computer that I had to fix :) I will
release an update version that auto detects language and OS version that
greatly simplifies configuration if you don't have an English system. As well
as some other goodies, such as a much improved event log checker and some bug
fixes.<br>
<br>
// Michael Medin<br>
<br>
<br>
Castelhano, Dan wrote: </p>

<pre wrap=""><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt'>Hi,</span></font></pre><pre><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt'>For the linux version of the check_disk command, if you don't specify a</span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>disk, it'll check and report back on the status of all of them.</span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>(ie: ./check_nrpe -H LinuxServerHost -c check_disk -a 20 10)</span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'> </span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>I can't find a way to do a similar thing within windows. I've looked at</span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>nsclient and nrpe_nt and I don't see how it can be done. I would prefer not</span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>having to specify a different service for each partition on all servers on</span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>the network.</span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'> </span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Does anyone know of a tool, or how to do a disk check what will check all</span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>partitions?</span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'> </span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Thanks,</span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Dan</span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'> </span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'> </span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'> </span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'> </span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'> </span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>-------------------------------------------------------</span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput</span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>a projector? How fast can you ride your desk chair down the office luge track?</span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>If you want to score the big prize, get to know the little guy.  </span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Play to win an NEC 61" plasma display: <a
href="http://www.necitguy.com/?r=20">http://www.necitguy.com/?r=20</a></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>_______________________________________________</span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Nagios-users mailing list</span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><a
href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><a
href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. </span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>::: Messages without supporting info will risk being sent to /dev/null</span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'> </span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>  </span></font></pre>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

</div>

</body>

</html>