Skip to content

Ansible role that installs the Nagios/Incinga NPRE Client and opens the needed ports to communicate with the Nagios server component

Notifications You must be signed in to change notification settings

stancel/install-nagios-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

install-nagios-client

A role to install the Nagios NRPE client onto an Ubuntu/Debian machine and open up the required firewall ports (5666) in ufw (if used) to allow communication with the Nagios Server.

Requirements

You should be running your own Nagios, Icinga2 or other Nagios plugin compatible server.

Role Variables

Fully qualified domain name of your Nagios Server

	install_nagios_client_nagios_server_fqdn: "mynagios.mydomain.com"

The fully qualified domain name or IP address of the machine you are adding to be monitored

	install_nagios_client_server_fqdn: "myserver-to-monitor.com"

Dependencies

None

Example Playbook

- hosts: your_server_to_monitor
  vars_files:
    - vars/main.yml
  roles:
    - { role: stancel.install-nagios-client }

or

- hosts: your_server_to_monitor
  vars:
	install_nagios_client_nagios_server_fqdn: "nagios.mydomain.com"
	install_nagios_client_server_fqdn: "myserver-to-monitor.com"
  roles:
    - { role: stancel.install-nagios-client }

License

BSD

Author Information

Brad Stancel

About

Ansible role that installs the Nagios/Incinga NPRE Client and opens the needed ports to communicate with the Nagios server component

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published