2021-05-02 16:19:11 +00:00
|
|
|
---
|
|
|
|
# Server/Telegraf: Install and Setup Telegraf Monitoring - FreeBSD Version
|
|
|
|
|
|
|
|
- name: telegraf - Install telegraf
|
|
|
|
become: yes
|
|
|
|
ansible.builtin.package:
|
|
|
|
name: telegraf
|
|
|
|
state: latest
|
|
|
|
|
|
|
|
# # Install SNMP utilities for telegraf monitoring
|
|
|
|
# - name: telegraf - Install SNMP utilities
|
2022-02-13 19:52:02 +00:00
|
|
|
# when: telegraf_ubnt_ns_ips is defined
|
2021-05-02 16:19:11 +00:00
|
|
|
# become: yes
|
|
|
|
# ansible.builtin.package:
|
|
|
|
# name: "{{ packages }}"
|
|
|
|
# state: present
|
|
|
|
# vars:
|
|
|
|
# packages:
|
|
|
|
# - snmp
|
|
|
|
# - snmp-mibs-downloader
|
|
|
|
|
|
|
|
- name: telegraf - Install SNMP utilities
|
2022-02-13 19:52:02 +00:00
|
|
|
when: telegraf_ubnt_ns_ips is defined
|
2021-05-02 16:19:11 +00:00
|
|
|
become: yes
|
|
|
|
ansible.builtin.package:
|
|
|
|
name: "{{ packages }}"
|
|
|
|
state: present
|
|
|
|
vars:
|
|
|
|
packages:
|
|
|
|
- snmp
|
|
|
|
- snmp-mibs-downloader
|