[Check_mk (english)] Proxy Error

All,

I am trying to add a vCenter host to my test instance and i continue to get an error. The error i get is the following:
Proxy Error

The proxy server received an invalid response from an upstream server.

The proxy server could not handle the request POST /abco/check_mk/wato.py.

Reason: Error reading from remote server

Here is my test setup:

Server 1: Main instance: Consolidated dashboard, WATO configuration, etc (this is the abco mentioned in the error)

  • localmaster

Server 2: Test instances: Each instance represents an environment that will be deployed ( 2 local, 2 remote).

  • localdev
  • localprod
  • remotedev
  • remoteprod

I have two vCenter servers i want to monitor from remoteprod. I already have 1 set up and it is working fine. When i try to add the 2nd vCenter server, it never completes the service discovery. I have done the following troubleshooting steps:

  • verified i can ping the box from remoteprod
  • verified that i can hit the 6556 port from remote prod; when i do it returns all the data i expect to my terminal session
  • verified i can log in using the supplied credentials; its using the same UN/PW combo my other vCenter server is.
    Is this a timeout issue? Could it be that this server is returning much more data than the other? Are there logs someplace that might give me some idea what is really going on.

Thanks,
Mark

···

*“…Run in such a way as to get the prize.” *(1 Cor 9:24, NIV)


MOB | 512-573-6844
E2T | markagarcia@vtext.com
EML | mark.a.garcia@gmail.com
FB | https://www.facebook.com/markagarcia
LI | https://www.linkedin.com/in/markagarcia/
TW | https://twitter.com/markagarcia

This is not uncommon. You can always run the inventory from the command line. You can also just reload etc from command line also whenever you face the timeout issue in WATO.

Paul

···

On Mon, May 1, 2017 at 8:32 AM, Mark Garcia mark.a.garcia@gmail.com wrote:

All,

I am trying to add a vCenter host to my test instance and i continue to get an error. The error i get is the following:
Proxy Error

The proxy server received an invalid response from an upstream server.

The proxy server could not handle the request POST /abco/check_mk/wato.py.

Reason: Error reading from remote server

Here is my test setup:

Server 1: Main instance: Consolidated dashboard, WATO configuration, etc (this is the abco mentioned in the error)

  • localmaster

Server 2: Test instances: Each instance represents an environment that will be deployed ( 2 local, 2 remote).

  • localdev
  • localprod
  • remotedev
  • remoteprod

I have two vCenter servers i want to monitor from remoteprod. I already have 1 set up and it is working fine. When i try to add the 2nd vCenter server, it never completes the service discovery. I have done the following troubleshooting steps:

  • verified i can ping the box from remoteprod
  • verified that i can hit the 6556 port from remote prod; when i do it returns all the data i expect to my terminal session
  • verified i can log in using the supplied credentials; its using the same UN/PW combo my other vCenter server is.
    Is this a timeout issue? Could it be that this server is returning much more data than the other? Are there logs someplace that might give me some idea what is really going on.

Thanks,
Mark

*“…Run in such a way as to get the prize.” *(1 Cor 9:24, NIV)


MOB | 512-573-6844
E2T | markagarcia@vtext.com
EML | mark.a.garcia@gmail.com
FB | https://www.facebook.com/markagarcia
LI | https://www.linkedin.com/in/markagarcia/
TW | https://twitter.com/markagarcia


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

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

If I remember correctly I solved this with some minor changes to Apache’s proxy-port.conf.

(/omd/sites/abco/etc/apache/proxy-port.conf)

Did this on all sites.

Your ProxyPass line should look like this:

ProxyPass http://127.0.0.1:5000/abco retry=0 disablereuse=On acquire=10000 timeout=600 Keepalive=On ttl=120 connectiontimeout=10

So, this is no guarantee but it’s worth a shot.

Arno Wijnhoven

On Behalf Of Paul D

···

This is not uncommon. You can always run the inventory from the command line. You can also just reload etc from command line also whenever you face the timeout issue in WATO.

Paul

On Mon, May 1, 2017 at 8:32 AM, Mark Garcia mark.a.garcia@gmail.com wrote:

All,

I am trying to add a vCenter host to my test instance and i continue to get an error. The error i get is the following:

Proxy Error

The proxy server received an invalid response from an upstream server.

The proxy server could not handle the request POST /abco/check_mk/wato.py.

Reason: Error reading from remote server

Here is my test setup:

Server 1: Main instance: Consolidated dashboard, WATO configuration, etc (this is the abco mentioned in the error)

  • localmaster

Server 2: Test instances: Each instance represents an environment that will be deployed ( 2 local, 2 remote).

  • localdev
  • localprod
  • remotedev
  • remoteprod

I have two vCenter servers i want to monitor from remoteprod. I already have 1 set up and it is working fine. When i try to add the 2nd vCenter server, it never completes the service discovery. I have done the following troubleshooting
steps:

  • verified i can ping the box from remoteprod
  • verified that i can hit the 6556 port from remote prod; when i do it returns all the data i expect to my terminal session
  • verified i can log in using the supplied credentials; its using the same UN/PW combo my other vCenter server is.

Is this a timeout issue? Could it be that this server is returning much more data than the other? Are there logs someplace that might give me some idea what is really going on.

Thanks,
Mark

*“…Run in such a way as to get the prize.” *(1 Cor 9:24, NIV)


MOB |
512-573-6844

E2T | markagarcia@vtext.com

EML | mark.a.garcia@gmail.com

FB | https://www.facebook.com/markagarcia

LI | https://www.linkedin.com/in/markagarcia/

TW | https://twitter.com/markagarcia


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