Giter VIP home page Giter VIP logo

ansible-role-nrpe-client's Introduction

Ansible Role: NRPE Client

Build Status

This role installs the NRPE client on a monitoring server. You can use this role as an addon to the networklore/nagiosrole.

Requirements

None.

Role Variables

The variables you can configure are listed below. For the default settings you can look in defaults/main.yml.

download_dir: /home/user/download/nrpe

This is the directory where the downloaded files will be placed and extracted.

nrpeurl: http://sourceforge.net/projects/nagios/files/nrpe-2.x/nrpe-2.15/nrpe-2.15.tar.gz
nrpesrc: nrpe-2.15

The download url for NRPE along with the directory name which will be created when the source file is decompressed to. I.e. with tar -xzvf nrpe-2.15.tar.gz

plugins_dir: /usr/local/nagios/libexec

The location of where you want to place the check_nrpe file, usually where your other monitoring plugins are located.

Dependencies

This role doesn't have any strict dependencies but can be used with networklore/nagios.

Example Playbook

Install NRPE to your current monitoring plugin directory.

- hosts: monitoring-servers
  vars_files:
   - vars/main.yml    
  roles:
     - { role: networklore.nrpe-client }

Contents of vars/main.yml:

plugins_dir: /usr/lib64/nagios/plugins

License

BSD

Author Information

This role was created in 2016 by Patrick Ogenstad.

ansible-role-nrpe-client's People

Contributors

ogenstad avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.