From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robin Roevens To: development@lists.ipfire.org Subject: Re: [PATCH 0/2] Added new Package node_exporter Date: Mon, 24 May 2021 22:45:16 +0200 Message-ID: <2b7ffd43e426dbc34c8a52921ba9e27d09e55b10.camel@disroot.org> In-Reply-To: <1fe77675-758d-735f-db2b-a43758b34b1f@posteo.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0675548551547782427==" List-Id: --===============0675548551547782427== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi all I wanted to add that Zabbix server can also interpret Prometheus format out-of-the-box, so installing node_exporter on IPFire could provide a possibly more light-weight alternative to installing zabbix_agentd for monitoring IPFire with Zabbix (however already quite light-weight). Or an addition as both will probably have different capabilities and possibilities...Zabbix can fetch info from both. Regards Robin Holger Sunke schreef op vr 07-05-2021 om 18:05 [+0000]: > Hello Adolf, >=20 > the node_exporter provides a simple http download on port 9100 > (default)=20 > that common measures around the OS runtime in a plain text form like > this: >=20 > http://[firewall]:9100/metrics >=20 > # HELP go_gc_duration_seconds A summary of the pause duration of > garbage=20 > collection cycles. > # TYPE go_gc_duration_seconds summary > go_gc_duration_seconds{quantile=3D"0"} 5.3912e-05 > go_gc_duration_seconds{quantile=3D"0.25"} 7.1192e-05 > go_gc_duration_seconds{quantile=3D"0.5"} 7.947e-05 > go_gc_duration_seconds{quantile=3D"0.75"} 9.8797e-05 > go_gc_duration_seconds{quantile=3D"1"} 0.004091312 > go_gc_duration_seconds_sum 1.5650559450000001 > go_gc_duration_seconds_count 7994 > # HELP go_goroutines Number of goroutines that currently exist. > # TYPE go_goroutines gauge > go_goroutines 8 > # HELP go_info Information about the Go environment. > # TYPE go_info gauge > go_info{version=3D"go1.15.4"} 1 > # HELP go_memstats_alloc_bytes Number of bytes allocated and still in > use. > # TYPE go_memstats_alloc_bytes gauge > go_memstats_alloc_bytes 3.542504e+06 > even if freed. > .... > +about 1k additional lines >=20 > This is useful for those who have a Prometheus instance up and > running=20 > somewhere in their network that collects these kind of measures from > an=20 > arbitrary amount of machines. Prometheus then stores these in a time=20 > series database and provides easy query access against these data,=20 > all them or configuring arbitrary kind of alerts. >=20 > Summing it up it is very lightweight, simple to integrate but useful=20 > only when there's a prometheus runnung for you. You'd not setup a=20 > prometheus/grafana stack just because ipfire can run a node_exporter. >=20 >=20 > In this first step, only general OS and IO stats are supported as=20 > node_exporter is nativly shipping with. In a later step we can think=20 > about adding metrics from log analyzis (number of packets=20 > dopped/rejected, number of suspectibles by intrusion detections, ...) > or=20 > other custom stuff. > .prom) and placed in some specific local folder on the ipFire file=20 > system and would then be picked by node_exporter and simply appended > to=20 > the http://...:9100/metrics response. >=20 > Yes, i'd like to maintain this package for the ipfire. I think this=20 > would include beside others: > - Keep track of and upgrade to new versions > - Keep track especially on security alerts > - Being reponsive on questions regarding the package > - Testing for each supported architecture >=20 >=20 > Kind regards >=20 > Holger >=20 > >=20 > > I believe that the core devs will expect, if the addon is agreed to > > be a=20 > > valuable additional package, a longer term commitment from yourself > > to=20 > > take on the role of maintainer for the package. It would be good to > > have=20 > > that commitment in this covering note. > >=20 > > Regards, > >=20 > > Adolf. > >=20 > > On 06/05/2021 21:46, Holger Sunke wrote: > > > These patches add the new package node_exporter as discussed in > > > the=20 > > > form thread: > > > https://community.ipfire.org/t/please-add-prometheus-exporter/3555 > > >=20 > > > GO language is required to compile node_exporter. In order to > > > compile > > > node_exporter for i586 arch, "go" package supported architecture > > > must be extended for this. > > > You'll likely want to download packages and adjust DL_FROM > > > variables > > > in "go" and "node_exporter" LFS scripts. > > >=20 > > > Holger Sunke (2): > > > =C2=A0=C2=A0 Added i586/386 support for GO language required for > > > node_exporter. > > > =C2=A0=C2=A0 Added new node_exporter package. > > >=20 > > > =C2=A0 config/rootfiles/packages/node_exporter=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 |=C2=A0 3 + > > > =C2=A0 lfs/Config=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A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++++++ > > > =C2=A0 src/paks/node_exporter/uninstall.sh=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 30 +++++++ > > > =C2=A0 src/paks/node_exporter/update.sh=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 27 ++++++ > > > =C2=A0 ..._exporter-configurable-initd-options.patch | 48 ++++++++++ > > > =C2=A0 9 files changed, 235 insertions(+), 3 deletions(-) > > > =C2=A0 create mode 100644 config/rootfiles/packages/node_exporter > > > =C2=A0 create mode 100644 lfs/node_exporter > > > =C2=A0 create mode 100644 src/paks/node_exporter/install.sh > > > =C2=A0 create mode 100644 src/paks/node_exporter/uninstall.sh > > > =C2=A0 create mode 100644 src/paks/node_exporter/update.sh > > > =C2=A0 create mode 100644=20 > > > src/patches/node_exporter-configurable-initd-options.patch > > >=20 >=20 --=20 Dit bericht is gescanned op virussen en andere gevaarlijke inhoud door MailScanner en lijkt schoon te zijn. --===============0675548551547782427==--