码迷,mamicode.com
首页 > 移动开发 > 详细

nagios

时间:2016-07-09 23:34:52      阅读:225      评论:0      收藏:0      [点我收藏+]

标签:

 

nagios core

plugins

 

 

对象

主机(交换机,路由器,防火墙,服务器,虚拟机等),主机组

服务(主机上提供的服务如80,3306,1521,21等)/资源(cpu,内存使用情况,磁盘,网络负载状况),服务组

联系人

时段

命令(可以理解为模板->应用到不同的对象上实现其监控,因为每个对象的差异性如apache与nginx,windows与linux,虽然是同一种类型,但同一个监控插件应用至它们身上时,是不一样的。)

 

 

 

 

 

 

 

 

 

 


[root@104-c6 yum.repos.d]# yum install nagios
[root@104-c6 yum.repos.d]# rpm -ql nagios|more
[root@104-c6 yum.repos.d]# rpm -ql nagios-common|more
[root@104-c6 yum.repos.d]# rpm -ql nagios-plugins

如果安装这个,就什么都安装了
[root@104-c6 yum.repos.d]# yum install nagios-plugins-all


[root@104-c6 yum.repos.d]# yum install nagios-plugins-nrpe
[root@104-c6 yum.repos.d]# rpm -ql nagios-plugins-nrpe
/usr/lib64/nagios/plugins/check_nrpe
/usr/share/doc/nagios-plugins-nrpe-2.15
/usr/share/doc/nagios-plugins-nrpe-2.15/Changelog
/usr/share/doc/nagios-plugins-nrpe-2.15/LEGAL
/usr/share/doc/nagios-plugins-nrpe-2.15/README
[root@104-c6 yum.repos.d]# ll /usr/lib64/nagios/
cgi-bin/ plugins/
[root@104-c6 yum.repos.d]# ll /usr/lib64/nagios/plugins/
check_nrpe     eventhandlers/ negate         urlize         utils.sh       
[root@104-c6 yum.repos.d]# ll /usr/lib64/nagios/plugins/
total 120
-rwxr-xr-x 1 root root 22256 Sep 19  2015 check_nrpe        //nagios-plugins-nrpe包的文件
drwxr-xr-x 2 root root  4096 Aug 31  2013 eventhandlers        //nagios包的文件
-rwxr-xr-x 1 root root 44608 Sep 12  2015 negate
-rwxr-xr-x 1 root root 41632 Sep 12  2015 urlize
-rwxr-xr-x 1 root root  2791 Sep 12  2015 utils.sh
[root@104-c6 yum.repos.d]# ll /usr/lib64/nagios/cgi-bin/
total 3856
-rwxrwxr-x 1 root root 279664 Aug 31  2013 avail.cgi
-rwxrwxr-x 1 root root 276272 Aug 31  2013 cmd.cgi
-rwxrwxr-x 1 root root 247664 Aug 31  2013 config.cgi
-rwxrwxr-x 1 root root 291920 Aug 31  2013 extinfo.cgi
-rwxrwxr-x 1 root root 242992 Aug 31  2013 histogram.cgi
-rwxrwxr-x 1 root root 218256 Aug 31  2013 history.cgi
-rwxrwxr-x 1 root root 218200 Aug 31  2013 notifications.cgi
-rwxrwxr-x 1 root root 210608 Aug 31  2013 outages.cgi
-rwxrwxr-x 1 root root 214352 Aug 31  2013 showlog.cgi
-rwxrwxr-x 1 root root 291952 Aug 31  2013 status.cgi
-rwxrwxr-x 1 root root 238992 Aug 31  2013 statusmap.cgi
-rwxrwxr-x 1 root root 234608 Aug 31  2013 statuswml.cgi
-rwxrwxr-x 1 root root 218224 Aug 31  2013 statuswrl.cgi
-rwxrwxr-x 1 root root 242832 Aug 31  2013 summary.cgi
-rwxrwxr-x 1 root root 230544 Aug 31  2013 tac.cgi
-rwxrwxr-x 1 root root 247376 Aug 31  2013 trends.cgi

 

nagios

标签:

原文地址:http://www.cnblogs.com/createyuan/p/5656741.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!