.\" Man page generated from reStructuredText. . .TH "CDIST-TYPE__PROMETHEUS_EXPORTER" "7" "Feb 16, 2019" "4.10.6" "cdist" . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH NAME .sp cdist\-type__prometheus_exporter \- install some Prometheus exporters .SH DESCRIPTION .sp Install and configure some exporters to be used by the Prometheus monitoring system (\fI\%https://prometheus.io/\fP). .sp This type creates a daemontools\-compatible service directory under /service/$__object_id. Daemontools (or something compatible) must be installed (in particular, the command \fIsvc\fP must be executable). .sp This type installs and builds the latest version from git, using go get. A recent version of golang as well as build tools (make, g++, etc.) must be available. .sp Currently supported exporters: .INDENT 0.0 .IP \(bu 2 node .IP \(bu 2 blackbox .IP \(bu 2 ceph .UNINDENT .SH REQUIRED PARAMETERS .sp None .SH OPTIONAL PARAMETERS .INDENT 0.0 .TP .B exporter Which exporter to install and configure. Default: $__object_id. Currently supported: node, blackbox, ceph. .UNINDENT .SH BOOLEAN PARAMETERS .INDENT 0.0 .TP .B add\-consul\-service Add this exporter as a Consul service for automatic service discovery. .UNINDENT .SH EXAMPLES .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C __daemontools __golang_from_vendor \-\-version 1.9 # required for prometheus and many exporters require="__daemontools __golang_from_vendor" __prometheus_exporter node .ft P .fi .UNINDENT .UNINDENT .SH SEE ALSO .sp \fBcdist\-type__daemontools\fP(7), \fBcdist\-type__golang_from_vendor\fP(7), \fBcdist\-type__prometheus_server\fP(7), Prometheus documentation: \fI\%https://prometheus.io/docs/introduction/overview/\fP .SH AUTHORS .sp Kamila Součková <\fI\%kamila\-\-@\-\-ksp.sk\fP> .SH COPYING .sp Copyright (C) 2017 Kamila Součková. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. .\" Generated by docutils manpage writer. .