svn commit: r491486 - in head/net-mgmt: . nvidia_gpu_prometheus_exporter
Mateusz Piotrowski
0mp at FreeBSD.org
Mon Jan 28 13:48:12 UTC 2019
Author: 0mp
Date: Mon Jan 28 13:48:10 2019
New Revision: 491486
URL: https://svnweb.freebsd.org/changeset/ports/491486
Log:
New port: net-mgmt/nvidia_gpu_prometheus_exporter: NVIDIA GPU Prometheus exporter
This is a Prometheus Exporter for exporting NVIDIA GPU metrics. It uses the
Go bindings for NVIDIA Management Library (NVML) which is a C-based API
that can be used for monitoring NVIDIA GPU devices. Unlike some other
similar exporters, it does not call the nvidia-smi binary.
WWW: https://github.com/mindprince/nvidia_gpu_prometheus_exporter
Reviewed by: mat
Approved by: mat (mentor)
Sponsored by: BALLY WULFF Games & Entertainment GmbH
Differential Revision: https://reviews.freebsd.org/D19002
Added:
head/net-mgmt/nvidia_gpu_prometheus_exporter/
head/net-mgmt/nvidia_gpu_prometheus_exporter/Makefile (contents, props changed)
head/net-mgmt/nvidia_gpu_prometheus_exporter/distinfo (contents, props changed)
head/net-mgmt/nvidia_gpu_prometheus_exporter/pkg-descr (contents, props changed)
head/net-mgmt/nvidia_gpu_prometheus_exporter/pkg-message (contents, props changed)
Modified:
head/net-mgmt/Makefile
Modified: head/net-mgmt/Makefile
==============================================================================
--- head/net-mgmt/Makefile Mon Jan 28 13:46:20 2019 (r491485)
+++ head/net-mgmt/Makefile Mon Jan 28 13:48:10 2019 (r491486)
@@ -209,6 +209,7 @@
SUBDIR += nsca27-client
SUBDIR += nstat
SUBDIR += nstreams
+ SUBDIR += nvidia_gpu_prometheus_exporter
SUBDIR += observium
SUBDIR += ocsinventory-agent
SUBDIR += ocsinventory-ocsreports
Added: head/net-mgmt/nvidia_gpu_prometheus_exporter/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/nvidia_gpu_prometheus_exporter/Makefile Mon Jan 28 13:48:10 2019 (r491486)
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME= nvidia_gpu_prometheus_exporter
+DISTVERSION= g20181028
+CATEGORIES= net-mgmt
+
+MAINTAINER= 0mp at FreeBSD.org
+COMMENT= NVIDIA GPU Prometheus exporter
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+ONLY_FOR_ARCHS= amd64 i386
+
+USES= go
+USE_GITHUB= yes
+GH_ACCOUNT= mindprince
+GH_TAGNAME= 0d52cd2
+
+PLIST_FILES= bin/${PORTNAME}
+PORTDOCS= README.md
+
+OPTIONS_DEFINE= DOCS
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
Added: head/net-mgmt/nvidia_gpu_prometheus_exporter/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/nvidia_gpu_prometheus_exporter/distinfo Mon Jan 28 13:48:10 2019 (r491486)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1548678036
+SHA256 (mindprince-nvidia_gpu_prometheus_exporter-g20181028-0d52cd2_GH0.tar.gz) = 2fc957543b0e8b0cc864e1e734831cc7616269e1fc124aef224c1c4055af7eca
+SIZE (mindprince-nvidia_gpu_prometheus_exporter-g20181028-0d52cd2_GH0.tar.gz) = 243278
Added: head/net-mgmt/nvidia_gpu_prometheus_exporter/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/nvidia_gpu_prometheus_exporter/pkg-descr Mon Jan 28 13:48:10 2019 (r491486)
@@ -0,0 +1,6 @@
+This is a Prometheus Exporter for exporting NVIDIA GPU metrics. It uses the Go
+bindings for NVIDIA Management Library (NVML) which is a C-based API that can
+be used for monitoring NVIDIA GPU devices. Unlike some other similar exporters,
+it does not call the nvidia-smi binary.
+
+WWW: https://github.com/mindprince/nvidia_gpu_prometheus_exporter
Added: head/net-mgmt/nvidia_gpu_prometheus_exporter/pkg-message
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/nvidia_gpu_prometheus_exporter/pkg-message Mon Jan 28 13:48:10 2019 (r491486)
@@ -0,0 +1,9 @@
+The libnvidia-ml.so.1 library has to be installed on the system for
+nvidia_gpu_prometheus_exporter to be able to query GPUs.
+
+It can be installed with one of the NVIDIA drivers available in the FreeBSD
+Ports Collection:
+
+- nvidia-driver
+- nvidia-driver-304
+- nvidia-driver-340
More information about the svn-ports-head
mailing list