Nagios验证配置文件

运维 系统运维
哪些做运维的和做网站的,一定都会用到一个系统:Nagios 他是用来监控网络信息和系统运行情况的。那在配置Nagios时,有一步是非常重要的是:Nagios验证配置文件

Nagios验证配置文件具体内容如下:

  [root@vi bin]# pwd

  /usr/local/nagios/bin

  [root@vi bin]# ./nagios -v /usr/local/nagios/etc/nagios.cfg

  Nagios Core 3.2.1

  Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors

  Copyright (c) 1999-2009 Ethan Galstad

  Last Modified: 03-09-2010

  License: GPL

  Website: http://www.nagios.org

  Reading configuration data…

  Read main config file okay…

  Processing object config file ‘/usr/local/nagios/etc/objects/commands.cfg’…

  Processing object config file ‘/usr/local/nagios/etc/objects/contacts.cfg’…

  Processing object config file ‘/usr/local/nagios/etc/objects/timeperiods.cfg’…

  Processing object config file ‘/usr/local/nagios/etc/objects/templates.cfg’…

  Processing object config file ‘/usr/local/nagios/etc/objects/localhost.cfg’…

  Read object config files okay…

  Running pre-flight check on configuration data…

  Checking services…

  Checked 8 services.

  Checking hosts…

  Checked 1 hosts.

  Checking host groups…

  Checked 1 host groups.

  Checking service groups…

  Checked 0 service groups.

  Checking contacts…

  Checked 1 contacts.

  Checking contact groups…

  Checked 1 contact groups.

  Checking service escalations…

  Checked 0 service escalations.

  Checking service dependencies…

  Checked 0 service dependencies.

  Checking host escalations…

  Checked 0 host escalations.

  Checking host dependencies…

  Checked 0 host dependencies.

  Checking commands…

  Checked 24 commands.

  Checking time periods…

  Checked 5 time periods.

  Checking for circular paths between hosts…

  Checking for circular host and service dependencies…

  Checking global event handlers…

  Checking obsessive compulsive processor commands…

  Checking misc settings…

  Total Warnings: 0

  Total Errors: 0

  Things look okay – No serious problems were detected during the pre-flight check

  [root@vi bin]#

通过文章的介绍,我们清楚的知道了:Nagios验证配置文件所要做的内容,希望本文对你们有帮助!

【编辑推荐】

  1. nagios作用
  2. nagios 布署配置笔记
  3. Nagios安装完后map不显示
  4. freebsd 上的nagios配置
  5. nagios分布式配置
  6. RHEL安装nagios
  7. Nagios :扩展提示信息发送方式(smtp, msn, fetion)
责任编辑:赵鹏 来源: 网络转载
相关推荐

2011-04-01 16:30:49

Nagios

2011-03-28 09:07:26

Nagios配置文件

2011-03-25 17:13:37

Nagios配置文件

2010-05-31 11:10:37

Nagios pnp

2011-03-23 15:13:08

Nagios配置文件

2011-03-22 13:37:29

Nagios安装

2011-03-23 13:29:46

配置Nagios系统

2010-03-25 17:46:27

nginx配置文件

2021-03-12 08:00:00

Kubernetes工具

2011-01-19 14:00:21

2011-01-13 16:27:26

Linux配置文件

2010-12-28 16:35:32

Outlook 配置文

2010-12-27 14:59:31

Outlook 配置文

2009-07-09 15:55:18

WebWork配置文件

2011-03-03 09:14:38

PureFTPd

2010-05-05 16:14:09

Unix管理

2010-08-05 14:36:07

NFS服务

2011-01-21 15:08:45

Sendmail

2009-09-22 10:23:15

Hibernate配置

2009-06-17 14:10:30

Spring配置文件
点赞
收藏

51CTO技术栈公众号