Search found 7 matches
- 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...
- 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...
- 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...
- 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
Results:bolson wrote:and post the result.Code: Select all
from the command line: which ping
[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
- 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
Hello,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
[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
- 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...
- 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...