Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Dec 2016 08:32:21 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r310355 - head/etc
Message-ID:  <201612210832.uBL8WLOQ044767@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Wed Dec 21 08:32:20 2016
New Revision: 310355
URL: https://svnweb.freebsd.org/changeset/base/310355

Log:
  Add an example inetd(8) entry for the Prometheus sysctl exporter.
  
  I went through the process of allocating a default port number for this
  exporter, TCP 9124. This means that we can add an entry to the services
  file as well.
  
  List of Prometheus default port numbers:
  https://github.com/prometheus/prometheus/wiki/Default-port-allocations

Modified:
  head/etc/inetd.conf
  head/etc/services

Modified: head/etc/inetd.conf
==============================================================================
--- head/etc/inetd.conf	Wed Dec 21 08:29:44 2016	(r310354)
+++ head/etc/inetd.conf	Wed Dec 21 08:32:20 2016	(r310355)
@@ -117,3 +117,7 @@
 #netbios-ssn stream tcp	nowait		root	/usr/local/sbin/smbd	smbd
 #netbios-ns dgram udp	wait		root	/usr/local/sbin/nmbd	nmbd
 #swat	stream	tcp	nowait/400	root	/usr/local/sbin/swat	swat
+#
+# Example entry for the Prometheus sysctl metrics exporter
+#
+#prom-sysctl	stream	tcp	nowait	nobody	/usr/sbin/prometheus_sysctl_exporter	prometheus_sysctl_exporter -dgh

Modified: head/etc/services
==============================================================================
--- head/etc/services	Wed Dec 21 08:29:44 2016	(r310354)
+++ head/etc/services	Wed Dec 21 08:32:20 2016	(r310355)
@@ -2450,6 +2450,7 @@ aurora		9084/sctp  #IBM AURORA Performan
 aurora		9084/tcp   #IBM AURORA Performance Visualizer
 aurora		9084/udp   #IBM AURORA Performance Visualizer
 jetdirect	9100/tcp   #HP JetDirect card
+prom-sysctl	9124/tcp   #prometheus_sysctl_exporter(8)
 git		9418/tcp   #git pack transfer service
 git		9418/udp   #git pack transfer service
 man		9535/tcp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612210832.uBL8WLOQ044767>