From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4gkVjM1pBnz2y6G for ; Mon, 22 Jun 2026 14:20:39 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR2" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4gkVjF2zlMz2xWq for ; Mon, 22 Jun 2026 14:20:33 +0000 (UTC) Received: from mail01.brechtschulen.de (regulus.brecht-schule.hamburg [84.46.83.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.brechtschulen.de", Issuer "YR1" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4gkVjD5XbRz2q6 for ; Mon, 22 Jun 2026 14:20:32 +0000 (UTC) Authentication-Results: mail01.ipfire.org; dkim=pass header.d=brecht-schule.hamburg header.s=202101rsa header.b=smyxDYrU; dkim=pass header.d=brecht-schule.hamburg header.s=202101ed25519 header.b=ZsCRkuwK; spf=pass (mail01.ipfire.org: domain of dietzmann@brecht-schule.hamburg designates 84.46.83.131 as permitted sender) smtp.mailfrom=dietzmann@brecht-schule.hamburg; dmarc=pass (policy=reject) header.from=brecht-schule.hamburg ARC-Seal: i=1; a=rsa-sha256; d=lists.ipfire.org; s=202003rsa; cv=none; t=1782138032; b=T+6t+mowWMywnxfWM/si//0a6z+O/rqCxt2sW8N8wjPdoyicL47nhOP6V2lAe7cBVkPY99 Vx8jzGTqrTvsaHDFATvHD+aCyIpRwVF2QcDkNUNmezihcWK+WAXh5Ujul3s7XNuqjPo3M8 wPNfkuUP57+GsuMarl1Qgu8aeeX9S2TT0nDfV7oQm3Ry0V23GFQ7K6xD1DCszJOuzP6ovJ O9Jm0RUF0hZ45IUXc/1ODPF01/8WIh3swGZC7VDRVpKDiHkvS59hkQVTvRvQxJh9gvLZis fGMZUTrVe/0E2sZXkZ/ylyDd8eiX0TeN27fMxTx1ZyzXxQXu8jpkSx/xrWUU+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.ipfire.org; s=202003rsa; t=1782138032; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=eMNomqT6zev+ctOiHCi+65bZQL6IbDw+aXy1ya2u2yY=; b=xjqLCE7JWvMH43cOAxGUdXk5N0mLHFn4P4nsYi9vaS9FL4PQjoPsR7YSQ1DrQnqqnK93so P3SaBsLvkuUFTBRh4b9LUdsqfoqG1XXVS5VC+v1gJ+IlAsONydT6nsCQz+lDU1HpZ0aHBu TrNCDeXDUNDbQB7L84U757OjOPORhrBE5TzqwvyYnhNCswLqflQq2m2+t6Q4P5xu5V7qb4 F/Tw+FuNKNuVYZJASBE33UrlqUQPrZ2bmklR8MyaZ7/Xg9imfoiuRp7tNfhO5HQR/Ebbb1 aHHVyveiMIphXvvxQJMTvC8XQYQm2w2e1NZF6wd9naNN6yZOyc7sdR50Z0X1aQ== ARC-Authentication-Results: i=1; mail01.ipfire.org; dkim=pass header.d=brecht-schule.hamburg header.s=202101rsa header.b=smyxDYrU; dkim=pass header.d=brecht-schule.hamburg header.s=202101ed25519 header.b=ZsCRkuwK; spf=pass (mail01.ipfire.org: domain of dietzmann@brecht-schule.hamburg designates 84.46.83.131 as permitted sender) smtp.mailfrom=dietzmann@brecht-schule.hamburg; dmarc=pass (policy=reject) header.from=brecht-schule.hamburg Received: from [192.168.5.13] (PC-BIT-DTZM-LIN.brechtschulen.de [192.168.5.13]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.brechtschulen.de (Postfix) with ESMTPSA id 4gkVjC4wPcz3xY3; Mon, 22 Jun 2026 16:20:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brecht-schule.hamburg; s=202101rsa; t=1782138031; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eMNomqT6zev+ctOiHCi+65bZQL6IbDw+aXy1ya2u2yY=; b=smyxDYrURh6laICDYxGoA/wlU8NlnOMYDs4MmktUWjjthWy7ZBK0p+H8nqUeTKQo+beYPt yKRVdrqXIxzzh9KOMDahdgjJZXCgAILboqT7vTI82ZELoQkgpxSZc1J6n6F5O3tt/8v6vo zy2sX7mseqrubU+vj9YxZ/DY5C5aaN/HdTRnC0RRfuDikeRN8TKfKSN+lU7i1dnNOdPTVS mYCO7cBj1Aqv6bE0l042aWk7NV9n6lCYAGwcds7yjaeJ8Tt8NxBYegS8DL9D6xXaLh9QfY 9JXiNvFz0uI3Bs1lD8Z43CkRHe1Yb4yZubGC1g87ErPK00KCE6QigDT/fIlxBA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=brecht-schule.hamburg; s=202101ed25519; t=1782138031; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eMNomqT6zev+ctOiHCi+65bZQL6IbDw+aXy1ya2u2yY=; b=ZsCRkuwKT1n6YUmDMJYqj633PZIc1AbFFu9Ds+UTjnbM6g+ule7r7OgW86bQCfM8AXaz6O dNccIJDkfUZVGGDA== Message-ID: <03c95271-dec0-4b62-868c-40c7fb25bbb8@brecht-schule.hamburg> Date: Mon, 22 Jun 2026 16:20:31 +0200 Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Subject: Re: [PATCH 2/2] Redirect Apache status requests Content-Language: de-DE To: development@lists.ipfire.org References: <20260622141502.375427-1-dietzmann@brecht-schule.hamburg> Cc: Peer Dietzmann From: Peer Dietzmann Organization: Brecht Schule Hamburg / Brecht-IT In-Reply-To: <20260622141502.375427-1-dietzmann@brecht-schule.hamburg> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-10.05 / 11.00]; BAYES_HAM(-3.00)[100.00%]; DWL_DNSWL_MED(-2.00)[brecht-schule.hamburg:dkim]; R_DKIM_ALLOW(-1.70)[brecht-schule.hamburg:s=202101rsa,brecht-schule.hamburg:s=202101ed25519]; SPF_REPUTATION_HAM(-0.97)[-0.97379584931786]; DKIM_REPUTATION(-0.97)[-0.97354736222901]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DMARC_POLICY_ALLOW(-0.50)[brecht-schule.hamburg,reject]; ONCE_RECEIVED(0.20)[]; R_SPF_ALLOW(-0.20)[+ip4:84.46.83.131]; RCVD_IN_DNSWL_MED(-0.20)[84.46.83.131:from]; MX_GOOD(-0.10)[regulus.brecht-schule.hamburg]; MIME_GOOD(-0.10)[text/plain]; FUZZY_RATELIMITED(0.00)[rspamd.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; HAS_ORG_HEADER(0.00)[]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; IP_REPUTATION_HAM(0.00)[asn: 15943(-0.39), country: DE(-0.01), ip: 84.46.83.131(-0.97)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15943, ipnet:84.46.0.0/17, country:DE]; RCPT_COUNT_TWO(0.00)[2]; MISSING_XM_UA(0.00)[]; RCVD_TLS_ALL(0.00)[]; DKIM_TRACE(0.00)[brecht-schule.hamburg:+]; ARC_SIGNED(0.00)[lists.ipfire.org:s=202003rsa:i=1]; FROM_HAS_DN(0.00)[] X-Rspamd-Server: mail01.haj.ipfire.org X-Rspamd-Queue-Id: 4gkVjD5XbRz2q6 X-Rspamd-Action: no action Hello, there is also another patch required to make the module working. But I just can't find the file in the repository that needs to be changed: Line 29 of /usr/lib/observium_agent/scripts-available/apache has to be changed to:         close INFILE; } else {         # grab the status URL (fresh data)         @data = split /(\n)/, LWP::Simple::get( 'http://localhost:81/server-status?auto' )                 or die "Data fetch failure.\n";         # write file The *localhost* has to be changed to *localhost:81* The concerned bug that should be fixed through those three patches is: https://bugzilla.ipfire.org/show_bug.cgi?id=14017 Best, Peer On 22/06/2026 16:15, Peer Dietzmann wrote: > Redirect requests to Apache's status to it's backend, force local requests. > This is required to allow Observium's agent to pull metrics from Apache. > > Best, > Peer > > Signed-off-by: Peer Dietzmann > --- > config/httpd/httpd.conf | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/config/httpd/httpd.conf b/config/httpd/httpd.conf > index c694bffe2..09b10b50f 100644 > --- a/config/httpd/httpd.conf > +++ b/config/httpd/httpd.conf > @@ -49,4 +49,10 @@ Include /etc/httpd/conf/default-server.conf > # Virtual server configuration > Include /etc/httpd/conf/vhosts.d/*.conf > > +# Allow local clients to pull Apache's status > + > + SetHandler server-status > + Require local > + > + > # EOF -- Mit freundlichem Gruß Peer Dietzmann Brecht-IT | Administration und Support