需求:使用nagios服务需要对一台思科交换机的24端口进行流量监控,当流量低于2MB/s时,发送报警;当流量高于3MB/s时,报警取消;当流量介于2MB/s-3MB/s时,处于警告warning状态。操作方法:第一:编写脚本文件:vim/usr/lib64/nagios/plugins/check_traffic_less.sh#!/bin/bash..
分类:
移动开发 时间:
2017-07-10 22:02:30
阅读次数:
786
nagios监控工具Nagios是一款开源的计算机系统和网络监视工具,能有效的监控windows,linux和unix的主机状态,在系统和服务器状态异常的时候发送电子邮件或短信报警,第一时间通知网站运维成员,在状态恢复后发出正常的电子邮件或短信通知。Nagios四种监控状态:v0(OK)表示状..
分类:
移动开发 时间:
2017-07-10 16:57:27
阅读次数:
539
nagios监控工具Nagios是一款开源的计算机系统和网络监视工具,能有效的监控windows,linux和unix的主机状态,在系统和服务器状态异常的时候发送电子邮件或短信报警,第一时间通知网站运维成员,在状态恢复后发出正常的电子邮件或短信通知。Nagios四种监控状态:v0(OK)表示状..
分类:
移动开发 时间:
2017-07-10 16:55:45
阅读次数:
435
cacti监控工具Cacti是一款使用PHP语言开发的性能与流量监测工具,实际上cacti是一款web界面的管理工具,通过调用net-SNMP工具来采集检测数据,并结合RRDtool工具记录数据并绘制图片。监控端搭建cacti步骤:v部署LAMP平台#yum-yinstallzlibfreetypelibjpegfontconfiggdlibxml2ph..
分类:
其他好文 时间:
2017-07-10 16:48:07
阅读次数:
126
用snmp服务获取数据,然后用rrdtool储存和更新数据,当用户需要查看数据的时候用rrdtool生成图表呈现给用户yuminstall-ypango-develperl-develnet-snmp-develnet-snmp-utils-develrrdtool-1.4.5.tar.gz#添加环境变量exportPATH=$PATH:/services/rrdtool/bin检测rrdtool是否成功..
分类:
其他好文 时间:
2017-07-10 16:28:58
阅读次数:
236
check_ping command is a Nagios plugin that is used to check the ping output of a remote server. Based on the ping output, you can decide to set certai ...
分类:
移动开发 时间:
2017-07-09 16:23:19
阅读次数:
401
In our first part of this article, we’ve explained in detail on how to install and configure latest Nagios Core 4.2.0on CentOS 7.2 server. In this art ...
分类:
移动开发 时间:
2017-07-09 16:19:57
阅读次数:
304
In my first nagios tutorial I talked you through the instillation process required for nagios, if you have not yet installed nagios please follow my t ...
分类:
移动开发 时间:
2017-07-09 16:01:44
阅读次数:
262
Nagios如何实现监控远程主机的资源? NRPE 是 Nagios 的一个功能扩展,它可在远程 Linux 和 UNIX 主机上执行插件程序。通过在远程服务器上安装 NRPE 构件及 Nagios 插件程序来向 Nagios 监控平台提供该服务器的一些本地情况,如 CPU 负载、内存使用、硬盘使用 ...
分类:
移动开发 时间:
2017-07-07 11:51:38
阅读次数:
198
1、编辑配置文件 vim /etc/nagios/objects/contacts.cfg增加如下内容:define contactgroup{ contactgroup_name admins alias Nagios Administraators members nagiosadmin,dd ...
分类:
移动开发 时间:
2017-07-07 10:30:18
阅读次数:
267