安装Nagvis
安装Nagvis# tar zxvf nagvis-1.8.4.tar.gz# cd nagvis-1.8.4# sh install.sh+——————————————————————————+| Welcome to NagVis Installer 0.2.16 &...
安装Nagios4.0.8 && Centreon2.6.0
安装Nagios4.0.8 && Centreon2.6.0操作系统CentOS6.4 64一. 安装CentOS6.4操作系统,最小化安装注意事项:注意配置网关,不然网络连接会有问题[root@nagios etc]# cat /etc/sysconfig/networkNETWORKING=yesHOSTNAME=nagiosGATEWAY=192.168.9.1同步时间:yum install crontab*yum install ntp*关闭...
The scripts outputs "Can't locate Net/SNMP.pm in @INC.....
The scripts outputs "Can't locate Net/SNMP.pm in @INC.....该报错说明没有安装NETSNMP详细分析:http://nagios.manubulon.com/faq.html处理办法:下载:5个组件下载地址: https://metacpan.org/pod/Net::SNMP 可以直接搜索- Crypt::DES- Digest::MD5- Digest::SHA1- Digest::HM...
Nagios4.0.8 bug修复
Nagios4.0.8 bug修复报错信息:[1383116400] Worker 1277: Unknown jobtype: 10[1383116400] wproc: Unknown job type: 10[1383116400] Worker 1279: Unknown jobtype: 10[1383116400] wproc: Unknown job type: 10[1383116400] Worker 1278: Unknown jobtype: 10[1383116400] wproc: Unknown job type: 10n...
?Error: Can't locate /etc/centreon/conf.pm in @INC (@IN
Error: Can't locate /etc/centreon/conf.pm in @INC (@INError: Can't locate /etc/centreon/conf.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/perl5/vendor_perl/cen...
Error: Could not load module '/usr/local/nagios/bin/ndo2
Error: Could not load module '/usr/local/nagios/bin/ndo2修改nagios.cfg文件:broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg重启:service nagios stopservice ndo2db restartservice nagios start
Could not bind socket: Address already in use_ndoutils1.5.2
Could not bind socket: Address already in use_ndoutils1.5.2尝试使用ndoutils,将nagios数据写入mysql时,出现了下面的现象,搞了半天实在没头绪了,求帮助!! [root@localhost ndoutils-1.5.2]# rm -rf /usr/local/nagios/var/ndo2db.lock [root@localhost ndoutils-1.5.2]# /usr/local/nagios/bin...
安装zabbix使出错
安装zabbix使出错1、checking for mysql_config... /usr/bin/mysql_configchecking for main in -lmysqlclient ... noconfigure: error: Not found mysqlclient library解决:确认安装了mysql mysql-devel mysql-server 包查找系统内有没有 libmysqlclient.so 有的yum安装的mysql没有这个文件,需要自行链接...
Check_nrpe插件之check_uptime.sh检测系统启动时间
Check_nrpe插件之check_uptime.sh检测系统启动时间check_uptime.sh点击(此处)折叠或打开!/bin/bash# ========================================================================================# goldengate health plugin for Nagios#...
Check_icmp check_host_alive报错解决方法
Check_icmp check_host_alive报错解决方法在做nagios + nagios分布式时遇到的一个问题,修改了/usr/local/nagios/libexec目录下的文件属性,导致在检测主机是否alive时出错,提示必须要以root用户或用户权限为root的用户,或sudo的方式执行check_icmp插件。 具体报错内容如下:Warning: This plugin must ...
AIX VI编辑器
AIX VI编辑器 vi的三种工作状态:命令模式:是vi的初始方式也是一般方式。用于执行命令,但不能输入文本内容。大部分的命令都是在此模式下执行的插入模式:用于文本内容的输入末行命令模式:用于执行存盘命令、退出命令、vi设置命令等三种工作状态的转换:从命令模式可以进入其它两种模式。插入模式和末行命...
Nagios监控之CheckEventLog
Nagios监控之CheckEventLogCheckEventLogCheckEventLog is part of the wiki:CheckEventLog module. This page describes the new syntax, for the oldsyntax refer to the old page: CheckEventLogOld The new syntax is a bit sketchy in the docs as of yet... I shalltry to fix some better examples.. but the ...
Linux-使用snmp监控邮件队列
Linux-使用snmp监控邮件队列使用snmp监控邮件队列脚本/lulyMonitorMailq.sh内容:#!/bin/bash # check postfix mail for snmpdmailq=$(mailq | grep 'Request')if [ $? -eq 1 ]; then echo '0' exit 0f...
一行命令搞定/usr/bin/perl^M: bad interpreter
一行命令搞定/usr/bin/perl^M: bad interpreter在*nix系统下使用Perl脚本有时会遇到如下错误:/usr/bin/perl^M: bad interpreter: No such file or directory最常见的原因是因为该脚本在windows系统下进行了编辑。windows系统下的换行符是\r\n,而unix下面是只有\n的。如果要解决这个问题,只要去掉\r即可。第一种...
Linux下SNMP的安装配置
Linux下SNMP的安装配置以redhat的安装配置为例: 编译和安装 首先我们需要下载Net-SNMP的源代码,选择一个版本,比如最新版5.7.1,地址如下 http://sourceforge.net/projects/net-snmp/files/net-snmp/5.7.1/ 接下来对下载的源代码包进行解压缩,如下: tar xzvf net-snmp-5.7.1.tar...
Windows下bat脚本判断端口是否可用
Windows下bat脚本判断端口是否可用思路过程:因为telnet通的话,会直接跳转窗口,无回显,所以导致判断比较不方便。处理办法。如果端口可用,则会出来telnet进程,若端口不可用,则不会出现telnet进程。根据进程是否存在来判断端口是否可用!!@echo offstart telnet.exe 192.168.9.62 22ping -n 5 127.1>nultas...
check_nt的使用方法
check_nt的使用方法这是NsClient++默认的使用方法,但是他可以监控的功能比较基础,应该说是一种用于上手的监控手段吧。语法: check_nt -H host -v variable [-p port] [-w warning] [-c critical] [-l params] [-d SHOWALL] [-u] [-t timeout] 选项: -h, --help 显示帮助-V, --version 显示版本信息-H, --hostname...
RUEI for rhel6.4 64bit oracle11g 安装手册
RUEI for rhel6.4 64bit oracle11g 安装手册 Real User Experience Insight (RUEI)系统:rhel 6.4 64 bit下载地址:数据库:oracle 11g r2下载地址:数据库类型,选择data warehouse 字符集选择 AL32UTF8 软件:rueip20545175_121070_Linux-x86-64.zip下载地址:百度网盘地址:...
RPM 包安装报错
RPM 包安装报错[root@szruei tmp]# rpm -ivh php-mbstring-5.3.3-22.el6.x86_64.rpmwarning: php-mbstring-5.3.3-22.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 1d1e034b: NOKEYPreparing... ###############...
Oracle查询重复数据与删除重复记录
Oracle查询重复数据与删除重复记录比如现在有一人员表 (表名:peosons)若想将姓名、身份证号、住址这三个字段完全相同的记录查询出来 select p1.* from persons p1,persons p2 where p1.id<>p2.id and p1.cardid = p2.cardid and p1.pname = p2.pname and p1.address = p2.address 可以实现...