2022-12-04 18:43:25 +00:00
{% if not is_needed_tool %}
< div style = "text-align: center;" >
< h3 > You have not installed Ansible< / h3 > .
< img src = "/inc/images/no_servers.png" alt = "There is no server" >
< h4 >
Read < a href = "https://roxy-wi.org/installation#ansible" title = "Installing Ansible" target = "_blank" > here< / a > how to install Ansible.
< / h4 >
< / div >
{% else %}
2022-11-28 07:47:18 +00:00
{% if page == 'users.py' %}
< table id = "grafana-table" >
2023-01-24 07:34:14 +00:00
< caption > < h3 > Grafana and Prometheus servers< / h3 > < / caption >
2020-08-08 20:54:53 +00:00
< tr class = "overviewHead" >
2020-10-09 15:56:16 +00:00
< td class = "padding10 first-collumn" > Current installation< / td >
2021-05-02 03:58:22 +00:00
< td class = "padding10 first-collumn" style = "width: 40%;" > Available Versions< / td >
2020-08-08 20:54:53 +00:00
< td class = "padding10 first-collumn" style = "width: 30%;" > Note< / td >
< td > < / td >
< td > < / td >
< / tr >
< tr >
< td id = "cur_grafana_ver" class = "padding10 first-collumn" >
2021-08-02 08:19:22 +00:00
{% if grafana == "active" %}
2021-12-20 06:56:56 +00:00
Grafana and Prometheus servers have benn installed
2020-08-08 20:54:53 +00:00
{% else %}
There are no Grafana and Prometheus servers
{% endif %}
< / td >
< td class = "padding10 first-collumn" style = "width: 20%;" >
2021-06-02 07:28:07 +00:00
Roxy-WI will try to install the latest Grafana and Prometheus servers versions
2020-08-08 20:54:53 +00:00
< / td >
< td class = "padding10 first-collumn" >
2021-05-01 07:49:28 +00:00
Before installing any exporters, first install Grafana and Prometheus servers
2020-08-08 20:54:53 +00:00
< / td >
< td > < / td >
< td >
2021-08-02 08:19:22 +00:00
{% if grafana != "active" %}
2020-08-08 20:54:53 +00:00
< span class = "ui-button ui-widget ui-corner-all" id = "grafna_install" title = "Install Grafana and Prometheus server" > Install< / span >
{% endif %}
< / td >
< / tr >
< / table >
2022-11-28 07:47:18 +00:00
{% endif %}
< table id = "haproxy-table" >
2023-01-24 07:34:14 +00:00
< caption > < h3 > HAProxy Exporter< / h3 > < / caption >
2020-08-08 20:54:53 +00:00
< tr class = "overviewHead" >
2022-11-12 16:11:29 +00:00
< td class = "padding10 first-collumn" style = "width: 20%;" > Current installation< / td >
2021-12-20 06:56:56 +00:00
< td class = "padding10 first-collumn" style = "width: 30%;" > Available Versions< / td >
2020-08-08 20:54:53 +00:00
< td class = "padding10 first-collumn" style = "width: 30%;" > Server< / td >
2022-11-28 07:47:18 +00:00
< td class = "help_cursor" style = "width: 20%;" title = "This exporter will be used by an external Prometheus. Also use this checkbox if you update the Exporter" data-intro = "This exporter will be used by an external Prometheus. Also use this checkbox if you update the Exporter" > External Prometheus< / td >
2022-11-12 16:11:29 +00:00
< td > < / td >
2020-08-08 20:54:53 +00:00
< td > < / td >
< / tr >
< tr >
2021-12-20 06:56:56 +00:00
< td id = "cur_haproxy_exp_ver" class = "padding10 first-collumn" > < / td >
2020-08-08 20:54:53 +00:00
< td class = "padding10 first-collumn" style = "width: 20%;" >
2021-12-20 06:56:56 +00:00
{% set values = dict() %}
2022-12-04 18:43:25 +00:00
{% set values = {'0.8.0':'0.8.0', '0.9.0':'0.9.0', '0.10.0':'0.10.0', '0.11.0':'0.11.0', '0.12.0':'0.12.0', '0.13.0':'0.13.0', '0.14.0':'0.14.0'} %}
{{ select('hapexpver', values=values, selected='0.14.0') }}
2020-08-08 20:54:53 +00:00
< / td >
< td class = "padding10 first-collumn" >
< select autofocus required name = "haproxy_exp_addserv" id = "haproxy_exp_addserv" >
2021-08-05 05:46:44 +00:00
< option disabled selected > ------< / option >
2020-08-08 20:54:53 +00:00
{% for select in servers %}
< option value = "{{ select.2 }}" > {{ select.1 }}< / option >
{% endfor %}
< / select >
< / td >
2022-11-12 16:11:29 +00:00
< td style = "padding-left: 50px;" > {{ checkbox('haproxy_ext_prom', title="This exporter will be used by an external Prometheus. Also use this checkbox if you update the Exporter") }}< / td >
2020-08-08 20:54:53 +00:00
< td >
< span class = "ui-button ui-widget ui-corner-all" id = "haproxy_exp_install" title = "Install HAProxy Exporter" > Install< / span >
< / td >
< / tr >
< / table >
2022-11-28 07:47:18 +00:00
< table id = "nginx-table" >
2023-01-24 07:34:14 +00:00
< caption > < h3 > NGINX Exporter< / h3 > < / caption >
2020-08-08 20:54:53 +00:00
< tr class = "overviewHead" >
2022-11-12 16:11:29 +00:00
< td class = "padding10 first-collumn" style = "width: 20%;" > Current installation< / td >
2021-12-20 06:56:56 +00:00
< td class = "padding10 first-collumn" style = "width: 30%;" > Available Versions< / td >
2020-08-08 20:54:53 +00:00
< td class = "padding10 first-collumn" style = "width: 30%;" > Server< / td >
2022-11-12 16:11:29 +00:00
< td class = "help_cursor" style = "width: 20%;" title = "This exporter will be used by an external Prometheus. Also use this checkbox if you update the Exporter" > External Prometheus< / td >
2020-08-08 20:54:53 +00:00
< td > < / td >
< td > < / td >
< / tr >
< tr >
2021-12-20 06:56:56 +00:00
< td id = "cur_nginx_exp_ver" class = "padding10 first-collumn" > < / td >
2020-08-08 20:54:53 +00:00
< td class = "padding10 first-collumn" style = "width: 20%;" >
2021-12-20 06:56:56 +00:00
{% set values = dict() %}
2022-12-04 18:43:25 +00:00
{% set values = {'0.6.0':'0.6.0', '0.7.0':'0.7.0', '0.9.0':'0.9.0', '0.10.0':'0.10.0', '0.11.0':'0.11.0'} %}
{{ select('nginxexpver', values=values, selected='0.11.0') }}
2020-08-08 20:54:53 +00:00
< / td >
< td class = "padding10 first-collumn" >
< select autofocus required name = "nginx_exp_addserv" id = "nginx_exp_addserv" >
2021-08-05 05:46:44 +00:00
< option disabled selected > ------< / option >
2020-08-08 20:54:53 +00:00
{% for select in servers %}
< option value = "{{ select.2 }}" > {{ select.1 }}< / option >
{% endfor %}
< / select >
< / td >
2022-11-12 16:11:29 +00:00
< td style = "padding-left: 50px;" > {{ checkbox('nginx_ext_prom', title="This exporter will be used by an external Prometheus. Also use this checkbox if you update the Exporter") }}< / td >
2020-08-08 20:54:53 +00:00
< td >
2022-04-20 08:08:36 +00:00
< span class = "ui-button ui-widget ui-corner-all" id = "nginx_exp_install" title = "Install NGINX Exporter" > Install< / span >
2020-08-08 20:54:53 +00:00
< / td >
< / tr >
< / table >
2022-11-28 07:47:18 +00:00
< table id = "apache-table" >
2023-01-24 07:34:14 +00:00
< caption > < h3 > Apache Exporter< / h3 > < / caption >
2022-10-17 10:22:58 +00:00
< tr class = "overviewHead" >
2022-11-12 16:11:29 +00:00
< td class = "padding10 first-collumn" style = "width: 20%;" > Current installation< / td >
2022-10-17 10:22:58 +00:00
< td class = "padding10 first-collumn" style = "width: 30%;" > Available Versions< / td >
< td class = "padding10 first-collumn" style = "width: 30%;" > Server< / td >
2022-11-12 16:11:29 +00:00
< td class = "help_cursor" style = "width: 20%;" title = "This exporter will be used by an external Prometheus. Also use this checkbox if you update the Exporter" > External Prometheus< / td >
2022-10-17 10:22:58 +00:00
< td > < / td >
< td > < / td >
< / tr >
< tr >
< td id = "cur_apache_exp_ver" class = "padding10 first-collumn" > < / td >
< td class = "padding10 first-collumn" style = "width: 20%;" >
{% set values = dict() %}
{% set values = {'0.7.0':'0.7.0', '0.8.0':'0.8.0', '0.9.0':'0.9.0', '0.10.0':'0.10.0'} %}
{{ select('apacheexpver', values=values, selected='0.10.0') }}
< / td >
< td class = "padding10 first-collumn" >
< select autofocus required name = "apache_exp_addserv" id = "apache_exp_addserv" >
< option disabled selected > ------< / option >
{% for select in servers %}
< option value = "{{ select.2 }}" > {{ select.1 }}< / option >
{% endfor %}
< / select >
< / td >
2022-11-12 16:11:29 +00:00
< td style = "padding-left: 50px;" > {{ checkbox('apache_ext_prom', title="This exporter will be used by an external Prometheus. Also use this checkbox if you update the Exporter") }}< / td >
2022-10-17 10:22:58 +00:00
< td >
< span class = "ui-button ui-widget ui-corner-all" id = "apache_exp_install" title = "Install Apache Exporter" > Install< / span >
< / td >
< / tr >
< / table >
2023-01-18 07:37:23 +00:00
< table id = "keepalived-table" >
2023-01-24 07:34:14 +00:00
< caption > < h3 > Keepalived Exporter< / h3 > < / caption >
2023-01-18 07:37:23 +00:00
< tr class = "overviewHead" >
< td class = "padding10 first-collumn" style = "width: 20%;" > Current installation< / td >
< td class = "padding10 first-collumn" style = "width: 30%;" > Available Versions< / td >
< td class = "padding10 first-collumn" style = "width: 30%;" > Server< / td >
< td class = "help_cursor" style = "width: 20%;" title = "This exporter will be used by an external Prometheus. Also use this checkbox if you update the Exporter" > External Prometheus< / td >
< td > < / td >
< td > < / td >
< / tr >
< tr >
< td id = "cur_keepalived_exp_ver" class = "padding10 first-collumn" > < / td >
< td class = "padding10 first-collumn" style = "width: 20%;" >
{% set values = dict() %}
{% set values = {'0.1.0':'0.1.0', '0.2.0':'0.2.0', '0.3.0':'0.3.0', '0.4.0':'0.4.0', '0.5.0':'0.5.0'} %}
{{ select('keepalivedexpver', values=values, selected='0.5.0') }}
< / td >
< td class = "padding10 first-collumn" >
< select autofocus required name = "keepalived_exp_addserv" id = "keepalived_exp_addserv" >
< option disabled selected > ------< / option >
{% for select in servers %}
< option value = "{{ select.2 }}" > {{ select.1 }}< / option >
{% endfor %}
< / select >
< / td >
< td style = "padding-left: 50px;" > {{ checkbox('keepalived_ext_prom', title="This exporter will be used by an external Prometheus. Also use this checkbox if you update the Exporter") }}< / td >
< td >
< span class = "ui-button ui-widget ui-corner-all" id = "keepalived_exp_install" title = "Install Keepalived Exporter" > Install< / span >
< / td >
< / tr >
< / table >
2022-11-28 07:47:18 +00:00
< table style = "margin-top: 20px" id = "node-table" >
2023-01-24 07:34:14 +00:00
< caption > < h3 > Node Exporter< / h3 > < / caption >
2021-05-02 03:58:22 +00:00
< tr class = "overviewHead" >
2022-11-12 16:11:29 +00:00
< td class = "padding10 first-collumn" style = "width: 20%;" > Current installation< / td >
2021-12-20 06:56:56 +00:00
< td class = "padding10 first-collumn" style = "width: 30%;" > Available Versions< / td >
2021-05-02 03:58:22 +00:00
< td class = "padding10 first-collumn" style = "width: 30%;" > Server< / td >
2022-11-12 16:11:29 +00:00
< td class = "help_cursor" style = "width: 20%;" title = "This exporter will be used by an external Prometheus. Also use this checkbox if you update the Exporter" > External Prometheus< / td >
2021-05-02 03:58:22 +00:00
< td > < / td >
< td > < / td >
< / tr >
< tr >
2021-12-20 06:56:56 +00:00
< td id = "cur_node_exp_ver" class = "padding10 first-collumn" > < / td >
2021-05-02 03:58:22 +00:00
< td class = "padding10 first-collumn" style = "width: 20%;" >
2021-12-20 06:56:56 +00:00
{% set values = dict() %}
2022-12-04 18:43:25 +00:00
{% set values = {'1.1.1':'1.1.1', '1.1.2':'1.1.2', '1.2.0':'1.2.0', '1.2.2':'1.2.2', '1.3.0':'1.3.0', '1.3.1':'1.3.1', '1.5.0':'1.5.0'} %}
{{ select('nodeexpver', values=values, selected='1.5.0') }}
2021-05-02 03:58:22 +00:00
< / td >
< td class = "padding10 first-collumn" >
< select autofocus required name = "node_exp_addserv" id = "node_exp_addserv" >
2021-08-05 05:46:44 +00:00
< option disabled selected > ------< / option >
2021-05-02 03:58:22 +00:00
{% for select in servers %}
< option value = "{{ select.2 }}" > {{ select.1 }}< / option >
{% endfor %}
< / select >
< / td >
2022-11-12 16:11:29 +00:00
< td style = "padding-left: 50px;" > {{ checkbox('node_ext_prom', title="This exporter will be used by an external Prometheus. Also use this checkbox if you update the Exporter") }}< / td >
2021-05-02 03:58:22 +00:00
< td >
< span class = "ui-button ui-widget ui-corner-all" id = "node_exp_install" title = "Install Node Exporter" > Install< / span >
< / td >
< / tr >
< / table >
2020-08-08 20:54:53 +00:00
< div id = "ajaxmon" > < / div >
2021-12-20 06:56:56 +00:00
< div class = "add-note alert addName alert-info" style = "width: inherit; margin-right: 15px;" >
2022-07-30 17:00:36 +00:00
Read < a href = "https://roxy-wi.org/services/grafana" title = "About Grafana and Prometheus servers" target = "_blank" > About Grafana and Prometheus servers< / a >
and < a href = "https://roxy-wi.org/howto/exporters" title = "About Exporters" target = "_blank" > About Exporters< / a >
< / div >
2022-12-04 18:43:25 +00:00
{% endif %}