zaxos.ntopng-ansible-role

ntopng-ansible-role

This is an Ansible role that helps you install and set up ntopng.

Requirements

  • CentOS/RHEL 7
  • Ansible version 2.1 or higher
  • SELinux must be disabled

Installation

Run the following command to install the role:

$ ansible-galaxy install zaxos.ntopng-ansible-role

Example Playbook

Here’s a simple playbook you can use:

- hosts: servers
  vars:
    ntopng_nprobe_flow_collector_port: 2055
  roles:
    - role: zaxos.ntopng-ansible-role

Role Variables

Key Variable

  • ntopng_nprobe_flow_collector_port: The UDP port for nProbe to collect data.

Some Default Variables (You may not need to change these):

  • ntopng_use_default_nic_as_monitor_interface: True
    Set to "True" to use the default network card for monitoring.
  • ntopng_http_port: 3000
    This sets the HTTP port for the built-in web server. Set to 0 to disable it.
  • ntopng_runas_daemon: True
  • ntopng_dns_mode: 1
    Options:
    • 0 = Decode DNS responses and resolve only local numeric IPs.
    • 1 = Decode DNS responses and resolve all numeric IPs.
    • 2 = Decode DNS responses without resolving IPs.
    • 3 = Do not decode DNS responses or resolve IPs.
  • ntopng_data_dir: /var/lib/ntopng
  • ntopng_pid_path: /var/run/ntopng.pid
  • ntopng_disable_autologout: False
    Set to "True" to keep the web interface from logging out due to inactivity.
  • ntopng_community_edition: True
  • ntopng_nprobe_tcp_port: 5556
    This is the TCP port for nProbe data collection by ntopng.
Informazioni sul progetto

Ansible role to install and configure ntopng

Installa
ansible-galaxy install zaxos.ntopng-ansible-role
Licenza
gpl-2.0
Download
546
Proprietario