Hi,
You have to modify this file
/omd/versions/default/share/omd/apache.conf
and add these lines
<Location /foo>
RewriteEngine On
RewriteRule ^/.+/foo/(.*) https://address/foo/$1 [P]
</Location>
Its works for me
Zdenek
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of txemi
Sent: Thursday, July 03, 2014 12:02 PM
To: [email protected]
Subject: [omd-users] omd + distributed wato: php4nag proxy not working
Hi, I am using omd to setup monitoring hosts on non connected networks and I
manage them from central point using livestatus for viewing monitoring
information and distributed wato for configuring them. All I used works as
expected except one thing: pnp4nag graphics.
I am surprised at it because in this page:
https://mathias-kettner.de/checkmk_multisite_modproxy.html
check-mk people explains how to do it using apache proxy and suggests that
everything should work in an omd install.
This is the url generated at check_mk web
http://10.8.10.1/site1/check_mk/10.8.1.6/site2/pnp4nagios/index.php/graph?host=host1&srv=Memory_and_pagefile&theme=multisite&baseurl=10.8.1.6/site2/check_mk/
and int fails with this error:
The requested URL
/site1/check_mk/10.8.1.6/site2/pnp4nagios/index.php/graph was not found on this
server.
If I use the URL
10.8.1.6/site2/pnp4nagios/index.php/graph?host=host1&srv=Memory_and_pagefile
in some place with access to monitoring machine it works so I suppose that is
http proxy to reach monitoring host what is not working.
I do not know if omd (I am using 1.11.20140624) uses apache proxy, check-mk
python proxy or nothing at all and I am supposed to fix it but I have been
diving into check-mk code to understand it and by now I have not solved this
problem.
Thanks in advance,
txemi.
_______________________________________________
omd-users mailing list
[email protected]
http://lists.mathias-kettner.de/mailman/listinfo/omd-users
_______________________________________________
omd-users mailing list
[email protected]
http://lists.mathias-kettner.de/mailman/listinfo/omd-users