Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
lmiltchev
Bugs find me
Posts: 13589 Joined: Mon May 23, 2011 12:15 pm
Post
by lmiltchev » Wed Feb 12, 2014 3:45 pm
What is the output of the following command?
Code: Select all
grep USER1 /usr/local/nagios/etc/resource.cfg
BTW, the check is working for me just fine... Here's what I have:
Code: Select all
define command{
command_name check_link
command_line $USER1$/check_link -H $HOSTADDRESS$
}
Code: Select all
define service{
use generic-service
host_name localhost
service_description Link Status
check_command check_link
Code: Select all
[root@localhost libexec]# ./check_link
test-ok
example.PNG (1.99 KiB) Viewed 1253 times
Be sure to check out our
Knowledgebase for helpful articles and solutions!
dario.quiroz
Posts: 7 Joined: Tue Feb 11, 2014 9:46 am
Post
by dario.quiroz » Thu Feb 13, 2014 3:16 pm
REALLY SORRY!! The problema was SELinux!!!
chcon --reference check_oracle check_link and is running ok now!!
I repeat, sorry!!!!
Thanks!!