Page 1 of 1

error adding machine with Linux server Wizards

Posted: Fri Jan 25, 2013 9:15 am
by sarfarosh
Hello Guys,
am trying to add mine nagios server with the Linux server wizards to nagios xi to monitor itÅ› Memory usage etc...after adding the Host i get the error

Code: Select all

Memory Usage 	Unknown 	31s 	1/5 	2013-01-25 19:40:06 	CHECK_NRPE: Error receiving data from daemon.
NRPE chk says every thing is ok

Code: Select all

[root@localhost linux-nrpe-agent]# /usr/local/nagios/libexec/check_nrpe -H 192.168.10.200
NRPE v2.12
below is output of tail -f /var/log/messages

Code: Select all

Jan 25 19:38:56 localhost nagios: SERVICE ALERT: 192.168.10.200;/ Disk Usage;UNKNOWN;SOFT;4;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:38:57 localhost xinetd[24788]: START: nrpe pid=27080 from=::ffff:192.168.10.200
Jan 25 19:38:57 localhost nrpe[27080]: Error: Could not complete SSL handshake. 1
Jan 25 19:38:57 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27080 duration=0(sec)
Jan 25 19:38:59 localhost xinetd[24788]: START: nrpe pid=27083 from=::ffff:192.168.10.200
Jan 25 19:38:59 localhost nrpe[27083]: Error: Could not complete SSL handshake. 1
Jan 25 19:38:59 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27083 duration=0(sec)
Jan 25 19:39:01 localhost xinetd[24788]: START: nrpe pid=27092 from=::ffff:192.168.10.200
Jan 25 19:39:01 localhost xinetd[24788]: START: nrpe pid=27093 from=::ffff:192.168.10.200
Jan 25 19:39:01 localhost nrpe[27092]: Error: Could not complete SSL handshake. 1
Jan 25 19:39:01 localhost nrpe[27093]: Error: Could not complete SSL handshake. 1
Jan 25 19:39:01 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27092 duration=0(sec)
Jan 25 19:39:01 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27093 duration=0(sec)
Jan 25 19:39:06 localhost nagios: SERVICE ALERT: 192.168.10.200;Cron Scheduling Daemon;UNKNOWN;SOFT;1;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:39:06 localhost nagios: SERVICE ALERT: 192.168.10.200;/ Disk Usage;UNKNOWN;HARD;5;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:39:06 localhost nagios: SERVICE NOTIFICATION: nagiosadmin;192.168.10.200;/ Disk Usage;UNKNOWN;xi_service_notification_handler;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:39:06 localhost nagios: SERVICE ALERT: 192.168.10.200;Total Processes;UNKNOWN;SOFT;2;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:39:07 localhost xinetd[24788]: START: nrpe pid=27221 from=::ffff:192.168.10.200
Jan 25 19:39:07 localhost nrpe[27221]: Error: Could not complete SSL handshake. 1
Jan 25 19:39:07 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27221 duration=0(sec)
Jan 25 19:39:09 localhost xinetd[24788]: START: nrpe pid=27226 from=::ffff:192.168.10.200
Jan 25 19:39:09 localhost nrpe[27226]: Error: Could not complete SSL handshake. 1
Jan 25 19:39:09 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27226 duration=0(sec)
Jan 25 19:39:16 localhost nagios: SERVICE ALERT: 192.168.10.200;Yum Updates;UNKNOWN;SOFT;1;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:39:26 localhost xinetd[24788]: START: nrpe pid=27324 from=::ffff:192.168.10.200
Jan 25 19:39:26 localhost nrpe[27324]: Error: Could not complete SSL handshake. 1
Jan 25 19:39:26 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27324 duration=0(sec)
Jan 25 19:39:27 localhost xinetd[24788]: START: nrpe pid=27327 from=::ffff:192.168.10.200
Jan 25 19:39:27 localhost nrpe[27327]: Error: Could not complete SSL handshake. 1
Jan 25 19:39:27 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27327 duration=0(sec)
Jan 25 19:39:32 localhost xinetd[24788]: START: nrpe pid=27336 from=::ffff:192.168.10.200
Jan 25 19:39:32 localhost nrpe[27336]: Error: Could not complete SSL handshake. 1
Jan 25 19:39:32 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27336 duration=0(sec)
Jan 25 19:39:34 localhost xinetd[24788]: START: nrpe pid=27348 from=::ffff:192.168.10.200
Jan 25 19:39:34 localhost xinetd[24788]: START: nrpe pid=27349 from=::ffff:192.168.10.200
Jan 25 19:39:34 localhost nrpe[27348]: Error: Could not complete SSL handshake. 1
Jan 25 19:39:34 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27348 duration=0(sec)
Jan 25 19:39:34 localhost nrpe[27349]: Error: Could not complete SSL handshake. 1
Jan 25 19:39:34 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27349 duration=0(sec)
Jan 25 19:39:36 localhost nagios: SERVICE ALERT: 192.168.10.200;CPU Stats;UNKNOWN;SOFT;2;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:39:36 localhost nagios: SERVICE ALERT: 192.168.10.200;Swap Usage;UNKNOWN;SOFT;3;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:39:36 localhost nagios: SERVICE ALERT: 192.168.10.200;Load;UNKNOWN;SOFT;1;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:39:36 localhost nagios: SERVICE ALERT: 192.168.10.200;Users;UNKNOWN;SOFT;2;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:39:47 localhost xinetd[24788]: START: nrpe pid=27414 from=::ffff:192.168.10.200
Jan 25 19:39:47 localhost nrpe[27414]: Error: Could not complete SSL handshake. 1
Jan 25 19:39:47 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27414 duration=0(sec)
Jan 25 19:39:52 localhost xinetd[24788]: START: nrpe pid=27421 from=::ffff:192.168.10.200
Jan 25 19:39:52 localhost nrpe[27421]: Error: Could not complete SSL handshake. 1
Jan 25 19:39:52 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27421 duration=0(sec)
Jan 25 19:39:59 localhost xinetd[24788]: START: nrpe pid=27435 from=::ffff:192.168.10.200
Jan 25 19:39:59 localhost nrpe[27435]: Error: Could not complete SSL handshake. 1
Jan 25 19:39:59 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27435 duration=0(sec)
Jan 25 19:40:01 localhost xinetd[24788]: START: nrpe pid=27442 from=::ffff:192.168.10.200
Jan 25 19:40:01 localhost nrpe[27442]: Error: Could not complete SSL handshake. 1
Jan 25 19:40:01 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27442 duration=0(sec)
Jan 25 19:40:06 localhost nagios: SERVICE ALERT: 192.168.10.200;Cron Scheduling Daemon;UNKNOWN;SOFT;2;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:40:06 localhost nagios: SERVICE ALERT: 192.168.10.200;Total Processes;UNKNOWN;SOFT;3;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:40:06 localhost xinetd[24788]: START: nrpe pid=27569 from=::ffff:192.168.10.200
Jan 25 19:40:06 localhost nrpe[27569]: Error: Could not complete SSL handshake. 1
Jan 25 19:40:06 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27569 duration=0(sec)
Jan 25 19:40:07 localhost xinetd[24788]: START: nrpe pid=27572 from=::ffff:192.168.10.200
Jan 25 19:40:07 localhost nrpe[27572]: Error: Could not complete SSL handshake. 1
Jan 25 19:40:07 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27572 duration=0(sec)
Jan 25 19:40:11 localhost xinetd[24788]: START: nrpe pid=27580 from=::ffff:192.168.10.200
Jan 25 19:40:11 localhost nrpe[27580]: Error: Could not complete SSL handshake. 1
Jan 25 19:40:11 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27580 duration=0(sec)
Jan 25 19:40:12 localhost xinetd[24788]: START: nrpe pid=27595 from=::ffff:192.168.10.200
Jan 25 19:40:12 localhost nrpe[27595]: Error: Could not complete SSL handshake. 1
Jan 25 19:40:12 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27595 duration=0(sec)
Jan 25 19:40:16 localhost nagios: SERVICE ALERT: 192.168.10.200;Memory Usage;UNKNOWN;SOFT;1;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:40:16 localhost nagios: SERVICE ALERT: 192.168.10.200;Yum Updates;UNKNOWN;SOFT;2;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:40:26 localhost xinetd[24788]: START: nrpe pid=27650 from=::ffff:192.168.10.200
Jan 25 19:40:26 localhost nrpe[27650]: Error: Could not complete SSL handshake. 1
Jan 25 19:40:26 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27650 duration=0(sec)
Jan 25 19:40:27 localhost xinetd[24788]: START: nrpe pid=27653 from=::ffff:192.168.10.200
Jan 25 19:40:27 localhost nrpe[27653]: Error: Could not complete SSL handshake. 1
Jan 25 19:40:27 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27653 duration=0(sec)
Jan 25 19:40:32 localhost xinetd[24788]: START: nrpe pid=27662 from=::ffff:192.168.10.200
Jan 25 19:40:32 localhost nrpe[27662]: Error: Could not complete SSL handshake. 1
Jan 25 19:40:32 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27662 duration=0(sec)
Jan 25 19:40:34 localhost xinetd[24788]: START: nrpe pid=27674 from=::ffff:192.168.10.200
Jan 25 19:40:34 localhost nrpe[27674]: Error: Could not complete SSL handshake. 1
Jan 25 19:40:34 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27674 duration=0(sec)
Jan 25 19:40:36 localhost nagios: SERVICE ALERT: 192.168.10.200;CPU Stats;UNKNOWN;SOFT;3;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:40:36 localhost nagios: SERVICE ALERT: 192.168.10.200;Swap Usage;UNKNOWN;SOFT;4;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:40:36 localhost nagios: SERVICE ALERT: 192.168.10.200;Load;UNKNOWN;SOFT;2;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:40:36 localhost nagios: SERVICE ALERT: 192.168.10.200;Users;UNKNOWN;SOFT;3;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:40:39 localhost xinetd[24788]: START: nrpe pid=27697 from=::ffff:192.168.10.200
Jan 25 19:40:39 localhost nrpe[27697]: Error: Could not complete SSL handshake. 1
Jan 25 19:40:39 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27697 duration=0(sec)
Jan 25 19:40:46 localhost nagios: SERVICE ALERT: 192.168.10.200;Open Files;UNKNOWN;SOFT;1;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:40:49 localhost xinetd[24788]: START: nrpe pid=27778 from=::ffff:192.168.10.200
Jan 25 19:40:49 localhost nrpe[27778]: Error: Could not complete SSL handshake. 1
Jan 25 19:40:49 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27778 duration=0(sec)
Jan 25 19:40:59 localhost xinetd[24788]: START: nrpe pid=27794 from=::ffff:192.168.10.200
Jan 25 19:40:59 localhost nrpe[27794]: Error: Could not complete SSL handshake. 1
Jan 25 19:40:59 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27794 duration=0(sec)
Jan 25 19:41:01 localhost xinetd[24788]: START: nrpe pid=27801 from=::ffff:192.168.10.200
Jan 25 19:41:01 localhost nrpe[27801]: Error: Could not complete SSL handshake. 1
Jan 25 19:41:01 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27801 duration=0(sec)
Jan 25 19:41:06 localhost nagios: SERVICE ALERT: 192.168.10.200;Cron Scheduling Daemon;UNKNOWN;SOFT;3;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:41:06 localhost nagios: SERVICE ALERT: 192.168.10.200;Total Processes;UNKNOWN;SOFT;4;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:41:06 localhost xinetd[24788]: START: nrpe pid=27915 from=::ffff:192.168.10.200
Jan 25 19:41:06 localhost nrpe[27915]: Error: Could not complete SSL handshake. 1
Jan 25 19:41:06 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27915 duration=0(sec)
Jan 25 19:41:07 localhost xinetd[24788]: START: nrpe pid=27918 from=::ffff:192.168.10.200
Jan 25 19:41:07 localhost nrpe[27918]: Error: Could not complete SSL handshake. 1
Jan 25 19:41:07 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27918 duration=0(sec)
Jan 25 19:41:16 localhost nagios: SERVICE ALERT: 192.168.10.200;Memory Usage;UNKNOWN;SOFT;2;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:41:16 localhost nagios: SERVICE ALERT: 192.168.10.200;Yum Updates;UNKNOWN;SOFT;3;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:41:26 localhost xinetd[24788]: START: nrpe pid=27990 from=::ffff:192.168.10.200
Jan 25 19:41:26 localhost nrpe[27990]: Error: Could not complete SSL handshake. 1
Jan 25 19:41:26 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27990 duration=0(sec)
Jan 25 19:41:27 localhost xinetd[24788]: START: nrpe pid=27997 from=::ffff:192.168.10.200
Jan 25 19:41:27 localhost nrpe[27997]: Error: Could not complete SSL handshake. 1
Jan 25 19:41:27 localhost xinetd[24788]: EXIT: nrpe status=0 pid=27997 duration=0(sec)
Jan 25 19:41:32 localhost xinetd[24788]: START: nrpe pid=28005 from=::ffff:192.168.10.200
Jan 25 19:41:32 localhost nrpe[28005]: Error: Could not complete SSL handshake. 1
Jan 25 19:41:32 localhost xinetd[24788]: EXIT: nrpe status=0 pid=28005 duration=0(sec)
Jan 25 19:41:34 localhost xinetd[24788]: START: nrpe pid=28016 from=::ffff:192.168.10.200
Jan 25 19:41:34 localhost nrpe[28016]: Error: Could not complete SSL handshake. 1
Jan 25 19:41:34 localhost xinetd[24788]: EXIT: nrpe status=0 pid=28016 duration=0(sec)
\:q
Jan 25 19:41:36 localhost nagios: SERVICE ALERT: 192.168.10.200;CPU Stats;UNKNOWN;SOFT;4;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:41:36 localhost nagios: SERVICE ALERT: 192.168.10.200;Swap Usage;UNKNOWN;HARD;5;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:41:36 localhost nagios: SERVICE NOTIFICATION: nagiosadmin;192.168.10.200;Swap Usage;UNKNOWN;xi_service_notification_handler;CHECK_NRPE: Error receiving data from daemon.
:qJan 25 19:41:36 localhost nagios: SERVICE ALERT: 192.168.10.200;Load;UNKNOWN;SOFT;3;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:41:36 localhost nagios: SERVICE ALERT: 192.168.10.200;Users;UNKNOWN;SOFT;4;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:41:39 localhost xinetd[24788]: START: nrpe pid=28044 from=::ffff:192.168.10.200
Jan 25 19:41:39 localhost nrpe[28044]: Error: Could not complete SSL handshake. 1
Jan 25 19:41:39 localhost xinetd[24788]: EXIT: nrpe status=0 pid=28044 duration=0(sec)
:qJan 25 19:41:46 localhost nagios: SERVICE ALERT: 192.168.10.200;Open Files;UNKNOWN;SOFT;2;CHECK_NRPE: Error receiving data from daemon.

