[Check_mk (english)] Multisite livestatus error connection refused

I’m using check_mk 1.1.12, nagios 3.3.1 on centos 5.

I have a local and a remote site that I wish to monitor using multisite. I’ve added the site status snap-in. When I click on the “remote site” in the site status snap-in, I receive the following error:

Remote Site - Livestatus error
Cannot connect to ‘tcp:xxx.xxx.xxx.xxx:6557’: (111, ‘Connection refused’)

I’ve configured multisite.mk as follows:

sites = {

“local” : {

“alias” : “check_mk”,

“socket”: “unix:/usr/local/icinga/var/rw/live”,

“url_prefix”: “/”,

},

connect to remote site (site on remote host)

“remote-site”: {

“alias”: “remote-site”,

“socket”: “tcp:xxx.xxx.xxx.xxx:6557”,

“url_prefix”: “http://xxx.xxx.xxx.xxx/check_mk/”,

},

}

I can ping the “remote site” check_mk server from the local server. Any ideas?

Thanks in advance for your help.

David Lynum

IT Support Lead, Wholesale Applications Community (WAC)

Desk: +1 (925) 201-8520
Email:
david.lynum@wacapps.net

6210 Stoneridge Mall, Road Suite 400 Pleasanton, CA 94588

www.wacapps.net

I would start with checking firewall rules.

On remote host do a
telnet localhost 6557

If that works then check-mk is listening, next from the local server do
telnet 6557
If that is not working check firewalls.

Also check on the remote host that xinet.d will allow connections from your local server.

Cheers
Alex

···

On Dec 20, 2011 6:32 AM, “David Lynum” david.lynum@wacapps.net wrote:

I’m using check_mk 1.1.12, nagios 3.3.1 on centos 5.

I have a local and a remote site that I wish to monitor using multisite. I’ve added the site status snap-in. When I click on the “remote site” in the site status snap-in, I receive the following error:

Remote Site - Livestatus error
Cannot connect to ‘tcp:xxx.xxx.xxx.xxx:6557’: (111, ‘Connection refused’)

I’ve configured multisite.mk as follows:

sites = {

“local” : {

“alias” : “check_mk”,

“socket”: “unix:/usr/local/icinga/var/rw/live”,

“url_prefix”: “/”,

},

connect to remote site (site on remote host)

“remote-site”: {

“alias”: “remote-site”,

“socket”: “tcp:xxx.xxx.xxx.xxx:6557”,

“url_prefix”: “http://xxx.xxx.xxx.xxx/check_mk/”,

},

}

I can ping the “remote site” check_mk server from the local server. Any ideas?

Thanks in advance for your help.

David Lynum

IT Support Lead, Wholesale Applications Community (WAC)

Desk: +1 (925) 201-8520
Email:
david.lynum@wacapps.net

6210 Stoneridge Mall, Road Suite 400 Pleasanton, CA 94588

www.wacapps.net


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

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

On the remote site you have to enable the connection. See the documentation concerning xinetd or ssh way down at the bottom of this;

http://mathias-kettner.de/checkmk_livestatus.html

when it is set up correctly, you should be able to telnet remotehost 6557 and get a connection.

···

From: checkmk-en-bounces@lists.mathias-kettner.de [mailto:checkmk-en-bounces@lists.mathias-kettner.de]
On Behalf Of David Lynum
Sent: Monday, December 19, 2011 2:32 PM
To: checkmk-en@lists.mathias-kettner.de
Subject: [Check_mk (english)] Multisite livestatus error connection refused

I’m using check_mk 1.1.12, nagios 3.3.1 on centos 5.

I have a local and a remote site that I wish to monitor using multisite. I’ve added the site status snap-in. When I click on the “remote site” in the site status snap-in, I receive the following error:

Remote Site - Livestatus error
Cannot connect to ‘tcp:xxx.xxx.xxx.xxx:6557’: (111, ‘Connection refused’)

I’ve configured multisite.mk as follows:

sites = {

“local” : {

“alias” : “check_mk”,

“socket”: “unix:/usr/local/icinga/var/rw/live”,

“url_prefix”: “/”,

},

connect to remote site (site on remote host)

“remote-site”: {

“alias”: “remote-site”,

“socket”: “tcp:xxx.xxx.xxx.xxx:6557”,

“url_prefix”: “http://xxx.xxx.xxx.xxx/check_mk/”,

},

}

I can ping the “remote site” check_mk server from the local server. Any ideas?

Thanks in advance for your help.

David Lynum

IT Support Lead, Wholesale Applications Community (WAC)

Desk: +1 (925) 201-8520
Email:
david.lynum@wacapps.net

6210 Stoneridge Mall, Road Suite 400 Pleasanton, CA 94588

www.wacapps.net

Scott,

Thank you for your instructions. They did work for me.

David Lynum

IT Support Lead, Wholesale Applications Community (WAC)

Desk: +1 (925) 201-8520
Email:
david.lynum@wacapps.net

6210 Stoneridge Mall, Road Suite 400 Pleasanton, CA 94588

www.wacapps.net

···

From: Lander, Scott [mailto:slander@hearstsc.com]
Sent: Monday, December 19, 2011 8:23 PM
To: David Lynum; checkmk-en@lists.mathias-kettner.de
Subject: RE: Multisite livestatus error connection refused

On the remote site you have to enable the connection. See the documentation concerning xinetd or ssh way down at the bottom of this;

http://mathias-kettner.de/checkmk_livestatus.html

when it is set up correctly, you should be able to telnet remotehost 6557 and get a connection.

From: checkmk-en-bounces@lists.mathias-kettner.de [mailto:checkmk-en-bounces@lists.mathias-kettner.de] On Behalf Of David Lynum
Sent: Monday, December 19, 2011 2:32 PM
To: checkmk-en@lists.mathias-kettner.de
Subject: [Check_mk (english)] Multisite livestatus error connection refused

I’m using check_mk 1.1.12, nagios 3.3.1 on centos 5.

I have a local and a remote site that I wish to monitor using multisite. I’ve added the site status snap-in. When I click on the “remote site” in the site status snap-in, I receive the following error:

Remote Site - Livestatus error
Cannot connect to ‘tcp:xxx.xxx.xxx.xxx:6557’: (111, ‘Connection refused’)

I’ve configured multisite.mk as follows:

sites = {

“local” : {

“alias” : “check_mk”,

“socket”: “unix:/usr/local/icinga/var/rw/live”,

“url_prefix”: “/”,

},

connect to remote site (site on remote host)

“remote-site”: {

“alias”: “remote-site”,

“socket”: “tcp:xxx.xxx.xxx.xxx:6557”,

“url_prefix”: “http://xxx.xxx.xxx.xxx/check_mk/”,

},

}

I can ping the “remote site” check_mk server from the local server. Any ideas?

Thanks in advance for your help.

David Lynum

IT Support Lead, Wholesale Applications Community (WAC)

Desk: +1 (925) 201-8520
Email:
david.lynum@wacapps.net

6210 Stoneridge Mall, Road Suite 400 Pleasanton, CA 94588

www.wacapps.net


This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.