[Check_mk (english)] telnet: Unable to connect to remote host: Connection refused

Dear all,
We are implementing OMD server with nagios and Check_MK on CentOS version 5.5.
with Nagios Core 3.2.3
Check_MK version 1.2.0p2
Installed same version of Check_mk_agent on various hosts(Windows 7, Linux, Windows 2008 R2 server)
Issue:

While doing telnet to linux and Windows 7 hosts everything went well. However doing telnet to Windows 2008 R2 server getting following error:

OMD[site]:~$ telnet win-2008-r2 6556
Trying xxx.xx.xxx.xx…

telnet: connect to address xxx.xx.xx.xxx.xx: Connection refused
telnet: Unable to connect to remote host: Connection refused

Even no services are visible on check_mk UI except ‘Ping’ service for win-2008-r2 host.

On Windows 2008 R2 server:

  1. cmd>check_mk_agent.exe test
    throwing Check_MK data as expected.
  2. Windows Firewall => Disabled.
  3. cmd>C:\Program Files (x86)\check_mk>netstat -tano | find “6556”

TCP 0.0.0.0:6556 0.0.0.0:0 LISTENING 4940 InHost
TCP 0.0.0.0:6556 0.0.0.0:0 LISTENING 2852 InHost

TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.xx:37420 CLOSE_WAIT 4940 InHost
TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.xx:37424 CLOSE_WAIT 4940 InHost
TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.xx:37427 CLOSE_WAIT 4940 InHost

TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.xx:55661 CLOSE_WAIT 4940 InHost
TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.x:42189 CLOSE_WAIT 4940 InHost
TCP xxx.xx.xxx.xx:6556 xxx.xxx.xxx.xxx:35634 CLOSE_WAIT 4940 InHost

Could anyone please help me on this?

Thanks,
Mangesh.

Hi Mangesh,

What about network firewalls? Maybe traffic is blocked there…

Are the working linux/win7 hosts in the same network segment as win2008R2?

Regards,

Marcel

···

2013/4/5 Mangesh Biradar bmangesh9@gmail.com

Dear all,
We are implementing OMD server with nagios and Check_MK on CentOS version 5.5.
with Nagios Core 3.2.3
Check_MK version 1.2.0p2
Installed same version of Check_mk_agent on various hosts(Windows 7, Linux, Windows 2008 R2 server)
Issue:

While doing telnet to linux and Windows 7 hosts everything went well. However doing telnet to Windows 2008 R2 server getting following error:

OMD[site]:~$ telnet win-2008-r2 6556
Trying xxx.xx.xxx.xx…

telnet: connect to address xxx.xx.xx.xxx.xx: Connection refused
telnet: Unable to connect to remote host: Connection refused

Even no services are visible on check_mk UI except ‘Ping’ service for win-2008-r2 host.

On Windows 2008 R2 server:

  1. cmd>check_mk_agent.exe test
    throwing Check_MK data as expected.
  2. Windows Firewall => Disabled.
  3. cmd>C:\Program Files (x86)\check_mk>netstat -tano | find “6556”

TCP 0.0.0.0:6556 0.0.0.0:0 LISTENING 4940 InHost
TCP 0.0.0.0:6556 0.0.0.0:0 LISTENING 2852 InHost

TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.xx:37420 CLOSE_WAIT 4940 InHost
TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.xx:37424 CLOSE_WAIT 4940 InHost
TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.xx:37427 CLOSE_WAIT 4940 InHost

TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.xx:55661 CLOSE_WAIT 4940 InHost
TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.x:42189 CLOSE_WAIT 4940 InHost
TCP xxx.xx.xxx.xx:6556 xxx.xxx.xxx.xxx:35634 CLOSE_WAIT 4940 InHost

Could anyone please help me on this?

Thanks,
Mangesh.


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

Sorry, forgot an important question:

Are you sure the agent service is in running state on win2008R2 hosts?

Marcel

···

2013/4/5 Marcel Schulte schulte.marcel@gmail.com

Hi Mangesh,

What about network firewalls? Maybe traffic is blocked there…

Are the working linux/win7 hosts in the same network segment as win2008R2?

Regards,

Marcel

2013/4/5 Mangesh Biradar bmangesh9@gmail.com

Dear all,
We are implementing OMD server with nagios and Check_MK on CentOS version 5.5.
with Nagios Core 3.2.3
Check_MK version 1.2.0p2
Installed same version of Check_mk_agent on various hosts(Windows 7, Linux, Windows 2008 R2 server)
Issue:

While doing telnet to linux and Windows 7 hosts everything went well. However doing telnet to Windows 2008 R2 server getting following error:

OMD[site]:~$ telnet win-2008-r2 6556
Trying xxx.xx.xxx.xx…

telnet: connect to address xxx.xx.xx.xxx.xx: Connection refused
telnet: Unable to connect to remote host: Connection refused