Jan 25 19:41:46 localhost xinetd[24788]: START: nrpe pid=28094 from=::ffff:192.168.10.200
Jan 25 19:41:46 localhost nrpe[28094]: Error: Could not complete SSL handshake. 1
Jan 25 19:41:46 localhost xinetd[24788]: EXIT: nrpe status=0 pid=28094 duration=0(sec)
^C
[root@localhost linux-nrpe-agent]# c

[root@localhost linux-nrpe-agent]# /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1
CHECK_NRPE: Error - Could not complete SSL handshake.
[root@localhost linux-nrpe-agent]# /usr/local/nagios/libexec/check_nrpe -H 192.168.10.200
NRPE v2.12
[root@localhost linux-nrpe-agent]# ^C
[root@localhost linux-nrpe-agent]# ^C
[root@localhost linux-nrpe-agent]# ^C
[root@localhost linux-nrpe-agent]# tail -f /var/log/messages 
Jan 25 19:42:11 localhost xinetd[24788]: START: nrpe pid=28292 from=::ffff:192.168.10.200
Jan 25 19:42:11 localhost xinetd[24788]: EXIT: nrpe status=0 pid=28292 duration=0(sec)
Jan 25 19:42:16 localhost nagios: SERVICE ALERT: 192.168.10.200;Memory Usage;UNKNOWN;SOFT;3;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:42:16 localhost nagios: SERVICE ALERT: 192.168.10.200;Yum Updates;UNKNOWN;SOFT;4;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:42:17 localhost xinetd[24788]: START: nrpe pid=28321 from=::ffff:192.168.10.200
Jan 25 19:42:17 localhost nrpe[28321]: Error: Could not complete SSL handshake. 1
Jan 25 19:42:17 localhost xinetd[24788]: EXIT: nrpe status=0 pid=28321 duration=0(sec)
Jan 25 19:42:26 localhost xinetd[24788]: START: nrpe pid=28358 from=::ffff:192.168.10.200
Jan 25 19:42:26 localhost nrpe[28358]: Error: Could not complete SSL handshake. 1
Jan 25 19:42:26 localhost xinetd[24788]: EXIT: nrpe status=0 pid=28358 duration=0(sec)
Jan 25 19:42:32 localhost xinetd[24788]: START: nrpe pid=28372 from=::ffff:192.168.10.200
Jan 25 19:42:32 localhost nrpe[28372]: Error: Could not complete SSL handshake. 1
Jan 25 19:42:32 localhost xinetd[24788]: EXIT: nrpe status=0 pid=28372 duration=0(sec)
Jan 25 19:42:34 localhost xinetd[24788]: START: nrpe pid=28384 from=::ffff:192.168.10.200
Jan 25 19:42:34 localhost nrpe[28384]: Error: Could not complete SSL handshake. 1
Jan 25 19:42:34 localhost xinetd[24788]: EXIT: nrpe status=0 pid=28384 duration=0(sec)
Jan 25 19:42:36 localhost nagios: SERVICE ALERT: 192.168.10.200;CPU Stats;UNKNOWN;HARD;5;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:42:36 localhost nagios: SERVICE NOTIFICATION: nagiosadmin;192.168.10.200;CPU Stats;UNKNOWN;xi_service_notification_handler;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:42:36 localhost nagios: SERVICE ALERT: 192.168.10.200;Load;UNKNOWN;SOFT;4;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:42:36 localhost nagios: SERVICE ALERT: 192.168.10.200;Users;UNKNOWN;HARD;5;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:42:36 localhost nagios: SERVICE NOTIFICATION: nagiosadmin;192.168.10.200;Users;UNKNOWN;xi_service_notification_handler;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:42:39 localhost xinetd[24788]: START: nrpe pid=28412 from=::ffff:192.168.10.200
Jan 25 19:42:39 localhost nrpe[28412]: Error: Could not complete SSL handshake. 1
Jan 25 19:42:39 localhost xinetd[24788]: EXIT: nrpe status=0 pid=28412 duration=0(sec)
Jan 25 19:42:46 localhost nagios: SERVICE ALERT: 192.168.10.200;Open Files;UNKNOWN;SOFT;3;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:42:46 localhost xinetd[24788]: START: nrpe pid=28462 from=::ffff:192.168.10.200
Jan 25 19:42:46 localhost nrpe[28462]: Error: Could not complete SSL handshake. 1
Jan 25 19:42:46 localhost xinetd[24788]: EXIT: nrpe status=0 pid=28462 duration=0(sec)
Jan 25 19:42:54 localhost xinetd[24788]: START: nrpe pid=28475 from=::ffff:192.168.10.200
Jan 25 19:42:54 localhost nrpe[28475]: Error: Could not complete SSL handshake. 1
Jan 25 19:42:54 localhost xinetd[24788]: EXIT: nrpe status=0 pid=28475 duration=0(sec)
Jan 25 19:42:56 localhost nagios: SERVICE ALERT: 192.168.10.200;SSH Server;UNKNOWN;SOFT;2;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:42:56 localhost nagios: SERVICE ALERT: 192.168.10.201;Ping;CRITICAL;SOFT;1;CRITICAL - 192.168.10.201: Host unreachable @ 192.168.10.200. rta nan, lost 100%
Jan 25 19:42:59 localhost xinetd[24788]: START: nrpe pid=28494 from=::ffff:192.168.10.200
Jan 25 19:42:59 localhost nrpe[28494]: Error: Could not complete SSL handshake. 1
Jan 25 19:42:59 localhost xinetd[24788]: EXIT: nrpe status=0 pid=28494 duration=0(sec)
Jan 25 19:43:06 localhost nagios: SERVICE ALERT: 192.168.10.200;Cron Scheduling Daemon;UNKNOWN;HARD;5;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:43:06 localhost nagios: SERVICE NOTIFICATION: nagiosadmin;192.168.10.200;Cron Scheduling Daemon;UNKNOWN;xi_service_notification_handler;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:43:06 localhost nagios: HOST ALERT: 192.168.10.201;DOWN;SOFT;1;CRITICAL - 192.168.10.201: Host unreachable @ 192.168.10.200. rta nan, lost 100%
Jan 25 19:43:06 localhost xinetd[24788]: START: nrpe pid=28681 from=::ffff:192.168.10.200
Jan 25 19:43:06 localhost nrpe[28681]: Error: Could not complete SSL handshake. 1
Jan 25 19:43:06 localhost xinetd[24788]: EXIT: nrpe status=0 pid=28681 duration=0(sec)
Jan 25 19:43:07 localhost xinetd[24788]: START: nrpe pid=28684 from=::ffff:192.168.10.200
Jan 25 19:43:07 localhost nrpe[28684]: Error: Could not complete SSL handshake. 1
Jan 25 19:43:07 localhost xinetd[24788]: EXIT: nrpe status=0 pid=28684 duration=0(sec)
Jan 25 19:43:16 localhost nagios: SERVICE ALERT: 192.168.10.200;Memory Usage;UNKNOWN;SOFT;4;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:43:17 localhost nagios: SERVICE ALERT: 192.168.10.200;Yum Updates;UNKNOWN;HARD;5;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:43:17 localhost nagios: SERVICE NOTIFICATION: nagiosadmin;192.168.10.200;Yum Updates;UNKNOWN;xi_service_notification_handler;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:43:19 localhost xinetd[24788]: START: nrpe pid=28723 from=::ffff:192.168.10.200
Jan 25 19:43:19 localhost nrpe[28723]: Error: Could not complete SSL handshake. 1
Jan 25 19:43:19 localhost xinetd[24788]: EXIT: nrpe status=0 pid=28723 duration=0(sec)
Jan 25 19:43:32 localhost xinetd[24788]: START: nrpe pid=28770 from=::ffff:192.168.10.200
Jan 25 19:43:32 localhost xinetd[24788]: START: nrpe pid=28771 from=::ffff:192.168.10.200
Jan 25 19:43:32 localhost nrpe[28770]: Error: Could not complete SSL handshake. 1
Jan 25 19:43:32 localhost xinetd[24788]: EXIT: nrpe status=0 pid=28770 duration=0(sec)
Jan 25 19:43:32 localhost nrpe[28771]: Error: Could not complete SSL handshake. 1
Jan 25 19:43:32 localhost xinetd[24788]: EXIT: nrpe status=0 pid=28771 duration=0(sec)
Jan 25 19:43:36 localhost nagios: SERVICE ALERT: 192.168.10.200;Load;UNKNOWN;HARD;5;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:43:36 localhost nagios: SERVICE NOTIFICATION: nagiosadmin;192.168.10.200;Load;UNKNOWN;xi_service_notification_handler;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:43:39 localhost xinetd[24788]: START: nrpe pid=28793 from=::ffff:192.168.10.200
Jan 25 19:43:39 localhost nrpe[28793]: Error: Could not complete SSL handshake. 1
Jan 25 19:43:39 localhost xinetd[24788]: EXIT: nrpe status=0 pid=28793 duration=0(sec)
Jan 25 19:43:46 localhost nagios: SERVICE ALERT: 192.168.10.200;Open Files;UNKNOWN;SOFT;4;CHECK_NRPE: Error receiving data from daemon.
Jan 25 19:43:46 localhost xinetd[24788]: START: nrpe pid=28843 from=::ffff:192.168.10.200
Jan 25 19:43:46 localhost nrpe[28843]: Error: Could not complete SSL handshake. 1
Jan 25 19:43:46 localhost xinetd[24788]: EXIT: nrpe status=0 pid=28843 duration=0(sec)


