Nagios on XenServer 5.5

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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios on XenServer 5.5

Post by abrist »

Build the nagios-plugins source as you will most likely want them: http://www.nagios.org/download/plugins/
http://sourceforge.net/projects/nagiosplug/
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
brianweeks22
Posts: 70
Joined: Fri Dec 21, 2012 12:26 pm

Re: Nagios on XenServer 5.5

Post by brianweeks22 »

but im still receiving this w/in nagios

CHECK_NRPE: Error - Could not complete SSL handshake.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios on XenServer 5.5

Post 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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios on XenServer 5.5

Post by abrist »

Can you telnet/nmap port 5666 on the remote host from the nagios server? Is it open?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
brianweeks22
Posts: 70
Joined: Fri Dec 21, 2012 12:26 pm

Re: Nagios on XenServer 5.5

Post by brianweeks22 »

Yes.. I can telnet
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios on XenServer 5.5

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
brianweeks22
Posts: 70
Joined: Fri Dec 21, 2012 12:26 pm

Re: Nagios on XenServer 5.5

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios on XenServer 5.5

Post 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".
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
brianweeks22
Posts: 70
Joined: Fri Dec 21, 2012 12:26 pm

Re: Nagios on XenServer 5.5

Post 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]#
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios on XenServer 5.5

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked