Redhat配置nagios-安装nagios

系统 Linux
Redhat配置nagios:Nagios是监控系统,Nagios能监控所指定的本地或远程主机以及服务,同时提供异常通知功能等。这篇文章讲述的是Redhat配置nagios

  安装nagios组件

        本文讲述的是:Redhat配置nagios返回大纲。

  安装nagios

  1.   [root@localhost src]# tar zxvf nagios-3.2.1.tar.gz  
  2.  
  3.   [root@localhost src]# cd nagios-3.2.1  
  4.  
  5.   [root@localhost nagios-3.2.1]#./configure --with-command-group=nagcmd --prefix=/usr/local/nagios  
  6.  
  7.   [root@localhost nagios-3.2.1]# make all  
  8.  
  9.   [root@localhost nagios-3.2.1]# make install  
  10.  
  11.   [root@localhost nagios-3.2.1]# make install-init  
  12.  
  13.   /usr/bin/install -c -m 755 -d -o root -g root /etc/rc.d/init.d  
  14.  
  15.   /usr/bin/install -c -m 755 -o root -g root daemon-init /etc/rc.d/init.d/nagios  
  16.  
  17.   [root@localhost nagios-3.2.1]# make install-config  
  18.  
  19.   ……  
  20.  
  21.   *** Config files installed ***  
  22.  
  23.   Remember, these are *SAMPLE* config files. You'll need to read  
  24.  
  25.   the documentation for more information on how to actually define  
  26.  
  27.   services, hosts, etc. to fit your particular needs.  
  28.  
  29.   [root@localhost nagios-3.2.1]# make install-commandmode  
  30.  
  31.   /usr/bin/install -c -m 775 -o nagios -g nagcmd -d /usr/local/nagios/var/rw  
  32.  
  33.   chmod g+s /usr/local/nagios/var/rw  
  34.  
  35.   *** External command directory configured ***  
  36.  

  验证安装在/usr/local/nagios,是否生成目录bin etc sbin share var.

  1.   [root@localhost ~]# cd /usr/local/nagios  
  2.  
  3.   [root@localhost nagios]# ls  
  4.  
  5.   bin etc sbin share var  
  6.  

 【编辑推荐】

Nagios使用飞信Robot发送报警短信

配置nagios客户端

Nagios的安装配置记录

责任编辑:zhaolei 来源: csdn
相关推荐

2011-03-31 16:05:18

Redhat配置nagios

2011-03-31 16:09:21

Redhat配置nagios

2011-03-31 15:31:05

Redhat配置nagios

2011-03-31 16:11:23

Redhat配置nagios

2011-03-31 16:45:39

Redhat配置nagios

2011-03-31 15:31:06

Redhat配置nagios

2011-03-31 16:10:47

Redhat配置nagios

2011-03-31 16:11:22

Redhat配置nagios

2011-03-23 13:32:14

配置Nagios系统

2011-03-31 16:10:48

Redhat配置nagios

2011-03-28 09:21:08

RedhatNagios

2011-03-31 15:31:06

Redhat配置nagios

2011-03-23 13:44:31

配置NDOUtils系统

2011-03-31 16:05:15

Redhat配置nagios

2011-08-22 12:25:02

nagios

2010-05-31 12:22:13

Nagios pnp

2011-03-22 13:37:29

Nagios安装

2011-03-21 15:35:01

Nagiosnagios-plug安装

2010-05-31 11:10:37

Nagios pnp

2011-03-21 09:17:06

Nagios
点赞
收藏

51CTO技术栈公众号