Page 4 of 6
Re: Nagios on XenServer 5.5
Posted: Tue Mar 12, 2013 9:35 am
by abrist
Re: Nagios on XenServer 5.5
Posted: Tue Mar 12, 2013 9:51 am
by brianweeks22
but im still receiving this w/in nagios
CHECK_NRPE: Error - Could not complete SSL handshake.
Re: Nagios on XenServer 5.5
Posted: Tue Mar 12, 2013 9:57 am
by slansing
Yes, but we are helping you get the system set up properly, we should do this all in order so that you do not run into more issues down the road when they could have been fixed today
We will be able to work on the handshake issue once we get the rest of your system up to spec so to speak, and running in a stable environment. Of course, if you would like to work on this first we certainly can, it is just recommended to get everything up to speed before configuring external checks.
Re: Nagios on XenServer 5.5
Posted: Tue Mar 12, 2013 9:59 am
by abrist
Can you telnet/nmap port 5666 on the remote host from the nagios server? Is it open?
Re: Nagios on XenServer 5.5
Posted: Tue Mar 12, 2013 10:48 am
by brianweeks22
Yes.. I can telnet
Re: Nagios on XenServer 5.5
Posted: Tue Mar 12, 2013 11:02 am
by abrist
Alright, lets run check_nrpe from the nagios server to the remote host from the cli:
On the nagios server:
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H <ip of remote host>
You should receive the nrpe version on the remote host.
Re: Nagios on XenServer 5.5
Posted: Tue Mar 12, 2013 11:11 am
by brianweeks22
under /usr/local/nagios/libexex i only have
check_myssql_health and check_proc_meminfo
I am running 3 other VM's that ARE reporting to nagios correctly tho.. could check_nrpe be in another locatioN
Thanks
Brian
Re: Nagios on XenServer 5.5
Posted: Tue Mar 12, 2013 12:06 pm
by abrist
Are they reporting through nrpe or some other mechanism? (passive checks, etc) You nagios server should have a plugins directory. You could check /usr/lib or /usr/lib64 for the directories "plugins" or "libexec". Inside that folder you should have the plugin "check_nrpe".
Re: Nagios on XenServer 5.5
Posted: Tue Mar 12, 2013 12:11 pm
by brianweeks22
plugin directory at /usr/lib/nagios/plugins
this is the output from the previous cmd you wanted me to run:
[root@rodan2 nagios]# /usr/lib/nagios/plugins/check_nrpe -H <IP ADDRESS OF SERVER>
CHECK_NRPE: Error - Could not complete SSL handshake.
[root@rodan2 nagios]#
Re: Nagios on XenServer 5.5
Posted: Tue Mar 12, 2013 1:34 pm
by abrist
Lets check if ssl is the issue (the "-n" disables ssl for the test):
Code: Select all
/usr/lib/nagios/plugins/check_nrpe -H <IP ADDRESS OF SERVER> -n
Is nrpe started on the remote host?
Code: Select all
service nrpe status
service xinetd status