Page MenuHomeFreeBSD

D19002.diff
No OneTemporary

D19002.diff

Index: head/net-mgmt/Makefile
===================================================================
--- head/net-mgmt/Makefile
+++ head/net-mgmt/Makefile
@@ -209,6 +209,7 @@
SUBDIR += nsca27-client
SUBDIR += nstat
SUBDIR += nstreams
+ SUBDIR += nvidia_gpu_prometheus_exporter
SUBDIR += observium
SUBDIR += ocsinventory-agent
SUBDIR += ocsinventory-ocsreports
Index: head/net-mgmt/nvidia_gpu_prometheus_exporter/Makefile
===================================================================
--- head/net-mgmt/nvidia_gpu_prometheus_exporter/Makefile
+++ head/net-mgmt/nvidia_gpu_prometheus_exporter/Makefile
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME= nvidia_gpu_prometheus_exporter
+DISTVERSION= g20181028
+CATEGORIES= net-mgmt
+
+MAINTAINER= 0mp@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>
Index: head/net-mgmt/nvidia_gpu_prometheus_exporter/distinfo
===================================================================
--- head/net-mgmt/nvidia_gpu_prometheus_exporter/distinfo
+++ head/net-mgmt/nvidia_gpu_prometheus_exporter/distinfo
@@ -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
Index: head/net-mgmt/nvidia_gpu_prometheus_exporter/pkg-descr
===================================================================
--- head/net-mgmt/nvidia_gpu_prometheus_exporter/pkg-descr
+++ head/net-mgmt/nvidia_gpu_prometheus_exporter/pkg-descr
@@ -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
Index: head/net-mgmt/nvidia_gpu_prometheus_exporter/pkg-message
===================================================================
--- head/net-mgmt/nvidia_gpu_prometheus_exporter/pkg-message
+++ head/net-mgmt/nvidia_gpu_prometheus_exporter/pkg-message
@@ -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

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 2, 10:31 AM (3 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34593546
Default Alt Text
D19002.diff (2 KB)

Event Timeline