Hi,<br><br>I did copy the scipt to the remote host as check_netstat and used check_nrpe method to excute from nagios server. It looks when executing the command on remote server works well,<br><br>[root@airlin libexec]# /usr/local/nagios/libexec/check_netstat<br>
WARNING - STATUS= TIME_WAIT port status on airlin | WARNING - STATUS=TIME_WAIT port status on airlin<br><br><br>as there are some TIME wait connections on port 80. but from the nagios server, it always reports that the port is up and no TIME wait connections established. This is wrong.<br>
<br>[root@lnx-nagios libexec]# /usr/local/nagios/libexec/check_nrpe -H 172.16.17.18 -c check_netstat<br>OK - The port is up and running NO established connections on airlin<br><br>It looks something is worng between with nagios server or nrpe plug ins.<br>
<br>please help me<br><br>thanks<br><br><br><div class="gmail_quote">On Thu, Apr 9, 2009 at 6:01 PM, Marc Powell <span dir="ltr"><<a href="mailto:marc@ena.com">marc@ena.com</a>></span> 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 class="im"><br>
On Apr 9, 2009, at 6:06 AM, <a href="mailto:asam30@gmail.com">asam30@gmail.com</a> wrote:<br>
<br>
> this scripts runs locally and find the nagios servers apache port<br>
> status not the monitored servers apache port. how would configure so<br>
> that it should go to nagios client and get those port TIME_WAIT<br>
> status.<br>
<br>
</div>You'll need to copy the script to the remote host then use one of the<br>
standard remote plugin execution methods (NRPE, check_by_ssh, etc) to<br>
run it from nagios on the remote host.<br>
<br>
--<br>
<font color="#888888">Marc<br>
</font><div><div></div><div class="h5"><br>
<br>
------------------------------------------------------------------------------<br>
This SF.net email is sponsored by:<br>
High Quality Requirements in a Collaborative Environment.<br>
Download a free trial of Rational Requirements Composer Now!<br>
<a href="http://p.sf.net/sfu/www-ibm-com" target="_blank">http://p.sf.net/sfu/www-ibm-com</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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Shankar Asam<br>