apps_3cx_exporter
Ansible Role: ansible-apps_3cx_exporter
Description
Deploy 3cx_exporter to expose 3cx metrics to prometheus.
Role variables
Name | Default Value | Description |
---|---|---|
cx_exporter_version |
1.9.1 | 3cx_exporter version |
cx_exporter_install_dir |
/usr/local/bin | directory to install binary |
cx_exporter_force_install |
false | force install variable |
cx_exporter_3cx_host |
localhost | hostname or ip of the 3cx server |
cx_exporter_3cx_port |
3128 | port of the 3cx service on the 3cx server |
cx_exporter_listen_port |
9103 | port to expose prometheus metrics |
Examples
---
- hosts: apps_3cx_exporter
become: yes
become_method: sudo
gather_facts: yes
roles:
- role: ansible-apps_3cx_exporter
environment:
http_proxy: "{{ http_proxy }}"
https_proxy: "{{ https_proxy }}"
no_proxy: "{{ no_proxy }}
License
This project is licensed under Apache License. See LICENSE for more details.
Install
ansible-galaxy install lotusnoir/ansible-apps_3cx_exporter
License
apache-2.0
Downloads
20
Owner