Hi Giorgio,
I tried all the ways to fix the problem but still no luck. Do not know how
to run the custom scripts, i will explain in detail here, please someone
guide me here,
Nagios server:
Running the below command, this command will go to nagios client
(172.16.17.18) and execute check_netstat
Hi
As I told before, that netstat command won't work "out of the box", with an
unprivileged user.
Giorgio
Marc Powell (m...@ena.com) scritto:
>
>
> On Apr 9, 2009, at 8:26 AM, asa...@gmail.com wrote:
>
> > Hi,
> >
> > I did copy the scipt to the remote host as check_netstat and used
> > check_nr
On Apr 9, 2009, at 8:26 AM, asa...@gmail.com wrote:
> 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/lib
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 |
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
These are the steps I did,
on nagios server under libexec, created check_netstat file and that contains
STATE_OK=0
STATE_WARNING=1
STATE_CRITICAL=2
STATE_UNKNOWN=3
netstat -anp | grep 80 > synport
err=`cat synport | grep TIME | wc -l |awk '{print $1}'`
if [ $err -gt 0 ]
then
echo "WARNING - S
Hi All,
thank you for prompt response.
I am trying this on one of the linux test server and I am monitoring port 80
(web server) to monitor port status TIME_WAIT. which means if netstat -anp
| grep 80 returns any state as TIME, then get an alert on nagios.
STATE_OK=0
STATE_WARNING=1
STATE_CRIT
asa...@gmail.com wrote:
>
> Hi All,
>
> I am using check_tcp to check status of a particular port on the
> server. This is working good. I would also need to monitor LISTEN
> status (SYN_RECV) of that port. for ex,
>
> I have a ldap service running on port 3890, so the command
>
> netstat -anp
Hi All,
I am using check_tcp to check status of a particular port on the server.
This is working good. I would also need to monitor LISTEN status (SYN_RECV)
of that port. for ex,
I have a ldap service running on port 3890, so the command
netstat -anp | grep 3890
tcp0 0 0.0.0.0:38
Hi All,
I am using check_tcp to check status of a particular port on the server.
This is working good. I would also need to monitor LISTEN status (SYN_RECV)
of that port. for ex,
I have a ldap service running on port 3890, so the command
netstat -anp | grep 3890
tcp0 0 0.0.0.0:38
10 matches
Mail list logo