nagios notes

From thelinuxwiki
Revision as of 18:40, 12 June 2015 by Nighthawk (Talk | contribs)

Jump to: navigation, search

Contents

guide

host definitions

templates

minimal host template

define host {
		name		linux_server_template
		use		generic_host
		register	0
}

use : the template that this definition inherits from

register: 0 = don't treat it as a real host definition (it's a template)


testing without auth

/etc/nagios/cgi.cfg

use_authentication=0

config reload

# ?????

plugins

/usr/lib/nagios/plugins



* Messages for package net-analyzer/nrpe-2.14:
* If you plan to use "nrpe_check_control" then you may want to specify
* different command and services files. You can override the defaults
* through the "NAGIOS_COMMAND_FILE" and "NAGIOS_SERVICES_FILE" environment variables.
* NAGIOS_COMMAND_FILE=/var/rw/nagios.cmd
* NAGIOS_SERVICES_FILE=/etc/services.cfg
* If you are using the nrpe daemon, remember to edit
* the config file /etc/nagios/nrpe.cfg


* This ebuild has a number of USE flags which determines what nagios is able to monitor.
* Depending on what you want to monitor with nagios, some or all of these USE
* flags need to be set for nagios to function correctly.
* contrib plugins are installed into /usr/lib/nagios/plugins/contrib
* Messages for package net-analyzer/nrpe-2.14:
* If you plan to use "nrpe_check_control" then you may want to specify
* different command and services files. You can override the defaults
* through the "NAGIOS_COMMAND_FILE" and "NAGIOS_SERVICES_FILE" environment variables.
* NAGIOS_COMMAND_FILE=/var/rw/nagios.cmd
* NAGIOS_SERVICES_FILE=/etc/services.cfg
* If you are using the nrpe daemon, remember to edit
* the config file /etc/nagios/nrpe.cfg