yes this time it works fine... i am able to build<br><br><div class="gmail_quote">On Fri, Feb 22, 2008 at 12:15 PM, Jeff C. Benger <<a href="mailto:jbenger@ztechnet.com">jbenger@ztechnet.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">














<div link="blue" vlink="blue" lang="EN-US">

<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Download & extract nagios-plugins
source</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Remove/rename the original check_nt.c in
the plugins dir</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">copy the check_nc_net.c file into the plugins
folder and rename to check_nt.c</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">rebuild the plugins(make)</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<div>

<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

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

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

<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
<a href="mailto:nagios-users-bounces@lists.sourceforge.net" target="_blank">nagios-users-bounces@lists.sourceforge.net</a>
[mailto:<a href="mailto:nagios-users-bounces@lists.sourceforge.net" target="_blank">nagios-users-bounces@lists.sourceforge.net</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>manju a<br>
<b><span style="font-weight: bold;">Sent:</span></b> Friday, February 22, 2008
1:30 AM<br>
<b><span style="font-weight: bold;">To:</span></b> Anthony Montibello<br>
<b><span style="font-weight: bold;">Cc:</span></b>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [Nagios-users] NC_Net
nagios client to monitor Event logs onwindows</span></font></p>

</div><div><div></div><div class="Wj3C7c">

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Hi,</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
Thanks a lot for your replay. <br>
<br>
when i copied to the libexec folder i got the below error, i know this is not a
command soo shell is not able to recognize it.<br>
<br>
[root@nagios libexec]# ./check_nt.c<br>
./check_nt.c: line 1:
/*********************************************************<br>
: No such file or directory<br>
./check_nt.c: line 2: check_apt: command not found<br>
: command not found3: *<br>
./check_nt.c: line 4: check_apt: command not found<br>
./check_nt.c: line 5: check_apt: command not found<br>
./check_nt.c: line 6: check_apt: command not found<br>
: command not found7: *<br>
./check_nt.c: line 8: check_apt: command not found<br>
./check_nt.c: line 9: check_apt: command not found<br>
./check_nt.c: line 10: syntax error near unexpected token `('<br>
./check_nt.c: line 10: ` * Copyright (c) 2007 TOny Montibello (<a href="mailto:tony@MontiTech.co" target="_blank">tony@MontiTech.co</a><br>
')<br>
<br>
can you please let me know how we can recomplie check_nt.c plugins. <br>
<br>
thanks<br>
manjunath A.</span></font></p>

<div>

<div>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
<br>
</span></font></p>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On Fri, Feb 22, 2008 at 5:12 AM, Anthony Montibello <<a href="mailto:amontibello@gmail.com" target="_blank">amontibello@gmail.com</a>>
wrote:</span></font></p>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">HI,</span></font></p>

</div>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
THe problem is your version of check_nt</span></font></p>

</div>

<div>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">>>"where check_nt is default plugin which will come with the
nagios installation."</span></font></p>

</div>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

</div>

</div>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">You need to compile check_nc_net.c</span></font></p>

</div>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">to do this, copy the check_nc_net.c to check_nt.c </span></font></p>

</div>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">then recompile the plugins</span></font></p>

</div>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

</div>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">check_nc_net.c is in the install location of NC_Net as well as
downloadable seperatly from </span></font></p>

</div>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><a href="http://downloads.sourceforge.net/nc-net/check_nc_net_040107.zip?modtime=1175541733&big_mirror=0&filesize=17953" target="_blank">http://downloads.sourceforge.net/nc-net/check_nc_net_040107.zip?modtime=1175541733&big_mirror=0&filesize=17953</a></span></font></p>


</div>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

</div>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">However please use the eventlog_new command -(See the help of
check_nc_net) </span></font></p>

</div>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">It is a more efficient check than eventlog</span></font></p>

</div>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

</div>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">TOny (Author of NC_NEt)</span></font></p>

</div>

<div>

<div>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On Thu, Feb 21, 2008 at 1:00 AM, manju a <<a href="mailto:manju.kudu@gmail.com" target="_blank">manju.kudu@gmail.com</a>>
wrote:</span></font></p>

</div>

</div>

<blockquote style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204); border-width: medium medium medium 1pt; padding: 0in 0in 0in 6pt; margin-left: 4.8pt; margin-right: 0in;">


<div>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Hi,<br>
<br>
sorry it was my mistake while typing, yes i replaced any5 with 5.... same
problem!!! please help me on this<br>
<br>
thanks<br>
manjunath A. </span></font></p>

<div>

<div>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
<br>
</span></font></p>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On Wed, Feb 20, 2008 at 8:30 PM, Edgar Matzinger <<a href="mailto:Edgar.Matzinger@valid.nl" target="_blank">Edgar.Matzinger@valid.nl</a>>
wrote:</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Hi Manju,</span></font></p>

<div>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
><br>
> [root@nagios libexec]# ./check_nt -H windowsmachine -p 1248<br>
> -v EVENTLOG  -l any,any,any5,0,0,0 -w 5 -c 10<br>
> check_nt: Could not parse arguments</span></font></p>

</div>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> and if you replace
"any5" with "5"?<br>
<br>
HTH, cu l8r, Edgar.<br>
--<br>
   |\  /| :              
                 : Addr: Valid Eindhoven B.V.<br>
 /  | \/ | :     Edgar R. Matzinger      
  :       t.a.v. E.R.<br>
Matzinger<br>
/   |    | :              
                 :    
  Paradijslaan 36<br>
\  /|  /\| :                
               :      
5611 KN Eindhoven<br>
 \/   /  \ :     Valid Eindhoven BV        
:<br>
 \  /\  / :              
                 :<br>
  \/ |\/  :                
               :<br>
     |    :            
                   :<br>
Disclaimer: Any comments, opinions made are mine, etc ...</span></font></p>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

</div>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

</div>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">-------------------------------------------------------------------------<br>
This SF.net email is sponsored by: Microsoft<br>
Defy all challenges. Microsoft(R) Visual Studio 2008.<br>
<a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null</span></font></p>

</blockquote>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

</div>

</div>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

</div></div></div>

</div>


<br>-------------------------------------------------------------------------<br>
This SF.net email is sponsored by: Microsoft<br>
Defy all challenges. Microsoft(R) Visual Studio 2008.<br>
<a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>