Hi,
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,
[r...@airlin libexec]# /usr/local/nagios/libexec/check_netstat
WARNING - STATUS= TIME_WAIT port status on airlin | WARNING -
STATUS=TIME_WAIT port status on airlin
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.
[r...@lnx-nagios libexec]# /usr/local/nagios/libexec/check_nrpe -H
172.16.17.18 -c check_netstat
OK - The port is up and running NO established connections on airlin
It looks something is worng between with nagios server or nrpe plug ins.
please help me
thanks
On Thu, Apr 9, 2009 at 6:01 PM, Marc Powell <m...@ena.com> wrote:
>
> On Apr 9, 2009, at 6:06 AM, asa...@gmail.com wrote:
>
> > this scripts runs locally and find the nagios servers apache port
> > status not the monitored servers apache port. how would configure so
> > that it should go to nagios client and get those port TIME_WAIT
> > status.
>
> You'll need to copy the script to the remote host then use one of the
> standard remote plugin execution methods (NRPE, check_by_ssh, etc) to
> run it from nagios on the remote host.
>
> --
> Marc
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
Shankar Asam
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null