<linkrel="next"title="prometheus.prometheus.mysqld_exporter role – Prometheus MySQLd Exporter"href="mysqld_exporter_role.html"/>
<linkrel="prev"title="prometheus.prometheus.alertmanager role – Prometheus Alertmanager service"href="alertmanager_role.html"/><!-- extra head elements for Ansible beyond RTD Sphinx Theme -->
</head>
<bodyclass="wy-body-for-nav"><!-- extra body elements for Ansible beyond RTD Sphinx Theme -->
<liclass="toctree-l1"><aclass="reference internal"href="mysqld_exporter_role.html">prometheus.prometheus.mysqld_exporter role – Prometheus MySQLd Exporter</a></li>
<liclass="toctree-l1"><aclass="reference internal"href="node_exporter_role.html">prometheus.prometheus.node_exporter role – Prometheus Node Exporter</a></li>
<liclass="toctree-l1"><aclass="reference internal"href="prometheus_role.html">prometheus.prometheus.prometheus role – Installs and configures prometheus</a></li>
<liclass="toctree-l1"><aclass="reference internal"href="snmp_exporter_role.html">prometheus.prometheus.snmp_exporter role – Prometheus SNMP exporter</a></li>
<liclass="toctree-l1"><aclass="reference internal"href="systemd_exporter_role.html">prometheus.prometheus.systemd_exporter role – Prometheus Systemd Exporter</a></li>
</ul>
<!-- extra nav elements for Ansible beyond RTD Sphinx Theme -->
<h1>prometheus.prometheus.blackbox_exporter role – Deploy and manage Prometheus blackbox exporter<aclass="headerlink"href="#prometheus-prometheus-blackbox-exporter-role-deploy-and-manage-prometheus-blackbox-exporter"title="Permalink to this heading"></a></h1>
<p>This role is part of the <aclass="reference external"href="https://galaxy.ansible.com/prometheus/prometheus">prometheus.prometheus collection</a> (version 0.6.0).</p>
<p>To install it use: <codeclass="code docutils literal notranslate"><spanclass="pre">ansible-galaxy</span><spanclass="pre">collection</span><spanclass="pre">install</span><spanclass="pre">prometheus.prometheus</span></code>.</p>
<p>To use it in a playbook, specify: <codeclass="code docutils literal notranslate"><spanclass="pre">prometheus.prometheus.blackbox_exporter</span></code>.</p>
</div>
<navclass="contents local"id="contents">
<ulclass="simple">
<li><p><aclass="reference internal"href="#entry-point-main-deploy-and-manage-prometheus-blackbox-exporter"id="id1">Entry point <codeclass="docutils literal notranslate"><spanclass="pre">main</span></code>– Deploy and manage Prometheus blackbox exporter</a></p>
<h2><aclass="toc-backref"href="#id1"role="doc-backlink">Entry point <codeclass="docutils literal notranslate"><spanclass="pre">main</span></code>– Deploy and manage Prometheus blackbox exporter</a><aclass="headerlink"href="#entry-point-main-deploy-and-manage-prometheus-blackbox-exporter"title="Permalink to this heading"></a></h2>
<sectionid="synopsis">
<h3><aclass="toc-backref"href="#id2"role="doc-backlink">Synopsis</a><aclass="headerlink"href="#synopsis"title="Permalink to this heading"></a></h3>
<ulclass="simple">
<li><p>Deploy and manage Prometheus blackbox exporter which allows blackbox probing of endpoints over HTTP, HTTPS, DNS, TCP and ICMP.</p></li>
</ul>
</section>
<sectionid="parameters">
<h3><aclass="toc-backref"href="#id3"role="doc-backlink">Parameters</a><aclass="headerlink"href="#parameters"title="Permalink to this heading"></a></h3>
<aclass="ansibleOptionLink"href="#parameter-main--blackbox_exporter_binary_url"title="Permalink to this option"></a><pclass="ansible-option-type-line"><spanclass="ansible-option-type">string</span></p>
</div></td>
<td><divclass="ansible-option-cell"><p>URL of the blackbox_exporter binaries .tar.gz file</p>
<aclass="ansibleOptionLink"href="#parameter-main--blackbox_exporter_cli_flags"title="Permalink to this option"></a><pclass="ansible-option-type-line"><spanclass="ansible-option-type">dictionary</span></p>
</div></td>
<td><divclass="ansible-option-cell"><p>Additional configuration flags passed to blackbox exporter binary at startup</p>
<aclass="ansibleOptionLink"href="#parameter-main--blackbox_exporter_config_dir"title="Permalink to this option"></a><pclass="ansible-option-type-line"><spanclass="ansible-option-type">string</span></p>
</div></td>
<td><divclass="ansible-option-cell"><p>Directory where the blackbox exporter configuration file is placed</p>
<aclass="ansibleOptionLink"href="#parameter-main--blackbox_exporter_configuration_modules"title="Permalink to this option"></a><pclass="ansible-option-type-line"><spanclass="ansible-option-type">dictionary</span></p>
<aclass="ansibleOptionLink"href="#parameter-main--blackbox_exporter_skip_install"title="Permalink to this option"></a><pclass="ansible-option-type-line"><spanclass="ansible-option-type">boolean</span></p>
</div></td>
<td><divclass="ansible-option-cell"><p>Blackbox exporter installation tasks gets skipped when set to true.</p>
<aclass="ansibleOptionLink"href="#parameter-main--blackbox_exporter_version"title="Permalink to this option"></a><pclass="ansible-option-type-line"><spanclass="ansible-option-type">string</span></p>
<aclass="ansibleOptionLink"href="#parameter-main--blackbox_exporter_web_listen_address"title="Permalink to this option"></a><pclass="ansible-option-type-line"><spanclass="ansible-option-type">string</span></p>
</div></td>
<td><divclass="ansible-option-cell"><p>Address on which blackbox exporter will be listening</p>