Search found 55 matches
- Wed Jan 13, 2016 12:06 pm
- Forum: Open Source Nagios Projects
- Topic: Error: Service check command...not defined anywhere!
- Replies: 74
- Views: 52772
Re: Error: Service check command...not defined anywhere!
Can you verify the permissions of your libexec folder and post the result? ls -l /usr/local/nagios/libexec/ Can you please execute this command on your remote linux server that has the NRPE agent installed. Also, I'm not sure if you've been linked to this troubleshooting guide as it may help: https...
- Tue Jan 12, 2016 5:24 pm
- Forum: Open Source Nagios Projects
- Topic: Error: Service check command...not defined anywhere!
- Replies: 74
- Views: 52772
Re: Error: Service check command...not defined anywhere!
Can you verify the permissions of your libexec folder and post the result? ls -l /usr/local/nagios/libexec/ -rwxr-xr-x 1 nagios nagios 205922 Dec 17 13:30 check_apt -rwxr-xr-x 1 nagios nagios 2309 Dec 17 13:30 check_breeze -rwxr-xr-x 1 nagios nagios 210127 Dec 17 13:30 check_by_ssh lrwxrwxrwx 1 roo...
- Tue Jan 12, 2016 5:18 pm
- Forum: Open Source Nagios Projects
- Topic: Error: Service check command...not defined anywhere!
- Replies: 74
- Views: 52772
Re: Error: Service check command...not defined anywhere!
No, that didn't seem to fix the issue. I did restart Nagios.rkennedy wrote: In that file, try changing a your Current Users definitions, and then let me know if it is fixed.
- Tue Jan 12, 2016 5:14 pm
- Forum: Open Source Nagios Projects
- Topic: Error: Service check command...not defined anywhere!
- Replies: 74
- Views: 52772
Re: Error: Service check command...not defined anywhere!
No, I was doing it as nagiosadmin. I just tried it as root. It worked.hsmith wrote:Are you doing this as root?
- Tue Jan 12, 2016 5:04 pm
- Forum: Open Source Nagios Projects
- Topic: Error: Service check command...not defined anywhere!
- Replies: 74
- Views: 52772
Re: Error: Service check command...not defined anywhere!
When I try to vi services.cfg, it says it's read only, and I can't save it. How do I overcome this?


- Tue Jan 12, 2016 1:01 pm
- Forum: Open Source Nagios Projects
- Topic: Error: Service check command...not defined anywhere!
- Replies: 74
- Views: 52772
Re: Error: Service check command...not defined anywhere!
[nagiosadmin@nagios etc]$ vi services.cfg define service{ use generic-service host_name ora_linux7_xen2.xyz.local service_description CPU Load check_command check_nrpe!check_load } define service{ use generic-service host_name ora_linux7_xen2.xyz.local service_description Total Processes check_comm...
- Mon Dec 21, 2015 6:39 pm
- Forum: Open Source Nagios Projects
- Topic: Error: Service check command...not defined anywhere!
- Replies: 74
- Views: 52772
Re: Error: Service check command...not defined anywhere!
Can you please post the file that contains those 4 service definitions for us to take a look at? Is that the nrpe.cfg? If so, it is the sample nrpe config file, with the addition of: command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 command[check_load]=/usr/local/nagios/libexec/...
- Mon Dec 21, 2015 2:32 pm
- Forum: Open Source Nagios Projects
- Topic: Error: Service check command...not defined anywhere!
- Replies: 74
- Views: 52772
Re: Error: Service check command...not defined anywhere!
Yes, it is working. The only errors I am getting are as follows:rkennedy wrote:This appears to be working. Is it also working when you look at your Nagios server on the web interface?
- Fri Dec 18, 2015 4:45 pm
- Forum: Open Source Nagios Projects
- Topic: Error: Service check command...not defined anywhere!
- Replies: 74
- Views: 52772
Re: Error: Service check command...not defined anywhere!
You actually need to run that command on the Nagios server. 172.17.40.152 is the IP for ora_linux7_xen2 right? Yes, that's correct. Okay, here is the output from the server: [root@nagios etc]# /usr/local/nagios/libexec/check_nrpe -H 172.17.40.152 -c check_users USERS OK - 2 users currently logged i...
- Fri Dec 18, 2015 12:23 pm
- Forum: Open Source Nagios Projects
- Topic: stderr: execvp(/usr/local/nagios/libexec/check_ping, ...) fa
- Replies: 26
- Views: 22802
Re: stderr: execvp(/usr/local/nagios/libexec/check_ping, ...
Yes, this issue has been resolved. Please lock this thread.bwallace wrote:Glad to hear it is working now. Did you have any other questions, or may we lock this thread?