Search found 7 matches

by sergo
Tue Jul 26, 2016 2:27 am
Forum: Open Source Nagios Projects
Topic: Ping status UNKNOWN
Replies: 9
Views: 7652

Re: Ping status UNKNOWN

mcapra wrote:Is it alright if we lock this thread and mark the issue as resolved?
Yes, it is)
by sergo
Mon Jul 25, 2016 3:51 am
Forum: Open Source Nagios Projects
Topic: Ping status UNKNOWN
Replies: 9
Views: 7652

Re: Ping status UNKNOWN

Lets change the ownership of the user and group to nagios for that plugin Login as root to the Nagios server and run the following to do that. chown nagios.nagios check_ping Then login to the server as nagios and run the plugin to see if it can be ran by the nagios user. su nagios ./check_ping -H $...
by sergo
Fri Jul 22, 2016 3:27 am
Forum: Open Source Nagios Projects
Topic: Ping status UNKNOWN
Replies: 9
Views: 7652

Re: Ping status UNKNOWN

Can you post the permissions for us to look at? ls -la check_ping Also, please run strace ./check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 (specifically with strace before it), as the nagios user, and also the root user. This will give us a bit of debug to see where the issue lies. P...
by sergo
Wed Jul 20, 2016 4:35 am
Forum: Open Source Nagios Projects
Topic: Ping status UNKNOWN
Replies: 9
Views: 7652

Re: Ping status UNKNOWN

Well, I looked at commands.cfg and localhost.cfg and tried to execute this code as root user: ./check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 and got this PING OK - Packet loss = 0%, RTA = 0.12 mslrta=0.118000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0 It seems to work fine, is n...
by sergo
Wed Jul 20, 2016 2:59 am
Forum: Open Source Nagios Projects
Topic: Ping status UNKNOWN
Replies: 9
Views: 7652

Re: Ping status UNKNOWN

It looks like the superuser bit isn't set on the ping command and that could be the cause of the issue. Login as root to the server and run the following to add the su bit to the ping command. chmod u+s /bin/ping Try that and see if this works for you. I already tried to do it. But there was no res...
by sergo
Tue Jul 19, 2016 11:00 am
Forum: Open Source Nagios Projects
Topic: Ping status UNKNOWN
Replies: 9
Views: 7652

Ping status UNKNOWN

Hi, have installed nagios-4.1.1 and nagios-plugins-2.1.1. And I have problem with plugin ' check_ping '. Servis state information is: Current status: UNKNOWN Status information: /bin/ping -n -U -w 10 -c 5 127.0.0.1 CRITICAL - Could not interpret output from ping command localhost has status DOWN. Ot...
by sergo
Thu Jun 09, 2016 7:25 am
Forum: Open Source Nagios Projects
Topic: Unable to generate random bytes
Replies: 1
Views: 1034

Unable to generate random bytes

Hi, I have some problem with nagios settings. I`ve installed nagios to computer with SPARC architecture using Buildroot. As it is written here (https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/4/en/quickstart-ubuntu.html) I tried to create a nagiosadmin account for logging into the Nag...