标签:check_hpasm
nagios借助check_hpasm插件监控惠普服务器硬件信息:
http://labs.consol.de/wp-content/uploads/2011/10/check_hpasm-4.3.tar.gz
被监控端:
$ sudo tar zxfv check_hpasm-4.3.tar.gz
$ cd check_hpasm
$ ./configure --enable-hpacucli --enable-perfdata --enable-extendedinfo
$ sudo make
$ sudo make install
$ sudo vi /etc/nagios/nrpe.cfg
command[check_hpasm]=/usr/local/nagios/libexec/check_hpasm --perfdata short
:wq
$ sudo service nagios-nrpe-server restart
监控端:
$ sudo vi /usr/local/nagios/etc/objects/ming.cfg
define service{
use local-service
host_name ming
service_description hpasm
check_command check_nrpe!check_hpasm
}
:wq
$ sudo service nagios restart
本文出自 “linux” 博客,谢绝转载!
nagios借助check_hpasm插件监控惠普服务器硬件信息(未成),布布扣,bubuko.com
nagios借助check_hpasm插件监控惠普服务器硬件信息(未成)
标签:check_hpasm
原文地址:http://yangzhiming.blog.51cto.com/4849999/1537556