Nagios Command Line Interface
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
include
nagios_cli
src
.gitignore
LICENSE.md
README.md
TODO.md
icinga.cfg.example
nagios-cli
nagios.cfg.example
setup.py

README.md

nagios-cli

About

nagios-cli is a Nagios command line interface, exposing some features that are available via the web based graphical user interface.

Requirements

Required:

  • Nagios 2.x or 3.x
  • Python 2.4+

Optional:

  • libreadline

Usage

The default configuration will look for the status_file file in the /var/log/nagios/status.dat file, and it expects the command_file to be available at /var/log/nagios/rw/nagios.cmd. If you wish to override this, you can generate a configuration file with:

nagios-cli -c nagios-cli.cfg --write

To specify a location to an alternative configuration file, use:

nagios-cli -c <filename>

To see all available options, use:

nagios-cli --help