Hello Stefan, Possibly it is better to address this to the check_mk mailing list(s) See here: https://mathias-kettner.de/check_mk_lists.html
I see the remote site as dead in WATO and with following errors ins Monitoring: Remote Site: Germany, XXX - Livestatus error The remote monitoring host is down Remote Site: Germany, XXX - Livestatus error Unhandled exception: 400: Site is currently not reachable. I use check_mk enterprise and my configuration may vary from yours: 'XXX': {'alias': u'Remote Site: Germany,XXX', 'disable_wato': True, 'disabled': False, 'insecure': False, 'multisiteurl': 'http://10.10.10.10/XXX/check_mk/', 'persist': False, 'replicate_ec': False, 'replicate_mkps': True, 'replication': 'slave', 'secret': '*****', 'socket': ('proxy', {'cache': True, 'channel_timeout': 3.0, 'channels': 5, 'connect_retry': 4.0, 'heartbeat': (5, 2.0), 'query_timeout': 120.0, 'socket': ('10.10.10.10', 6557)}), 'status_host': ('test', 'hostname'), 'timeout': 10, 'url_prefix': 'http://10.10.10.10/XXX/', 'user_login': True}, Regards Mike From: omd-users-boun...@lists.mathias-kettner.de [mailto:omd-users-boun...@lists.mathias-kettner.de] On Behalf Of Nottorf, Stefan Sent: Donnerstag, 16. Februar 2017 13:35 To: omd-users@lists.mathias-kettner.de Subject: [omd-users] Handling of absent remote sites in multisite setup Hello, I set up a distributed monitoring using multisite; I have multiple remote sites, each monitoring a number of hosts and services, and a "viewing" site, which just reads the values from the remote sites and makes their check results viewable. If the remote site is up and the host of the remote site is pingable everything works fine (as expected). If the remote (omd-)site is down but the host of the remote site is pingable: site is shown as "dead" (as expected). If the host of the remote site is physically disconnected (can't be pinged), the viewing site times out completely, regardless if there are other remote sites still reachable (and the viewing site could show those, at least). I expected the disconnected site to display as "dead". Excerpt from multisite.mk of the viewing site: [...] # Sites to connect to. If this variable is unset, a single # connection to the local host is done. sites = { "REMOTEA" : { "alias" : "Remote site 1", "socket" : "tcp:192.168.20.19:6559", "url_prefix" : "/remotea/", }, "REMOTEB" : { "alias" : "Remote site 2", "socket" : "tcp:172.16.20.19:6570", "url_prefix" : "/remoteb/", }, "REMOTEC" : { "alias" : "Remote site 3", "socket" : "tcp:172.150.20.19:6580", "url_prefix" : "/remotec/", }, } Error Message when retrieving the dashboard of the viewing site (named "nagios")is "Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /nagios/check_mk/dashboard.py. Reason: Error reading from remote server Apache/2.2.15 (CentOS) Server at <hostname> Port 80" Questions: 1) Did I misconfigure something or is this known behavior? 2) Is there a workaround that the unreachable site is considered "dead" instead of timing out my viewing site? Best regards, Stefan ---------------------------- www.plath.de <http://www.plath.de> | www.plathgroup.com <http://www.plathgroup.com> Amtsgericht Hamburg HRB 7401 Geschäftsführer: Dipl.-Kfm. Nico Scharfe (Vorsitzender), Dipl.-Kfm. Hinrich Brüggmann Dies ist eine vertrauliche Nachricht und nur für den Adressaten bestimmt. Es ist nicht erlaubt, diese Nachricht zu kopieren oder Dritten zugänglich zu machen. Sollten Sie diese Nachricht irrtümlich erhalten haben, benachrichtigen Sie den Versender bitte per E-Mail oder telefonisch und löschen Sie die Nachricht unverzüglich. This message is strictly confidential and intended solely for the use of the addressee. It is not allowed to copy or disseminate this message. Please notify the sender by e-mail or telephone if you have received this message by mistake and delete this message immediately. This electronic transmission (and any attachments thereto) is intended solely for the use of the addressee(s). It may contain confidential or legally privileged information. If you are not the intended recipient of this message, you must delete it immediately and notify the sender. Any unauthorized use or disclosure of this message is strictly prohibited. Faurecia does not guarantee the integrity of this transmission and shall therefore never be liable if the message is altered or falsified nor for any virus, interception or damage to your system.
_______________________________________________ omd-users mailing list omd-users@lists.mathias-kettner.de http://lists.mathias-kettner.de/mailman/listinfo/omd-users