CentOS6.6 Install Nagios
2015-08-04 14:15
615 查看
Install Nagios which is an enterprise open source monitioring system.
Before Install Nagios , You should had installed Httpd and PHP .About this you can my other blogs:
http://ultraera.blog.51cto.com/6640392/1681519
0.Test system
1.Install Nagios.(Also Install basic plugins to monitor nagios server itself.)
test Page.
4. After successing authentication, the nagios admin site id displayed .
test Page .
5. It's possible to view system status to click "Tactical Overiew" and so on .
test Page .
Before Install Nagios , You should had installed Httpd and PHP .About this you can my other blogs:
http://ultraera.blog.51cto.com/6640392/1681519
0.Test system
[Alex@Test01 ~]$ uname -a Linux Test01 2.6.32-504.el6.x86_64 #1 SMP Wed Oct 15 04:27:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux [Alex@Test01 ~]$ ip addr | grep eth0 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 inet 10.0.2.128/24 brd 10.0.2.255 scope global eth0
1.Install Nagios.(Also Install basic plugins to monitor nagios server itself.)
[Alex@Test01 ~]$ sudo yum --enablerepo=epel -y install nagios nagios-plugins-{ping,disk,users,procs,load,swap,ssh,http} [Alex@Test01 ~]$ rpm -qa | grep nagios nagios-plugins-1.4.16-10.el6.x86_64 nagios-3.5.1-1.el6.x86_64 nagios-plugins-load-1.4.16-10.el6.x86_64 nagios-plugins-ssh-1.4.16-10.el6.x86_64 nagios-plugins-users-1.4.16-10.el6.x86_64 nagios-plugins-http-1.4.16-10.el6.x86_64 nagios-common-3.5.1-1.el6.x86_64 nagios-plugins-ping-1.4.16-10.el6.x86_64 nagios-plugins-swap-1.4.16-10.el6.x86_64 nagios-plugins-procs-1.4.16-10.el6.x86_64 nagios-plugins-disk-1.4.16-10.el6.x86_642.Configure Nagios.
# line 15-19 and 32-36 , change settings to access permissionlike follows # Order allow,deny # Allow from all Order deny,allow Deny from all Allow from 127.0.0.110.0.2.0/24 # add nagios admin user [Alex@Test01 ~]$ sudo htpasswd /etc/nagios/passwd nagiosroot New password: #set your password Re-type new password: Adding password for user nagiosroot [Alex@Test01 ~]$ sudo chkconfig nagios on3. Access to the "http://(Nagios server's doamin or ip address)/nagios/" from a client which in the network allowed by nagios server adn authenticate with teh nagios admin user "nagiosroot" to login.
test Page.
4. After successing authentication, the nagios admin site id displayed .
test Page .
5. It's possible to view system status to click "Tactical Overiew" and so on .
test Page .
相关文章推荐
- 网络监控器Nagios全攻略
- 基于Nagios网络监控平台的实现--具体事例
- Nagios 笔记 Nagios服务端+客户端 + 短信报警 + 性能显示的图形插件
- FreeBSD下解决Nagios不发报警邮件的问题
- 收到新书两本
- nagios 分发文件实现代码
- Shell脚本编写Nagios插件监控程序资源占用
- Nagios监控Windows Server 2008配置方法
- Shell脚本实现批量生成nagios配置文件
- 基于Linux下Nagios的安装与配置说明介绍[图]
- shell脚本监控linux系统内存使用情况的方法(不使用nagios监控linux)
- Nagios远程监控安装与配置详解图文第1/3页
- 利用Nagios调用Python程序控制微信公众平台发布报警信息
- 运维网集成制作发布的Cacti+Nagios(中英文版全自动安装)
- nagios的安装,下载.
- Nagios安装与配置
- Nagios常见问题
- nagios常见错误排查