最近在刚好一些业务经常把线程跑满,导致服务器资源用完,所以就写了一个脚本用于Nagios下相关进程的最大线程数的监控,Unix的服务器上最大的线程数默认的是1024,当然在业务繁忙的服务器中这样肯定是不够用的,当然在实际生产环境中做初始化调优时一般都会有做过修改,如开启..
分类:
移动开发 时间:
2017-07-12 10:18:08
阅读次数:
234
需求:使用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
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
服务端安装:1、yum安装,首先安装epel扩展源 wget https://mirrors.aliyun.com/epel/epel-release-latest-6.noarch.rpm rpm -ivh epel-release-latest-6.noarch.rpm2、yum安装nagios ...
分类:
移动开发 时间:
2017-07-07 10:28:19
阅读次数:
240