Re: error adding machine with Linux server Wizards

Posted: Fri Jan 25, 2013 10:40 am
by slansing
Hello there!

I'm assuming it's already set because you can communicate but make sure that your remote server has it's NRPE.cfg file set to allow your Nagios XI box to communicate:

Code: Select all

allowed_hosts=nagios.xi.ip
Also, do you have the correct permissions set on the remote server's plugin? And is it compiled for SSL and enabled by chance?

Re: error adding machine with Linux server Wizards

Posted: Fri Jan 25, 2013 11:40 am
by sarfarosh
Hello
Also, do you have the correct permissions set on the remote server's plugin? And is it compiled for SSL and enabled by chance?
Have done by default by running the "fullinstall" file so i think it get complied with SSL support rite?

Re: error adding machine with Linux server Wizards

Posted: Fri Jan 25, 2013 11:50 am
by slansing
By default I do not believe so, you should have to pass it a flag to enable SSL, which in this case is good because that is another layer.

Do you have the correct ports open on the remote system? 5666, and SELINUX disabled? Are you using Xinetd or a deamonized version?

If you are using xinetd be sure to to edit the allowed hosts section here:

Code: Select all

/etc/xinetd.d/nrpe
Check selinux with this command:

Code: Select all

sestatus

Re: error adding machine with Linux server Wizards

Posted: Fri Jan 25, 2013 11:58 am
by lmiltchev
If you are using xinetd, you need to open the nrpe file on the client machine:

Code: Select all

vi /etc/xinetd.d/nrpe
and add the XI server's IP on the "only_from" line, for example:

Code: Select all

only_from       = 127.0.0.1 192.168.x.x
Note: The IPs are space separated, not coma separated.

Then you need to restart xinetd:

Code: Select all

service xinetd restart
Try telneting to port 5666 from your Nagios XI server:

Code: Select all

telnet <Client_IP> 5666
Hope this helps.