GithubHelp home page GithubHelp logo

isabella232 / check_passive Goto Github PK

View Code? Open in Web Editor NEW

This project forked from proofpoint/check_passive

0.0 0.0 0.0 120 KB

Automatically enable passive reporting and active re-checks for Nagios NRPE

License: Apache License 2.0

Perl 100.00%

check_passive's Introduction

NAME

check_passive - Perform passive nagios checks based on NRPE configuration

SYNOPSIS

check_passive [options] service [service [...]]
   --check service=check_name  Specify service is checked with check_name
   --nrpe  config=file         Specify NRPE config (/etc/nagios/nrpe.cfg)
   --nsca  config=file         Specify send_nsca config (/etc/send_nsca.cfg)
           host=name|ip        Specify host/address (nagios)
           command=exe         Specify send_nsca command (send_nsca)
           port=#              Specify port number (5667)
           timeout=#           Specify send_nsca timeout
   Other options as described in Optconfig

DESCRIPTION

The check_passive command checks all the services on the local machine named on the command line, checking them with the Nagios plugin named in one of the --check options (or as specified in the configuration file).

The check command can either refer to an NRPE-configured check command appearing in the NRPE config file (/etc/nagios/nrpe.cfg by default), or it can itself be a Nagios plugin command-line. However the check command is arrived at, it's expected to comply with the Nagios plugin guidelines with regard to output and exit codes.

Once all checks are run, it sends the results in a single session using the Nagios::NSCA module.

Determination of Hostname

The check_passive command does not try to determine the hostname, but the Nagios::NSCA command does fill in a default similar to a Facter-determined FQDN.

FILES

  • /opt/pptools/etc/check_passive.conf

  • ~/.check_passive

  • /etc/send_nsca.cfg

  • /etc/nagios/nrpe.cfg

AUTHOR

Jeremy Brinkley, <[email protected]>

check_passive's People

Contributors

isaacfinnegan avatar jbrinkley 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.