Doesn't look like its binding to the wrong NIC - I can issue the same command on nagios host to a machine not running NRPE & it correctly gives connection refused. I've even tried upping the timeout to 30, I still get timed out.
M -----Original Message----- From: Martin J. Green Sent: 28 July 2006 12:13 To: [email protected] Cc: '[EMAIL PROTECTED]' Subject: NRPE Having problems getting NRPE to connect. Followed the manual, checked the faq, still nothing. The status in service detail in web interface shows... CHECK_NRPE: Socket timeout after 10 seconds. I've switched debug on, but still see no errors in syslog. Config on nagios host is as follows... define host{ use generic-host ; Name of host template to use host_name dell05 alias dell05.dev.altien.com address 192.168.0.37 check_command check-host-alive max_check_attempts 10 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admins } define service{ use generic-service ; Name of service template to use host_name dell05 service_description Root Partition is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 960 notification_period 24x7 check_command check_nrpe!check_disk1 } define command{ command_name check_nrpe command_line /usr/libexec/nagios/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } Client machine has command[check_disk1]=/usr/libexec/nagios/check_disk -w 10% -c 5% -p /dev/hda1 (That command works locally) When I try and execute check_nrpe on nagios host, it returns the same error: [EMAIL PROTECTED]:/usr/libexec/nagios# ./check_nrpe -H 192.168.0.37 -p 5666 -c check_disk1 CHECK_NRPE: Socket timeout after 10 seconds. It's possible it's a network problem - we have two segments connected by firewall/bridge. This is one of the few machines that are connected to both - it has two NIC's - the client machine is on the subnet of the second NIC, so if nagios is binding to the first nic only that would cause the problem? M ___________________________________________________________________ _________ The questions remain the same. The answers are eternally variable. Martin J. Green Altien Ltd E: [EMAIL PROTECTED] ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
