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 _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"