Even no services are visible on check_mk UI except ‘Ping’ service for win-2008-r2 host.

On Windows 2008 R2 server:

  1. cmd>check_mk_agent.exe test
    throwing Check_MK data as expected.
  2. Windows Firewall => Disabled.
  3. cmd>C:\Program Files (x86)\check_mk>netstat -tano | find “6556”

TCP 0.0.0.0:6556 0.0.0.0:0 LISTENING 4940 InHost
TCP 0.0.0.0:6556 0.0.0.0:0 LISTENING 2852 InHost

TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.xx:37420 CLOSE_WAIT 4940 InHost
TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.xx:37424 CLOSE_WAIT 4940 InHost
TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.xx:37427 CLOSE_WAIT 4940 InHost

TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.xx:55661 CLOSE_WAIT 4940 InHost
TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.x:42189 CLOSE_WAIT 4940 InHost
TCP xxx.xx.xxx.xx:6556 xxx.xxx.xxx.xxx:35634 CLOSE_WAIT 4940 InHost

Could anyone please help me on this?

Thanks,
Mangesh.


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

Hi Marcel,

Thanks for prompt reply.

Yes win7,Linux and win2008R2 are in same network segment.

And I am sure that check_mk_agent is installed on win2008R2 host.

the command “cmd>check_mk_agent.exe test” on host win2008R2

Throwing the Check_MK raw data as expected**.**

Thanks and Regards,

-Mangesh.

···

On Fri, Apr 5, 2013 at 7:11 PM, Marcel Schulte schulte.marcel@gmail.com wrote:

Sorry, forgot an important question:

Marcel

Are you sure the agent service is in running state on win2008R2 hosts?

2013/4/5 Marcel Schulte schulte.marcel@gmail.com

Hi Mangesh,

What about network firewalls? Maybe traffic is blocked there…

Are the working linux/win7 hosts in the same network segment as win2008R2?

Regards,

Marcel

2013/4/5 Mangesh Biradar bmangesh9@gmail.com

Dear all,
We are implementing OMD server with nagios and Check_MK on CentOS version 5.5.
with Nagios Core 3.2.3
Check_MK version 1.2.0p2
Installed same version of Check_mk_agent on various hosts(Windows 7, Linux, Windows 2008 R2 server)
Issue:

While doing telnet to linux and Windows 7 hosts everything went well. However doing telnet to Windows 2008 R2 server getting following error:

OMD[site]:~$ telnet win-2008-r2 6556
Trying xxx.xx.xxx.xx…

telnet: connect to address xxx.xx.xx.xxx.xx: Connection refused
telnet: Unable to connect to remote host: Connection refused

Even no services are visible on check_mk UI except ‘Ping’ service for win-2008-r2 host.

On Windows 2008 R2 server:

  1. cmd>check_mk_agent.exe test
    throwing Check_MK data as expected.
  2. Windows Firewall => Disabled.
  3. cmd>C:\Program Files (x86)\check_mk>netstat -tano | find “6556”

TCP 0.0.0.0:6556 0.0.0.0:0 LISTENING 4940 InHost
TCP 0.0.0.0:6556 0.0.0.0:0 LISTENING 2852 InHost

TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.xx:37420 CLOSE_WAIT 4940 InHost
TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.xx:37424 CLOSE_WAIT 4940 InHost
TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.xx:37427 CLOSE_WAIT 4940 InHost

TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.xx:55661 CLOSE_WAIT 4940 InHost
TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.x:42189 CLOSE_WAIT 4940 InHost
TCP xxx.xx.xxx.xx:6556 xxx.xxx.xxx.xxx:35634 CLOSE_WAIT 4940 InHost

Could anyone please help me on this?

Thanks,
Mangesh.


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

Firewall disabled on win2008R2,
here is the output from win2008R2 host for following:

C:\Program Files (x86)\check_mk>net start check_mk_agent
The requested service has already been started.

More help is available by typing NET HELPMSG 2182.

···

On Fri, Apr 5, 2013 at 7:21 PM, Mangesh Biradar bmangesh9@gmail.com wrote:

Hi Marcel,

Thanks for prompt reply.

Yes win7,Linux and win2008R2 are in same network segment.

And I am sure that check_mk_agent is installed on win2008R2 host.

the command “cmd>check_mk_agent.exe test” on host win2008R2

Throwing the Check_MK raw data as expected**.**

Thanks and Regards,

-Mangesh.

On Fri, Apr 5, 2013 at 7:11 PM, Marcel Schulte schulte.marcel@gmail.com wrote:

Sorry, forgot an important question:

Marcel

Are you sure the agent service is in running state on win2008R2 hosts?

2013/4/5 Marcel Schulte schulte.marcel@gmail.com

Hi Mangesh,

What about network firewalls? Maybe traffic is blocked there…

