在不登录远程主机的情况下,可以查看远程主机的服务器操作系统版本(内核)。脚本执行前提:1.拷贝check_snmp到脚本执行的主机中或在此主机中安装nagios;2.保持list.txt中只有一个IP列1#!/bin/bash2#echo"">list_os.txt3\cplist.txtlist_...
本文只提供思想。具体可以根椐情况拓展。前提是需要配置远程主机的SNMP协议。主要是共同体哟。脚本使用:1.拷贝check_tcp到脚本执行的主机中或在此主机中安装nagios;2.保持list.txt中只有一个IP列脚本下载地址:http://download.csdn.net/detail/dre...
nagios监控Linux/windows常用配置,以snmp、nrpe实现1#'process-host-perfdata'commanddefinition2definecommand{3command_nameprocess-host-perfdata4#command_line/usr/bi...
分类:
移动开发 时间:
2014-07-07 10:35:03
阅读次数:
369
接上文:nginx环境下配置nagios-关于nginx.conf配置如下:1server2{3listen80;4server_name192.168.44.44;5indexindex.htmlindex.htmindex.php;6root/usr/local/nagios/share;7au...
分类:
移动开发 时间:
2014-07-07 10:32:33
阅读次数:
336
接上文:nginx环境下配置nagios-关于nginx.confnagiosql文件应该处于conf/domain/目录下nagiosql配置如下:1server2{3listen8088;4server_name192.168.44.44;5indexindex.htmlindex.htmind...
分类:
移动开发 时间:
2014-07-07 10:10:47
阅读次数:
189
http://nagios-plugins.org/doc/guidelines.html#PREFACE
分类:
移动开发 时间:
2014-07-02 15:37:09
阅读次数:
211
####yuminstall##yuminstallgccgcc-c++openssl*ntpperl-ExtUtils-CBuilderperl-ExtUtils-MakeMaker-yecho‘exportLC_ALL=C‘>>/etc/profiletail-1/etc/profilesource/etc/profile/usr/sbin/ntpdatepool.ntp.org####installnagios###/usr/sbin/addusernagios-M-s/sbin/nolog..
分类:
移动开发 时间:
2014-07-02 11:31:30
阅读次数:
191
通过yum安装Nagios2012年04月05日?Nagios?暂无评论QQ空间新浪微博腾讯微博人人网更多3前提先自行安装好Apache+php测试环境主监控机:CentOS 6.0被监控机:CentOS 6.2主监控机设置:1、安装epel# cat /etc/issueCentOS releas...
分类:
移动开发 时间:
2014-07-01 21:12:01
阅读次数:
351
ping命令利用icmp协议(echorequest----echoreply包)来实现选项-c次数指定ping几次后退出-W时间指定最大等待时间注:如有大量ping请求发到本主机,会影响本机其他网络服务。ping输出详解rtt:请求报文的响应时间报错信息:timeout关键字:原因有2种:1,无此主机2,对方主机不..
分类:
系统相关 时间:
2014-07-01 06:03:19
阅读次数:
312
MySQL对外提供了一种应用层级别的共享锁,通过这个共享锁,数据库之上的应用程序可以实现互斥功能。这个共享锁通过一组MySQL 内置函数实现。 GET_LOCK(str,timeout) 这个函数的作用是获取共享锁,其中str是应用程序通信双方协商好的一个字符串,timeout是等待该锁的超时时.....
分类:
数据库 时间:
2014-07-01 00:49:39
阅读次数:
312