服务器监控
文章平均质量分 78
free操盘手
这个作者很懒,什么都没留下…
展开
-
监控内存瓶颈
check_mem_sio脚本内容如下:#!/bin/sh## Version 0.0.1 - Jan/2017# Changes: added device verification## by curious vmstat=`which vmstat 2>/dev/null`bc=`which bc 2>/dev/null`function help原创 2017-10-07 12:43:32 · 316 阅读 · 0 评论 -
监控IO瓶颈
chech_io_bio脚本内容如下:#!/bin/sh## Version 0.0.1 - Jan/2017# Changes: added device verification## by curious vmstat=`which vmstat 2>/dev/null`bc=`which bc 2>/dev/null`function help {原创 2017-10-07 12:45:19 · 390 阅读 · 0 评论 -
nagios io监控脚本
check_iostat内容如下:#!/bin/sh## Version 0.0.1 20160908## by curious iostat=`which iostat 2>/dev/null`bc=`which bc 2>/dev/null`function help {echo -e "\n\tThis plugin shows the I/O原创 2017-10-07 13:11:37 · 457 阅读 · 0 评论 -
nagios 监控的服务没有图像解决
进入nagios安装目录下share文件夹cd /nagios/share/perfdatacd 360xh01 //进入监控主机文件夹ll然后删除没有图像的服务如这里traffic_eth0服务没图像rm traffic_eth0* -rf让服务自动重新生成traffic_eth0.rrd traffic_eth0.xml文件图像就正常了原创 2017-10-07 13:12:53 · 271 阅读 · 0 评论 -
nrpe安装
wget http://nagios-plugins.org/download/nagios-plugins-2.1.1.tar.gz#_ga=1.169254566.64720271.1463550979 wget http://nbtelecom.dl.sourceforge.net/project/nagios/nrpe-2.x/nrpe-2.12/nrpe-2.12.tar.gz原创 2017-10-07 13:25:07 · 360 阅读 · 0 评论 -
nagios安装
1、安装前准备yum install libgd libgb-devel libpng libpng-devel libjpeg libjpeg-devel zlib zlib-devel gd gd-devel创建用户和用户组useradd -s /sbin/nologin nagiosmkdir /home/apps/nagioschown -R nagios.nagi原创 2017-10-12 16:13:16 · 421 阅读 · 1 评论