安装apt-get install nagios-nrpe-server nagios-plugins 修改nrpe.cfgvi /etc/nagios/nrpe.cfg修改Allow Host,添加监控机的IPservice nagios-nrpe-server restart修改servicesvi /etc/services 安装流量监控下载插件check_traffic插件apt-get install snmpd snmp-mibs-downloader若提示无法安装修改sources…
by Pradeep Kumar · Published November 19, 2017 · Updated November 19, 2017 DNS or Domain Name System, as we know is an internet service that is used to translate the user friendly domain into computer friendly IP addresses. Not only can we translate…
First we will install OpenLDAP by running the command as root: apt-get install slapd ldap-utils ldapscripts The first command installs the OpenLDAP server (slapd is acronym for Stand-alone LDAP Daemon), and we also install ldap-utils (Some tools for…
Ubuntu Quickstart Up To: ContentsSee Also: Quickstart Installation Guides, Security Considerations Introduction This guide is intended to provide you with simple instructions on how to install Nagios from source (code) on Ubuntu and have it monitorin…
安装配置Apache.PHP(忽略此次安装步骤) 安装nagiosrpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpmrpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpmyum -y install nagios nagios-plugins-all nagios-plugins-nrpe nrpe p…
环境介绍>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>服务端(监控端):192.168.100.2     --nagios服务+check_nrpe客户端(被监控端):192.168.100.3    --nrpe守护进程+检测插件 Nagios通过NRPE来远端管理服务的过程1. Nag…
nrpe被监控端运行定义命令正常,监控端运行 #/usr/local/nagios/libexec/check_nrpe -H 117.121.9.200 -c check_oracle_tablespace 错误提示: NRPE: Unable to read output 监控端运行:#/usr/local/nagios/libexec/check_nrpe -H 117.121.9.200 可以返回nrpe版本信息,说明nrpe通信正常. 被监控端 check_oracle_tablesp…
原文:http://www.dev-metal.com/how-to-setup-latest-version-of-php-5-5-on-ubuntu-12-04-lts/ 最近遇到了要在ubuntu 12.04 上升级php版本的问题,下面是升级php到最新的版本的方法: Please note: This works fine. But this package will also upgrade your apache to version 2.4 which has different…
问题处理了两个小时,MMD,各种问题: 先是出现了check_load的时候说参数错误. 然后我就希望 在nagios客户端获取到命令日志 在这篇:NREP将日志放入message中 的引导下终于解决了 大致意思就是打开了debug模式,会将日志存放到deamon.debug中, 然后只要在syslog.conf中将deamon.debug显示就行了. 看到客户端里面的日志有: Running command: /usr/local/nagios/libexec/check_load -w -c…
监控第三方端口(22000) #!/bin/bash#author:xiaoweige#check 140 22000 result=`sleep 1|telnet 10.2.1.140 22000|grep -i escape`recode=`echo $?`if [[ $recode -eq 0 ]];then echo "ssh service is ok!" exit 0else echo "ssh service is not ok" exit 2fi n…