REALLY SORRY!! The problema was SELinux!!!
chcon --reference check_oracle check_link and is running ok now!!
I repeat, sorry!!!!
Thanks!!
Search found 7 matches
- Thu Feb 13, 2014 3:16 pm
- Forum: Open Source Nagios Projects
- Topic: 126 Out of bounds
- Replies: 11
- Views: 13293
- Wed Feb 12, 2014 2:33 pm
- Forum: Open Source Nagios Projects
- Topic: 126 Out of bounds
- Replies: 11
- Views: 13293
Re: 126 Out of bounds
All the plugins have equal permissions!! and yes, they are in /usr/lib/nagios/plugins: -rwxr-xr-x. 1 root root 38 Feb 12 09:40 check_link -rwxr-xr-x. 1 root root 636 Feb 12 09:33 check_link.bk -rwxr-xr-x. 1 root root 3871 Oct 17 08:43 check_linux_raid -rwxr-xr-x. 1 root root 38988 Oct 17 08:43 check...
- Wed Feb 12, 2014 2:10 pm
- Forum: Open Source Nagios Projects
- Topic: 126 Out of bounds
- Replies: 11
- Views: 13293
Re: 126 Out of bounds
The script is running locally!... If I'm not wrong, the script runs and returns 0 (exit 0).. nothing more than this.. is this ok? but anyway, why the Nagios say it's out of bound? is not executable?
- Wed Feb 12, 2014 1:55 pm
- Forum: Open Source Nagios Projects
- Topic: 126 Out of bounds
- Replies: 11
- Views: 13293
Re: 126 Out of bounds
Sorry but is locally!!
- Wed Feb 12, 2014 6:36 am
- Forum: Open Source Nagios Projects
- Topic: 126 Out of bounds
- Replies: 11
- Views: 13293
Re: 126 Out of bounds
Log: [1392204630] Warning: Return code of 126 for check of service 'Link Status' on host 'florestal-ptp600-sistemas' was out of bounds.Make sure the plugin you're trying to run is executable. host.cfg: define service{ use generic-service host_name florestal-ptp600-sistemas service_description Link S...
- Tue Feb 11, 2014 3:04 pm
- Forum: Open Source Nagios Projects
- Topic: 126 Out of bounds
- Replies: 11
- Views: 13293
Re: 126 Out of bounds
Thanks for the help!!!
The script is this:
#!/bin/bash
echo "test-ok"
exit 0
The script is this:
#!/bin/bash
echo "test-ok"
exit 0
- Tue Feb 11, 2014 10:00 am
- Forum: Open Source Nagios Projects
- Topic: 126 Out of bounds
- Replies: 11
- Views: 13293
126 Out of bounds
Hi, I made my own script but it returns 126 out of bounds. I read the documentation of nagios so: It returns: [1392130212] Warning: Return code of 126 for check of service 'Link Status' on host 'florestal-ptp600-sistemas' was out of bounds.Make sure the plugin you're trying to run is executable. The...