Are the working linux/win7 hosts in the same network segment as win2008R2?

Regards,

Marcel

2013/4/5 Mangesh Biradar bmangesh9@gmail.com

Dear all,
We are implementing OMD server with nagios and Check_MK on CentOS version 5.5.
with Nagios Core 3.2.3
Check_MK version 1.2.0p2
Installed same version of Check_mk_agent on various hosts(Windows 7, Linux, Windows 2008 R2 server)
Issue:

While doing telnet to linux and Windows 7 hosts everything went well. However doing telnet to Windows 2008 R2 server getting following error:

OMD[site]:~$ telnet win-2008-r2 6556
Trying xxx.xx.xxx.xx…

telnet: connect to address xxx.xx.xx.xxx.xx: Connection refused
telnet: Unable to connect to remote host: Connection refused

Even no services are visible on check_mk UI except ‘Ping’ service for win-2008-r2 host.

On Windows 2008 R2 server:

  1. cmd>check_mk_agent.exe test
    throwing Check_MK data as expected.
  2. Windows Firewall => Disabled.
  3. cmd>C:\Program Files (x86)\check_mk>netstat -tano | find “6556”

TCP 0.0.0.0:6556 0.0.0.0:0 LISTENING 4940 InHost
TCP 0.0.0.0:6556 0.0.0.0:0 LISTENING 2852 InHost

TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.xx:37420 CLOSE_WAIT 4940 InHost
TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.xx:37424 CLOSE_WAIT 4940 InHost
TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.xx:37427 CLOSE_WAIT 4940 InHost

TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.xx:55661 CLOSE_WAIT 4940 InHost
TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.x:42189 CLOSE_WAIT 4940 InHost
TCP xxx.xx.xxx.xx:6556 xxx.xxx.xxx.xxx:35634 CLOSE_WAIT 4940 InHost

Could anyone please help me on this?

Thanks,
Mangesh.


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

Did you try telnet from agent server itself?

telnet <my_own_ip> 6556

…or maybe you (or someone else) confihured anozher port in check_mk.ini?

···

On Fri, Apr 5, 2013 at 7:21 PM, Mangesh Biradar bmangesh9@gmail.com wrote:

Hi Marcel,

Thanks for prompt reply.

Yes win7,Linux and win2008R2 are in same network segment.

And I am sure that check_mk_agent is installed on win2008R2 host.

the command “cmd>check_mk_agent.exe test” on host win2008R2

Throwing the Check_MK raw data as expected**.**

Thanks and Regards,

-Mangesh.

On Fri, Apr 5, 2013 at 7:11 PM, Marcel Schulte schulte.marcel@gmail.com wrote:

Sorry, forgot an important question:

Marcel

Are you sure the agent service is in running state on win2008R2 hosts?

2013/4/5 Marcel Schulte schulte.marcel@gmail.com

Hi Mangesh,

What about network firewalls? Maybe traffic is blocked there…

Are the working linux/win7 hosts in the same network segment as win2008R2?

Regards,

Marcel

2013/4/5 Mangesh Biradar bmangesh9@gmail.com

Dear all,
We are implementing OMD server with nagios and Check_MK on CentOS version 5.5.
with Nagios Core 3.2.3
Check_MK version 1.2.0p2
Installed same version of Check_mk_agent on various hosts(Windows 7, Linux, Windows 2008 R2 server)
Issue:

While doing telnet to linux and Windows 7 hosts everything went well. However doing telnet to Windows 2008 R2 server getting following error:

OMD[site]:~$ telnet win-2008-r2 6556
Trying xxx.xx.xxx.xx…

telnet: connect to address xxx.xx.xx.xxx.xx: Connection refused
telnet: Unable to connect to remote host: Connection refused

Even no services are visible on check_mk UI except ‘Ping’ service for win-2008-r2 host.

On Windows 2008 R2 server:

  1. cmd>check_mk_agent.exe test
    throwing Check_MK data as expected.
  2. Windows Firewall => Disabled.
  3. cmd>C:\Program Files (x86)\check_mk>netstat -tano | find “6556”

TCP 0.0.0.0:6556 0.0.0.0:0 LISTENING 4940 InHost
TCP 0.0.0.0:6556 0.0.0.0:0 LISTENING 2852 InHost

TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.xx:37420 CLOSE_WAIT 4940 InHost
TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.xx:37424 CLOSE_WAIT 4940 InHost
TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.xx:37427 CLOSE_WAIT 4940 InHost

TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.xx:55661 CLOSE_WAIT 4940 InHost
TCP xxx.xx.xxx.xx:6556 xxx.xx.xxx.x:42189 CLOSE_WAIT 4940 InHost
TCP xxx.xx.xxx.xx:6556 xxx.xxx.xxx.xxx:35634 CLOSE_WAIT 4940 InHost

Could anyone please help me on this?

Thanks,
Mangesh.


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en