Search found 7 matches

by tpa
Fri Jul 21, 2017 6:38 pm
Forum: Open Source Nagios Projects
Topic: Nagios core plugin issue
Replies: 16
Views: 5606

Re: Nagios core plugin issue

Hello tpa, So check_ping is working when run from the command line. Is the issue that it's not working in the Web GUI? Click on the service, open the configure tab, click re-configure service and copy and paste the contents of "Monitor the service with this command:" Thank you! Hello! I´m...
by tpa
Fri Jul 21, 2017 6:36 pm
Forum: Open Source Nagios Projects
Topic: Nagios core plugin issue
Replies: 16
Views: 5606

Re: Nagios core plugin issue

post your commands.cfg so we can actually see how the commands are referenced. Hello! ############################################################################### # COMMANDS.CFG - SAMPLE COMMAND DEFINITIONS FOR NAGIOS 4.3.2 # # # NOTES: This config file provides you with some example command def...
by tpa
Thu Jul 20, 2017 7:05 pm
Forum: Open Source Nagios Projects
Topic: Nagios core plugin issue
Replies: 16
Views: 5606

Re: Nagios core plugin issue

From the command line: /usr/local/nagios/libexec/check_ping -H localhost -w 1,20% -c 10,40% sestatus ls -l /usr/bin/ping And post the results. Thank you! Hello! [root@localhost objects]# /usr/local/nagios/libexec/check_ping -H localhost -w 1,20% -c 10,40% PING OK - Packet loss = 0%, RTA = 0.10 ms|r...
by tpa
Wed Jul 19, 2017 2:30 pm
Forum: Open Source Nagios Projects
Topic: Nagios core plugin issue
Replies: 16
Views: 5606

Re: Nagios core plugin issue

bolson wrote:

Code: Select all

from the command line: which ping
and post the result.
Results:
[root@localhost libexec]# which ping
/usr/bin/ping
[root@localhost libexec]# env | grep PATH
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
by tpa
Wed Jul 19, 2017 2:07 pm
Forum: Open Source Nagios Projects
Topic: Nagios core plugin issue
Replies: 16
Views: 5606

Re: Nagios core plugin issue

bolson wrote:Hello tpa,

From the command line run /usr/local/libexec/check_ping -H localhost -w 1,20% -c 10,40%

And post the result
Hello,
[root@localhost libexec]# /usr/local/libexec/check_ping -H localhost -w 1,20% -c 10,40%
-bash: /usr/local/libexec/check_ping: No such file or directory
:cry:
by tpa
Wed Jul 19, 2017 10:53 am
Forum: Open Source Nagios Projects
Topic: Nagios core plugin issue
Replies: 16
Views: 5606

Re: Nagios core plugin issue

Hello, Both tests seems to be ok [root@localhost objects]# file /usr/local/nagios/libexec/check_ping /usr/local/nagios/libexec/check_ping: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=28b261b1ef42f0c2a362371543f9c7a43...
by tpa
Wed Jul 19, 2017 10:18 am
Forum: Open Source Nagios Projects
Topic: Nagios core plugin issue
Replies: 16
Views: 5606

Nagios core plugin issue

Hello, I was able to setup nagios core 4 on centos 7. My problem is with check_ping plugin, it cannot run, I get "no such file or directory" Adding any host to check, I get "down" status. I tried several things that I read on other users posts without success. I tried "ls -l...