整理月平均性能数据
整理月平均性能数据35::在centreon_storage库中创建关系表test1CREATE TABLE test1 AS SELECT index_data.host_name, index_data.service_description, metrics.metric_id, &n...
Nagios批量更换管理员
Nagios批量更换管理员select * from host where host_alias like "%name%"select host_name, host_alias from host where host_name LIKE "%172.2.129.61%";UPDATE hostSET host_alias = (REPLACE (host_alias,"name1","name2"))WHEREhost_name LIKE "%中心%";
Nagios 监控ESXI脚本
Nagios 监控ESXI脚本1. 监控脚本下载。https://exchange.nagios.org/directory/Plugins/Operating-Systems/%2A-Virtual-Environments/VMWare/Vmware-ESX-%26-VM-host/details2. 监控展示check_esx -H 10.8.3.115 -u xxx -p xxx -l cpu CHECK_ESX OK - cpu usage=1169.82 MHz (4.99%) | cpu_usagemhz=1169.82Mh...
部署平台基本操作
部署平台基本操作***************************************************1. 从0.67建立信任关系。2. 部署平台增加机器实例3. 数据库批量增加实例,集群call instance_add('IRS','IRS','DEV','1746',1);call instance_add('IRS','IRS','DEV','1747',2);call instance_add('IRS','IRS','INT','1748',1);call inst...
安装centreon+nagios时,rrd出图出现乱码
安装centreon+nagios时,rrd出图出现乱码1. 下载一个新的rrdtoolhttp://oss.oetiker.ch/rrdtool/pub/2. 安装这个源码版的rrdtoolrrdtool-1.4.7.tar.gz3. RRDTOOL工具不能识别中文。因为查看rrdtool编译的源码来看,默认的编码确实为空(“C”)。查看系统使用的编码:[root@nagiosdb rrdtool-1.4.7]# echo $...