Difference between revisions of "nagios notes"
From thelinuxwiki
(→guide) |
|||
Line 3: | Line 3: | ||
'''templates''' | '''templates''' | ||
+ | |||
minimal host template | minimal host template | ||
+ | |||
define host { | define host { | ||
− | + | name linux_server_template | |
− | + | use generic_host | |
− | + | register 0 | |
− | + | } | |
Line 16: | Line 18: | ||
use_authentication=0 | use_authentication=0 | ||
− | |||
== plugins == | == plugins == |
Revision as of 16:33, 29 September 2014
guide
host definitions
templates
minimal host template
define host { name linux_server_template use generic_host register 0 }
testing without auth
/etc/nagios/cgi.cfg use_authentication=0
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