Activity log for bug #1900924

Date Who What changed Old value New value Message
2020-10-21 22:54:47 Benjamin Allot bug added bug
2020-10-21 22:55:01 Benjamin Allot bug added subscriber The Canonical Sysadmins
2020-10-21 22:57:11 Benjamin Allot description Hello, Upon making a relation with an apache2 units, I end up with the following apache configuration according to https://git.launchpad.net/charm-telegraf/tree/src/templates/apache-server-status.tmpl VirtualHost 127.0.0.1:8080> ServerName 127.0.0.1 ServerAdmin webmaster@localhost DocumentRoot /var/www/html LogLevel info ErrorLog ${APACHE_LOG_DIR}/server-status-error.log CustomLog ${APACHE_LOG_DIR}/server-status-access.log combined <Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from localhost </Location> </VirtualHost> However, the charm configure the telegraf inputs plugin to probe the private IP address of the apache2 units instead of localhost: https://git.launchpad.net/charm-telegraf/tree/src/reactive/telegraf.py#n960 Either telegraf is configure to probe localhost only or the file is rendered to use the private-address to listen to. I have a preference for the former, for the sake of security and simplicity. Hello, Upon making a relation with an apache2 units, I end up with the following apache configuration according to https://git.launchpad.net/charm-telegraf/tree/src/templates/apache-server-status.tmpl VirtualHost 127.0.0.1:8080>     ServerName 127.0.0.1     ServerAdmin webmaster@localhost     DocumentRoot /var/www/html     LogLevel info     ErrorLog ${APACHE_LOG_DIR}/server-status-error.log     CustomLog ${APACHE_LOG_DIR}/server-status-access.log combined     <Location /server-status>         SetHandler server-status         Order deny,allow         Deny from all         Allow from localhost     </Location> </VirtualHost> However, the charm configure the telegraf inputs plugin to probe the private IP address of the apache2 units instead of localhost: https://git.launchpad.net/charm-telegraf/tree/src/reactive/telegraf.py#n960 Either telegraf should be configured to probe localhost only or the file is rendered to use the private-address in the VirtualHost stanza. I have a preference for the former, for the sake of security and simplicity.
2020-10-21 22:57:27 Benjamin Allot description Hello, Upon making a relation with an apache2 units, I end up with the following apache configuration according to https://git.launchpad.net/charm-telegraf/tree/src/templates/apache-server-status.tmpl VirtualHost 127.0.0.1:8080>     ServerName 127.0.0.1     ServerAdmin webmaster@localhost     DocumentRoot /var/www/html     LogLevel info     ErrorLog ${APACHE_LOG_DIR}/server-status-error.log     CustomLog ${APACHE_LOG_DIR}/server-status-access.log combined     <Location /server-status>         SetHandler server-status         Order deny,allow         Deny from all         Allow from localhost     </Location> </VirtualHost> However, the charm configure the telegraf inputs plugin to probe the private IP address of the apache2 units instead of localhost: https://git.launchpad.net/charm-telegraf/tree/src/reactive/telegraf.py#n960 Either telegraf should be configured to probe localhost only or the file is rendered to use the private-address in the VirtualHost stanza. I have a preference for the former, for the sake of security and simplicity. Hello, Upon making a relation with an apache2 units, I end up with the following apache configuration according to https://git.launchpad.net/charm-telegraf/tree/src/templates/apache-server-status.tmpl VirtualHost 127.0.0.1:8080>     ServerName 127.0.0.1     ServerAdmin webmaster@localhost     DocumentRoot /var/www/html     LogLevel info     ErrorLog ${APACHE_LOG_DIR}/server-status-error.log     CustomLog ${APACHE_LOG_DIR}/server-status-access.log combined     <Location /server-status>         SetHandler server-status         Order deny,allow         Deny from all         Allow from localhost     </Location> </VirtualHost> However, the charm configure the telegraf inputs plugin to probe the private IP address of the apache2 units instead of localhost: https://git.launchpad.net/charm-telegraf/tree/src/reactive/telegraf.py#n960 Telegraf should be configured to probe localhost only or the file is rendered to use the private-address in the VirtualHost stanza. I have a preference for the former, for the sake of security and simplicity.
2020-10-21 23:02:25 Benjamin Allot marked as duplicate 1813288