Thanks, that did the trick.<br><br>Appreciate the help.<br><br><div class="gmail_quote">On Tue, Jul 12, 2011 at 10:45 AM, Assaf Flatto <span dir="ltr"><<a href="mailto:nagios@flatto.net">nagios@flatto.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">If you installed the plugins from a source , one of the stages was "make install"<br>
That stage (usually the last one) places the plugins in the target directory ( if you did not change anything during the "configure" state , it will be in /usr/local/nagios/libexec )<br>
<br>
So the steps are easy , IF you used source , go to the directory where the source package was extracted to , and in the directory type "make install" - that's it .<br>
<br>
however if you installed from RPM , then you'll need to reinstall the nagios-plugins rpm ( see the yjm /rpm man pages for that .<br>
<br>
<br>
<br>
dOE wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Assaf,<br>
<br>
Could you explain with a little more detail how I could recover the "check_tcp" from the source exactly?<br>
<br>
thanks<br>
<br>
On Tue, Jul 12, 2011 at 10:21 AM, Assaf Flatto <<a href="mailto:nagios@flatto.net" target="_blank">nagios@flatto.net</a> <mailto:<a href="mailto:nagios@flatto.net" target="_blank">nagios@flatto.net</a>>> wrote:<br>
<br>
dOE wrote:<br>
> Hi,<br>
><br>
> I inadvertently deleted/overwrote the "check_tcp" file in<br>
../libexec.<br>
> I tried copying the file back from another Nagios instance (same<br>
build<br>
> 3.0.3), but when I execute it it I get a "No such file or<br>
directory".<br>
> My permissions for the file are no different than other "checks_" in<br>
> the directory. Is there something else I need to do other than<br>
copy a<br>
> file from another Nagios instance?<br>
><br>
><br>
> rwxrwxr-x 1 nagios root 76K 2011-07-01 13:47 check_tcp<br>
><br>
><br>
> Thanks<br>
><br>
------------------------------<u></u>------------------------------<u></u>------------<br>
<br>
</blockquote>
<br>
</blockquote></div><br>