All Projects → jloh → Nagios Nrpe Server

jloh / Nagios Nrpe Server

Licence: mit
Nagios NRPE Server Role for Ansible

Projects that are alternatives of or similar to Nagios Nrpe Server

Centos7 Cis
Ansible CentOS 7 - CIS Benchmark Hardening Script
Stars: ✭ 64 (+137.04%)
Mutual labels:  ansible, ansible-role, ansible-playbook
Ansible Restic
Deploy restic backup program
Stars: ✭ 29 (+7.41%)
Mutual labels:  ansible, ansible-role, ansible-playbook
Graylog Ansible Role
Ansible role which installs and configures Graylog
Stars: ✭ 173 (+540.74%)
Mutual labels:  ansible, ansible-role, ansible-playbook
Ansible In Action
Ansible playbook to deploy your Laravel code base to VPS
Stars: ✭ 61 (+125.93%)
Mutual labels:  ansible, ansible-role, ansible-playbook
Ansible Playbook Grapher
A command line tool to create a graph representing your Ansible playbook tasks and roles
Stars: ✭ 234 (+766.67%)
Mutual labels:  ansible, ansible-role, ansible-playbook
Ansible Transmission
🕹 A TransmissionBT installation role for Ansible
Stars: ✭ 8 (-70.37%)
Mutual labels:  ansible, ansible-role
lykops
lykops是一套web可视化的运维自动化项目,基于python3+django开发的。可视化、简化执行ansible任务,并提供详细的任务执行报告。
Stars: ✭ 129 (+377.78%)
Mutual labels:  ansible-playbook, ansible-role
Ansible Rails
Ansible: Ruby on Rails Server
Stars: ✭ 317 (+1074.07%)
Mutual labels:  ansible, ansible-playbook
Ansible Role Nginx
Ansible role for NGINX
Stars: ✭ 404 (+1396.3%)
Mutual labels:  ansible, ansible-role
LXD-Cloud
Lightweight server management using LXD and Ansible
Stars: ✭ 19 (-29.63%)
Mutual labels:  ansible-playbook, nagios
Ansible Consul
📡 Ansible role for Hashicorp Consul clusters
Stars: ✭ 320 (+1085.19%)
Mutual labels:  ansible, ansible-role
Ansible Letsencrypt
An ansible role to generate TLS certificates and get them signed by Let's Encrypt
Stars: ✭ 433 (+1503.7%)
Mutual labels:  ansible, ansible-role
Ansible Style Guide
A style guide for Ansible use in EGI
Stars: ✭ 14 (-48.15%)
Mutual labels:  ansible, ansible-role
Ansible-Veeam
My Ansible Playbooks, Roles and Modules for Veeam
Stars: ✭ 21 (-22.22%)
Mutual labels:  ansible-playbook, ansible-role
aws-lab-guide
Amazon Web Services Practice Lab Guide. Absolute beginners can try this lab practice guide.
Stars: ✭ 25 (-7.41%)
Mutual labels:  ansible-playbook, ansible-role
RHEL7-CIS
Ansible RHEL 7 - CIS Benchmark Hardening Script
Stars: ✭ 28 (+3.7%)
Mutual labels:  ansible-playbook, ansible-role
Ansible Roles
Ansible Roles
Stars: ✭ 375 (+1288.89%)
Mutual labels:  ansible, ansible-playbook
Ansible Role Conjur
Grants Conjur machine identity to hosts
Stars: ✭ 12 (-55.56%)
Mutual labels:  ansible, ansible-role
Postgresql
Fairly full featured Ansible role for Postgresql.
Stars: ✭ 684 (+2433.33%)
Mutual labels:  ansible, ansible-role
Ansible Skeleton
The skeleton to create new ansible roles.
Stars: ✭ 5 (-81.48%)
Mutual labels:  ansible, ansible-role

Nagios NRPE Server Config

GitHub version CircleCI

An Ansible role to handle the installation and rollout of the Nagios NRPE Daemon.

I've only selected certain platforms that I know this 100% works on, but it should work on any platform that NRPE can be installed on.

Currently supports:

  • Debian
    • Squeeze
    • Wheezy
  • Ubuntu
    • Raring
    • Saucy
    • Trusty
  • RedHat
    • At least 6 onwards
  • Arch Linux
    • All
  • Solaris
    • At least 11.1

Requirements

RedHat based OS's must have the EPEL repo.

Role Information

This role gives you the ability to deploy plugins on a global and per-server basis. This can be done by putting plugins into files/plugins/global or by creating a folder in files/plugins/ that is the servers FQDN.

You can find out your servers FQDN by running the Ansible Setup module.

Role Variables

  • nagios_nrpe_server_bind_address: 127.0.0.1
  • nagios_nrpe_server_port: 5666
  • nagios_nrpe_server_allowed_hosts: 127.0.0.1
  • nagios_nrpe_command: see example playbook section

These are OS specific and likely wont want to be changed

Debian:

  • nagios_nrpe_server_pid: /var/run/nagios/nrpe.pid
  • nagios_nrpe_server_user: nagios
  • nagios_nrpe_server_group: nagios
  • nagios_nrpe_server_service: nagios-nrpe-server
  • nagios_nrpe_server_plugins_dir: /usr/lib/nagios/plugins
  • nagios_nrpe_server_dir: /etc/nagios

RedHat:

  • nagios_nrpe_server_pid: /var/run/nrpe/nrpe.pid
  • nagios_nrpe_server_user: nrpe
  • nagios_nrpe_server_group: nrpe
  • nagios_nrpe_server_repo_redhat: epel
  • nagios_nrpe_server_service: nrpe
  • nagios_nrpe_server_dir: /etc/nagios

Arhc Linux:

  • nagios_nrpe_server_pid: /var/run/nrpe/nrpe.pid
  • nagios_nrpe_server_user: 31
  • nagios_nrpe_server_group: 31
  • nagios_nrpe_server_service: nrpe
  • nagios_nrpe_server_plugins_dir: /usr/lib/monitoring-plugins
  • nagios_nrpe_server_dir: /etc/nrpe

Solaris:

  • nagios_nrpe_server_dir: /etc/opt/csw
  • nagios_nrpe_server_group: nagios
  • nagios_nrpe_server_pid: /var/run/nrpe.pid
  • nagios_nrpe_server_plugins_dir: /opt/csw/libexec/nagios-plugins
  • nagios_nrpe_server_service: svc:/network/cswnrpe:default
  • nagios_nrpe_server_user: nagios

Dependencies

N/A

Example Playbook

- hosts: servers
  roles:
     - mooash.nagios-nrpe-server
   vars:
     nagios_nrpe_server_allowed_hosts:
       - 192.168.0.1
       - 127.0.0.1
     nagios_nrpe_command:
       oracle_tnsping:
         script: check_oracle_health
         option: --mode tnsping
       oracle_connection-time:
         script: check_oracle_health
         option: --mode connection-time

License

MIT

Author Information

Checkout my blog here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].