Page 1 of 2

/bin/ping6 -n -U -w 10 -c 1 localhost

Posted: Thu Mar 27, 2014 5:53 am
Dear team,

iam getting the below error for Host. Please provide the solution

/bin/ping6 -n -U -w 10 -c 1 localhost

OS : CentOS

Plugin NRDS

Nagios XI Version 2012 R2.9

This error will be flapping for some time.

Thanks

Re: /bin/ping6 -n -U -w 10 -c 1 localhost

Posted: Thu Mar 27, 2014 9:00 am
by scottwilkerson
What error are you getting?

What does the NRDS configuration look like?

Re: /bin/ping6 -n -U -w 10 -c 1 localhost

Posted: Thu Mar 27, 2014 10:06 pm
hostname Down 20s 1/5 2014-03-28 08:31:58 /bin/ping -n -U -w 10 -c 1 localhost


this alert will be for some 5-10 mins, which is not genuine

Re: /bin/ping6 -n -U -w 10 -c 1 localhost

Posted: Fri Mar 28, 2014 7:58 am
by scottwilkerson
scottwilkerson wrote:What does the NRDS configuration look like?

Re: /bin/ping6 -n -U -w 10 -c 1 localhost

Posted: Fri Apr 04, 2014 9:24 am
i didn't get your question, can you please elaborate ??


iam using the below script

command[__HOST__]=/usr/local/nagios/libexec/check_ping -H localhost -w 200.0,40% -c 400.0,80% -p 1
command[Check Load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20
command[Check Disk-Root]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /
command[Check Disk-Tmp]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /tmp
command[Check Total Procs]=/usr/local/nagios/libexec/check_procs -w 350 -c 400
command[Check Swap]=/usr/local/nagios/libexec/check_swap -w 25% -c 10%
command[Memory usage]=/usr/local/nagios/libexec/check_mem.py -w 25 -c 10

Re: /bin/ping6 -n -U -w 10 -c 1 localhost

Posted: Fri Apr 04, 2014 1:50 pm
by abrist
Is there a reason why you are running this ping check against localhost?

Re: /bin/ping6 -n -U -w 10 -c 1 localhost

Posted: Sat Apr 05, 2014 1:48 am
No reason.

can you suggest me a better scrippt for below line...


command[__HOST__]=/usr/local/nagios/libexec/check_ping -H localhost -w 200.0,40% -c 400.0,80% -p 1

Re: /bin/ping6 -n -U -w 10 -c 1 localhost

Posted: Mon Apr 07, 2014 11:33 am
by abrist
You should be able to configure a check that runs check_ping from the nagios server against the remote, no need for an agent . . .
Comment out the "__HOST__" command in the NRDS configuration.
Create a new service check to ping the remote host.

Re: /bin/ping6 -n -U -w 10 -c 1 localhost

Posted: Fri May 23, 2014 6:45 am
Thanks

Re: /bin/ping6 -n -U -w 10 -c 1 localhost

Posted: Fri May 23, 2014 9:17 am
by tmcdonald
I'm guessing it is safe to close the thread now?