Is this on the client? I'd like to see it from the client.al_orange wrote:hsmith wrote:What is the output of ls /usr/local/nagios/libexec/?Code: Select all
[root@nagios ~]# ls /usr/local/nagios/libexec check_nrpe eventhandlers
Error: Service check command...not defined anywhere!
Re: Error: Service check command...not defined anywhere!
Former Nagios Employee.
me.
me.
Re: Error: Service check command...not defined anywhere!
Here is from the client:hsmith wrote: Is this on the client? I'd like to see it from the client.
Code: Select all
[root@ora_linux7_xen2 etc]# ls /usr/local/nagios/libexec/
check_apt check_http check_mrtgtraf check_ping check_tcp
check_breeze check_icmp check_nagios check_pop check_time
check_by_ssh check_ide_smart check_nntp check_procs check_udp
check_clamd check_ifoperstatus check_nntps check_real check_ups
check_cluster check_ifstatus check_nrpe check_rpc check_uptime
check_dhcp check_imap check_nt check_sensors check_users
check_disk check_ircd check_ntp check_simap check_wave
check_disk_smb check_jabber check_ntp_peer check_smtp negate
check_dummy check_load check_ntp_time check_spop urlize
check_file_age check_log check_nwstat check_ssh utils.pm
check_flexlm check_mailq check_oracle check_ssmtp utils.sh
check_ftp check_mrtg check_overcr check_swap
Re: Error: Service check command...not defined anywhere!
What happens if you run ./check_nrpe -H <IP> -c check_users ?
Former Nagios Employee.
me.
me.
Re: Error: Service check command...not defined anywhere!
hsmith wrote:What happens if you run ./check_nrpe -H <IP> -c check_users ?
Code: Select all
[root@ora_linux7_xen2 etc]# ./check_nrpe -H 172.17.40.152 -c check_users
-bash: ./check_nrpe: No such file or directory
Re: Error: Service check command...not defined anywhere!
Looks like you're in the wrong directory, can you run this?al_orange wrote:hsmith wrote:What happens if you run ./check_nrpe -H <IP> -c check_users ?Code: Select all
[root@ora_linux7_xen2 etc]# ./check_nrpe -H 172.17.40.152 -c check_users -bash: ./check_nrpe: No such file or directory
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H 172.17.40.152 -c check_users
Former Nagios Employee
Re: Error: Service check command...not defined anywhere!
Code: Select all
[root@ora_linux7_xen2 etc]# /usr/local/nagios/libexec/check_nrpe -H 172.17.40.152 -c check_users
CHECK_NRPE: Error - Could not complete SSL handshake.
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?
Former Nagios Employee
Re: Error: Service check command...not defined anywhere!
Yes, that's correct. Okay, here is the output from the server:rkennedy wrote:You actually need to run that command on the Nagios server. 172.17.40.152 is the IP for ora_linux7_xen2 right?
Code: Select all
[root@nagios etc]# /usr/local/nagios/libexec/check_nrpe -H 172.17.40.152 -c check_users
USERS OK - 2 users currently logged in |users=2;5;10;0
Re: Error: Service check command...not defined anywhere!
This appears to be working. Is it also working when you look at your Nagios server on the web interface?
Former Nagios Employee
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?