Code Monkey home page Code Monkey logo

salted-nagios's Introduction

salted-nagios

This Salt State allows Salt to tell Nagios what to monitor based on Salt Grains and Mine data.

Configuration

State

Put the folders nrpe and nagios with your other Salt states. Salt states are usually in /srv/salt/.

Pillar

Create pillar files for nagios and nrpe using the PILLAR.EXAMPLE files in the states as a template. Pillar files are usually in /srv/pillar. Don't forget to add the pillar files to your pillar top file (/srv/pillar/top.sls) so they get applied on the right hosts.

These pillar files contain the configuration settings for nagios and nrpe. Any configuration changes you need to make to Nagios or NRPE should be made in these files.

Mine

Add the following mine functions on your Salt Minions:

    mine_functions:
      grains.items: []
      pkg.list_pkgs: []

These functions allow Nagios to view information about other minions so that it can make decisions about what to monitor on each host.

salted-nagios's People

Contributors

simonbp avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

yyztc

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.