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

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
[email protected]
Posts: 11
Joined: Sun Nov 10, 2013 5:12 am

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

Post by [email protected] »

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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post by scottwilkerson »

What error are you getting?

What does the NRDS configuration look like?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
[email protected]
Posts: 11
Joined: Sun Nov 10, 2013 5:12 am

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

Post by [email protected] »

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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post by scottwilkerson »

scottwilkerson wrote:What does the NRDS configuration look like?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
[email protected]
Posts: 11
Joined: Sun Nov 10, 2013 5:12 am

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

Post by [email protected] »

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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

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

Post by abrist »

Is there a reason why you are running this ping check against localhost?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
[email protected]
Posts: 11
Joined: Sun Nov 10, 2013 5:12 am

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

Post by [email protected] »

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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

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

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
[email protected]
Posts: 11
Joined: Sun Nov 10, 2013 5:12 am

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

Post by [email protected] »

Thanks
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

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

Post by tmcdonald »

I'm guessing it is safe to close the thread now?
Former Nagios employee
Locked