Updated to latest, missed the release until now.
Search Criteria
Package Details: prometheus-node-exporter-bin 1.0.1-1
Git Clone URL: | https://aur.archlinux.org/prometheus-node-exporter-bin.git (read-only, click to copy) |
---|---|
Package Base: | prometheus-node-exporter-bin |
Description: | Prometheus exporter for machine metrics (binary, not built from source) |
Upstream URL: | https://github.com/prometheus/node_exporter |
Keywords: | prometheus |
Licenses: | |
Conflicts: | |
Provides: | |
Submitter: | Slash |
Maintainer: | gouthamve |
Last Packager: | gouthamve |
Votes: | 4 |
Popularity: | 0.000003 |
First Submitted: | 2016-07-02 19:07 |
Last Updated: | 2020-09-23 09:38 |
Dependencies (0)
Required by (0)
Sources (8)
- https://github.com/prometheus/node_exporter/releases/download/v1.0.1/node_exporter-1.0.1.linux-amd64.tar.gz (x86_64)
- https://github.com/prometheus/node_exporter/releases/download/v1.0.1/node_exporter-1.0.1.linux-arm64.tar.gz (aarch64)
- https://github.com/prometheus/node_exporter/releases/download/v1.0.1/node_exporter-1.0.1.linux-armv6.tar.gz (armv6h)
- https://github.com/prometheus/node_exporter/releases/download/v1.0.1/node_exporter-1.0.1.linux-armv7.tar.gz (armv7h)
- prometheus-node-exporter.service (x86_64)
- prometheus-node-exporter.service (armv6h)
- prometheus-node-exporter.service (armv7h)
- prometheus-node-exporter.service (aarch64)
gouthamve commented on 2019-09-24 10:12
TheGoliath commented on 2019-09-24 08:41
Still out of date 0.18.1 is out for quite a while
gouthamve commented on 2019-05-13 06:48
@stingA0815 Am very late, but added the support to the architectures.
hendres commented on 2019-01-02 06:23
could you please add armv6h and aarch64 architecture
diff --git a/PKGBUILD b/PKGBUILD
index eb50c72..bae70bc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=prometheus-node-exporter-bin
pkgver=0.17.0
pkgrel=1
pkgdesc="Prometheus exporter for machine metrics (binary, not built from source)"
-arch=('x86_64' 'armv7h')
+arch=('x86_64' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/prometheus/node_exporter"
license=('Apache')
depends=()
@@ -14,17 +14,27 @@ provides=('prometheus-node-exporter')
conflicts=('prometheus-node-exporter')
source_x86_64=( 'prometheus-node-exporter.service'
"https://github.com/prometheus/node_exporter/releases/download/v${pkgver}/node_exporter-${pkgver}.linux-amd64.tar.gz")
+source_armv6h=( 'prometheus-node-exporter.service'
+"https://github.com/prometheus/node_exporter/releases/download/v${pkgver}/node_exporter-${pkgver}.linux-armv6.tar.gz")
source_armv7h=( 'prometheus-node-exporter.service'
"https://github.com/prometheus/node_exporter/releases/download/v${pkgver}/node_exporter-${pkgver}.linux-armv7.tar.gz")
+source_aarch64=( 'prometheus-node-exporter.service'
+"https://github.com/prometheus/node_exporter/releases/download/v${pkgver}/node_exporter-${pkgver}.linux-arm64.tar.gz")
sha256sums_x86_64=('df4ef8a34999ac2acedead7a48e67da31e0b65a29e4570d3075cd8ca663cf1d0'
'd2e00d805dbfdc67e7291ce2d2ff151f758dd7401dd993411ff3818d0e231489')
+sha256sums_armv6h=('df4ef8a34999ac2acedead7a48e67da31e0b65a29e4570d3075cd8ca663cf1d0'
+ '5aa657827611010520c19f911da345c50f0242425891eb5a58ffe6fd75fcd7a8')
sha256sums_armv7h=('df4ef8a34999ac2acedead7a48e67da31e0b65a29e4570d3075cd8ca663cf1d0'
'052292878a664b02f464c85c2936decce600f73cf0ae8138dd026da532bcc352')
+sha256sums_aarch64=('df4ef8a34999ac2acedead7a48e67da31e0b65a29e4570d3075cd8ca663cf1d0'
+ 'f0d9a8bfed735e93f49a4e8113e96af2dfc90db759164a785b862c704f633569')
package() {
case "$CARCH" in
'x86_64') ARCH='amd64';;
+ 'armv6h') ARCH='armv6';;
'armv7h') ARCH='armv7';;
+ 'aarch64') ARCH='arm64';;
esac
cd "${srcdir}/node_exporter-${pkgver}.linux-${ARCH}"
sdht0 commented on 2018-11-17 01:40
Hi. It'd be good to update the systemd unit to (1) run as a non-root user and (2) configure options sent to node-exporter, as shown at https://aur.archlinux.org/packages/prometheus-node-exporter
gouthamve commented on 2018-05-29 10:05
I'll be maintaining this from now on, thanks @Slash for maintaining it till now.
The source for this is here: https://github.com/gouthamve/pkgbuild-prometheus-node-exporter-bin
Feel free to submit PR's if you want to change anything or comment here.
Slash commented on 2018-05-22 22:31
Disowning this because I don't use it anymore.
Slash commented on 2018-04-06 01:45
@mathieu.clabaut: Thanks for the contribution, I updated the PKGBUILD.
mathieu.clabaut commented on 2018-04-01 14:13
Plesae could you add the armv7h architecture :
diff --git a/PKGBUILD b/PKGBUILD
index 405db50..06296f0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,20 +4,28 @@ pkgname=prometheus-node-exporter-bin
pkgver=0.15.2
pkgrel=1
pkgdesc="Prometheus exporter for machine metrics (binary, not built from source)"
-arch=('x86_64')
+arch=('x86_64' 'armv7h')
url="https://github.com/prometheus/node_exporter"
license=('Apache')
depends=()
makedepends=()
provides=('prometheus-node-exporter')
conflicts=('prometheus-node-exporter')
-source=( 'prometheus-node-exporter.service'
+source_x86_64=( 'prometheus-node-exporter.service'
"https://github.com/prometheus/node_exporter/releases/download/v${pkgver}/node_exporter-${pkgver}.linux-amd64.tar.gz")
-sha256sums=('df4ef8a34999ac2acedead7a48e67da31e0b65a29e4570d3075cd8ca663cf1d0'
- '1ce667467e442d1f7fbfa7de29a8ffc3a7a0c84d24d7c695cc88b29e0752df37')
+source_armv7h=( 'prometheus-node-exporter.service'
+"https://github.com/prometheus/node_exporter/releases/download/v${pkgver}/node_exporter-${pkgver}.linux-armv7.tar.gz")
+sha256sums_x86_64=('df4ef8a34999ac2acedead7a48e67da31e0b65a29e4570d3075cd8ca663cf1d0'
+ '1ce667467e442d1f7fbfa7de29a8ffc3a7a0c84d24d7c695cc88b29e0752df37')
+sha256sums_armv7h=('df4ef8a34999ac2acedead7a48e67da31e0b65a29e4570d3075cd8ca663cf1d0'
+ 'cbb14364b341d7b60e7c26c51250a3f2027fd2e8db2d1f46d655e7bdd15465f0')
package() {
- cd "${srcdir}/node_exporter-${pkgver}.linux-amd64"
+ case "$CARCH" in
+ 'x86_64') ARCH='amd64';;
+ 'armv7h') ARCH='armv7';;
+ esac
+ cd "${srcdir}/node_exporter-${pkgver}.linux-${ARCH}"
# Install Binary
install -D -m0755 node_exporter \
Slash commented on 2017-03-26 04:35
@julianbrost: Thanks, fixed and updated to latest upstream.
Pinned Comments
gouthamve commented on 2018-05-29 10:05
I'll be maintaining this from now on, thanks @Slash for maintaining it till now.
The source for this is here: https://github.com/gouthamve/pkgbuild-prometheus-node-exporter-bin
Feel free to submit PR's if you want to change anything or comment here.