Page 1 of 1

connection could not be established within 60 seconds

Posted: Mon Dec 16, 2013 12:16 am
by Kanako Shinkura
Hi all,
I have some problems that I can't find solution for it.
I'm using Nagios 4.0.2 on CentOS 6.4.

I am running a Nagios Server and check the status of My SQL.
Some hosts show Critical error messages from November 11th.
The error messages show "connection could not be established within 60 seconds".

All other hosts working ok and all the hosts have installed and configure the same NSClient++.

In addition, I changed the config file from "notifications_enabled 1" to "notifications_enabled 0".
At the result the error messages only one time a day 00:00.

What should I do about the error?

[root@crosv1212vms log]# more messages-20131215|grep connection
Dec 8 03:29:02 crosv1212vms nagios: SERVICE NOTIFICATION: cro-s0000;crosv1307XXX2;MySQL Slow Queries;CRITICAL;notify-service-by-email;CRITICAL - connection could not be established within 60 seconds
Dec 8 03:29:02 crosv1212vms nagios: SERVICE NOTIFICATION: nagiosadmin;crosv1307XXX2;MySQL Slow Queries;CRITICAL;notify-service-by-email;CRITICAL - connection could not be established within 60 seconds
Dec 8 03:29:32 crosv1212vms nagios: SERVICE NOTIFICATION: cro-s0000;crosv1209XXX2;MySQL QueryCache;CRITICAL;notify-service-by-email;CRITICAL - connection could not be established within 60 seconds
Dec 8 03:29:32 crosv1212vms nagios: SERVICE NOTIFICATION: nagiosadmin;crosv1209XXX2;MySQL QueryCache;CRITICAL;notify-service-by-email;CRITICAL - connection could not be established within 60 seconds
Dec 8 03:32:52 crosv1212vms nagios: SERVICE NOTIFICATION: cro-s0000;crosv1209XXX2;MySQL Slave SQL Running;CRITICAL;notify-service-by-email;CRITICAL - connection could not be established within 60 seconds
Dec 8 03:32:52 crosv1212vms nagios: SERVICE NOTIFICATION: nagiosadmin;crosv1209XXX2;MySQL Slave SQL Running;CRITICAL;notify-service-by-email;CRITICAL - connection could not be established within 60 seconds
Dec 8 03:33:22 crosv1212vms nagios: SERVICE NOTIFICATION: cro-s0000;crosv1307XXX2;MySQL Connection;CRITICAL;notify-service-by-email;CRITICAL - connection could not be established within 60 seconds
Dec 8 03:33:22 crosv1212vms nagios: SERVICE NOTIFICATION: nagiosadmin;crosv1307XXX2;MySQL Connection;CRITICAL;notify-service-by-email;CRITICAL - connection could not be established within 60 seconds
Dec 8 03:34:02 crosv1212vms nagios: SERVICE NOTIFICATION: cro-s0000;crosv1209XXX2;MySQL Slow Queries;CRITICAL;notify-service-by-email;CRITICAL - connection could not be established within 60 seconds
Dec 8 03:34:02 crosv1212vms nagios: SERVICE NOTIFICATION: nagiosadmin;crosv1209XXX2;MySQL Slow Queries;CRITICAL;notify-service-by-email;CRITICAL - connection could not be established within 60 seconds
Dec 8 03:35:02 crosv1212vms nagios: SERVICE NOTIFICATION: cro-s0000;crosv1209XXX2;MySQL Slave Lag;CRITICAL;notify-service-by-email;CRITICAL - connection could not be established within 60 seconds
Dec 8 03:35:02 crosv1212vms nagios: SERVICE NOTIFICATION: nagiosadmin;crosv1209XXX2;MySQL Slave Lag;CRITICAL;notify-service-by-email;CRITICAL - connection could not be established within 60 seconds
Dec 8 03:36:42 crosv1212vms nagios: SERVICE NOTIFICATION: cro-s0000;crosv1307XXX2;MySQL Slave Lag;CRITICAL;notify-service-by-email;CRITICAL - connection could not be established within 60 seconds
[root@crosv1212vms log]#

Re: connection could not be established within 60 seconds

Posted: Mon Dec 16, 2013 11:13 am
by slansing
What plugin are you using on the windows server's side? Can you share an example of your service configuration from one of these checks?