在nagios服务器上添加监控的主机及服务:Nagios配置文件:[root@aetc]#cdobjects/[root@aobjects]#lscommands.cfg(定义监控命令)localhost.cfg(定义监控什么)switch.cfg(定义交换机)timeperiods.cfg(模板文件)contacts.cfg(定义联系人的)printer.cfg(定义打印机模板..
                            
                            
                                分类:
移动开发   时间:
2015-02-11 02:00:40   
                                阅读次数:
138
                             
                    
                        
                            
                            
                                问题:vSphere HA配置出现未知错误,导致打不开主机上的虚拟机电源,vmware client连接vcenter后,主机显示警报信息,例如以下:解决:例如以下图,选中有问题的物理主机,然后又一次配置HA就可以:
                            
                            
                                分类:
其他好文   时间:
2015-02-10 12:49:07   
                                阅读次数:
230
                             
                    
                        
                            
                            
                                How to monitor server memory usage with Nagios Remote Plugin Executor (NRPE)Last updated on September 8, 2014 Authored by Sarmed Rahman 5 Comments In ...
                            
                            
                                分类:
移动开发   时间:
2015-02-09 17:33:00   
                                阅读次数:
240
                             
                    
                        
                            
                            
                                今天在WindowsServer2003上用vSphere5.5连接ESXI5.5出现了如下错误:vSphereCLient无法连接“192.168.1.1”。出现未知连接错误。(客户端无法向服务器发送完整的请求。(Theunderlyingconnectionwasclosed:Anunexpectederrroroccurredonasend))经查询,出现此错误的原因是,某些S..
                            
                            
                         
                    
                        
                            
                            
                                nagios对网络的监控,当达到某个设定的值,那么就报警借助于网上提供的资源,做下面的操作https://github.com/cloved/check_traffic/releases下载最新版本的shell脚本下载check_traffic.shV1.4.0,在附件已经上传#被监控端/客户端cd/usr/local/nagios/libexec/#下载此脚本
chmo..
                            
                            
                                分类:
移动开发   时间:
2015-02-07 19:05:20   
                                阅读次数:
274
                             
                    
                        
                            
                            
                                监控server端的安装部署一、apache的安装下载httpd-2.2.15.tar.gz gunzip httpd-2.2.15.tar.gztar xvf httpd-2.2.15.tarcd httpd-2.2.15./configure --prefix=/usr/local/apache...
                            
                            
                                分类:
移动开发   时间:
2015-02-06 20:21:05   
                                阅读次数:
190
                             
                    
                        
                            
                            
                                ESXI5InstallationDownloadthep_w_picpathfilestoburnCD.https://my.vmware.com/web/vmware/info/slug/datacenter_cloud_infrastructure/vmware_vsphere/5_5Bootfromcd-rom,startinstall.loading...loadingsuccessfully.Enter(continue)F11(Acceptandcontinue)Whereisinstallto..
                            
                            
                                分类:
其他好文   时间:
2015-02-06 19:06:45   
                                阅读次数:
153
                             
                    
                        
                            
                            
                                AWS的安全性很强,其EC2默认屏蔽其他机器的ping包,这里我使用nagios对EC2进行监控,必须将其端口打开。首先找到该EC2所属的组,AWS是通过安全组的概念对EC2进行管理的。找到所属组后,对端口进行定义。这样就设置好了。
                            
                            
                                分类:
其他好文   时间:
2015-02-06 17:02:23   
                                阅读次数:
154
                             
                    
                        
                            
                            
                                VsphereClientInputtheVMserveripaddress,username,passwordtologin.Home---InventoryRightClicktheserverip,choosetheoptionNewVirtualMachineConfiguration:NextThevirtualmachinenameandlocationStorageDatabaseSelectOperationSystemCreatenetworkconnectorsCreateadiskFin..
                            
                            
                                分类:
其他好文   时间:
2015-02-06 16:58:14   
                                阅读次数:
204
                             
                    
                        
                            
                            
                                在AWS的EC2上编译nagios-plugins报错:./stdio.h:456:1:error:‘gets’undeclaredhere(notinafunction)make[4]:***[localcharset.o]Error1make[4]:Leavingdirectory`/root/nagios-plugins-1.4.16/gl‘make[3]:***[all-recursive]Error1make[3]:Leavingdirectory`/root/nagios-pl..
                            
                            
                                分类:
移动开发   时间:
2015-02-06 16:56:21   
                                阅读次数:
171