Nagios configuration file

Source: Internet
Author: User

1. Overview 2. Configuration file 3. Nagios.cfg detailed

Nagios.cfg is the main configuration file of Nagios monitoring system and is the implementation of Nagios basic functions.
The configuration and parameters in the table below are parameters for the deployment of Nagios (version 4.4.1) in this series of blogs and are for informational purposes only.
log_file:/usr/local/globle/softs/monitor/nagios/4.4.1/var/nagios.log

The total log file for the Nagios runtime. Must be the first option in the configuration file. Enabled by default.

cfg_fie:/usr/local/globle/softs/monitor/nagios/4.4.1/etc/objects/commands.cfg

The command template configuration file. Enabled by default

Parameter name Parameter values Parameter meaning Default value
Log_file /usr/local/globle/softs/monitor/nagios/4.4.1/var/nagios.log The total log file for the Nagios runtime. Must be the first option of the configuration file Enabled by default
Cfg_file /usr/local/globle/softs/monitor/nagios/4.4.1/etc/objects/commands.cfg The command template configuration file. Enabled by default
Cfg_file /usr/local/globle/softs/monitor/nagios/4.4.1/etc/objects/contacts.cfg Contact Template configuration file Enabled by default
Cfg_file
/usr/local/globle/softs/monitor/nagios/4.4.1/etc/objects/timeperiods.cfg Time Template configuration file Enabled by default
Cfg_file /usr/local/globle/softs/monitor/nagios/4.4.1/etc/objects/templates.cfg Template configuration file Enabled by default
Cfg_file /usr/local/globle/softs/monitor/nagios/4.4.1/etc/objects/localhost.cfg Native (monitoring host) configuration file Enabled by default
Cfg_file /usr/local/globle/softs/monitor/nagios/4.4.1/etc/objects/windows.cfg Window Host configuration file Default off
Cfg_file /usr/local/globle/softs/monitor/nagios/4.4.1/etc/objects/switch.cfg Switch configuration file Default off
Cfg_file /usr/local/globle/softs/monitor/nagios/4.4.1/etc/objects/printer.cfg Printer configuration file Default off
Cfg_dir /usr/local/globle/softs/monitor/nagios/4.4.1/etc/servers The configuration file directory. The xxx.cfg in this directory will take effect. Easy Configuration Management Default off
Object_cache_file /usr/local/globle/softs/monitor/nagios/4.4.1/var/objects.cache Object cache file. When Nagios is started or restarted, it is used by CGI to avoid conflicts caused by Nagios object configuration file modifications when CGI reads object configuration from the configuration file. Enabled by default
Precached_object_file /usr/local/globle/softs/monitor/nagios/4.4.1/var/objects.precache













Precached_object_file

object to apply the file.

Nagios configuration file

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.