微波EDA网,见证研发工程师的成长!
首页 > 硬件设计 > 嵌入式设计 > nagios系统搭建笔记

nagios系统搭建笔记

时间:10-10 来源:互联网 点击:

## jiaxiao quan server

define hostgroup{

hostgroup_name jiaxiao-server

alias jiaxiao quan server

members 192.168.100.1,192.168.100.2

}

(3)cat vianetservice.cfg

#############Nagios NRPE################

define service {

use passive-service

hostgroup_name jiaxiao-server

service_description Load

}

define service {

use passive-service

hostgroup_name jiaxiao-server

service_description Disk_Free

}

define service {

use passive-service

hostgroup_name jiaxiao-server

service_description CPU

}

(4)启动nagios

/usr/bin/nagios -v /etc/nagios/nagios.cfg 正常

/etc/init.d/nagios restart 正常

浏览器打开http://120.132.xx.xx:10000/nagios/查看, 正常

over!!

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top