[Tile-serving] [openstreetmap/mod_tile] Munin mod_tile_* hardcoded URL (Issue #418)

zenonp notifications at github.com
Sat Mar 23 19:12:49 UTC 2024


All four munin mod_tile scripts use "data=$(wget -q http://localhost/mod_tile -O -)". There are many cases where this cannot work, e.g. "Listen 10.22.33.44" in httpd.conf, mod_tile running in a virtual host, mod_tile only being accessible by https, or https with a self-signed certificate. 

Changing the wget command in the scripts is easy, but if they have been installed by rpm or deb such changes will be lost at the first update of the munin plugin. A much better solution would be to add a configuration file /etc/munin/plugin-conf.d/mod_tile and let the scripts read the URL and any additional wget arguments (e.g. --no-check-certificate) from there. 


-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/418
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/mod_tile/issues/418 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240323/bbf09b29/attachment.htm>


More information about the Tile-serving mailing list