#!/bin/bash
ip=59.201.201.152
groupadd zabbix
useradd -g zabbix zabbix
yum -y install gcc curl-devel net-snmp-devel fping e2fsprogs-devel zlib-devel libgssapi-devel krb5-devel openssl-devel wget libs...
分类:
系统相关 时间:
2015-01-03 00:55:50
阅读次数:
307
#!/bin/bash
#zabbix 一键安装
#数据库用户名
DBUSER='root'
#数据库用户密码
DBPASS='root'
#本地地址
DBHOST='localhost'
#zabbix 下载的版本
ZBX_VER='2.4.3'
###检查返回值
function checkReturn {
if [ $1 -ne 0 ]; then
echo "fa...
分类:
数据库 时间:
2015-01-02 12:20:05
阅读次数:
275
linux ??curl用法详解 ??curl的应用方式,一是可以直接通过命令行工具,另一种是利用libcurl库做上层的开发。本篇主要总结一下命令行工具的http相关的应用, 尤其是http下载方面的;下一篇再讲基于libcurl库的开发。 curl的命令行工具功能非常强大,这些数据交互的功能.....
分类:
Web程序 时间:
2014-12-31 19:48:07
阅读次数:
277
scp 10.25.133.184:/usr/local/zabbix-2.4.1.tar.gz /usr/local 1、为了安全考虑zabbix只使用普通用户运行,假如你当前用户叫ttlsa,那么你运行他,他便使用ttlsa身份运行。但是如果你在root环境下运行zabbix,那么zab...
分类:
系统相关 时间:
2014-12-30 01:39:11
阅读次数:
274
https://www.zabbix.com/documentation/2.2/manual/config/items/itemtypes/zabbix_agent/win_keysproc_info[<process>,<attribute>,<type>]process-processnameattribute-requestedprocessattribute.type-representationtype(meaningfulwhenmorethanoneproc..
分类:
Windows程序 时间:
2014-12-29 18:34:16
阅读次数:
1418
zabbix安装好了之后,由于公司目前都是php环境,需要监控下,网上查了些资料把过程记录了下vim/usr/local/php/etc/php-fpm.conf
添加
pm.status_path=/phpfpmstatus
vim/usr/local/nginx/conf/nginx.conf
添加
server{
listen80;
server_namelocalhost;
location~^/(phpfpmsta..
分类:
Web程序 时间:
2014-12-29 15:28:42
阅读次数:
251
zabbix环境安装好后,用shell写了个邮件脚本测试都没有问题,就是不发邮件,后来写了个python的邮件替换上了,可以正常发送邮件了,不知道是zabbix不支持shell还是其他问题!
#!/usr/bin/python
importsmtplib
importstring
importsys
HOST="smtp.163.com"
SUBJECT=sys.argv..
分类:
其他好文 时间:
2014-12-29 12:19:58
阅读次数:
198
敬请参见独立博客页面:http://1.oliverwang.sinaapp.com/?p=40/*The MIT License (MIT)Copyright (c) Permission is hereby granted, free of charge, to any person obta....
分类:
Web程序 时间:
2014-12-29 11:46:58
阅读次数:
197
在有些情况下,我们不能对MySQL实例所在的主机上安装zabbixagent,只能访问MySQL实例,例如使用Ucloud提供的UDB.这时我们就需要使用Zabbix的LLD功能来监控MySQL
分类:
数据库 时间:
2014-12-29 06:39:29
阅读次数:
197
Lastmodified:Nov.17,2012
Contents
1-Summary
2-Dependencies
3-Installmsmtp
4-Msmtpconfiguration
5-Shellscript
6-Zabbixconfiguration
1-Summary
ThisguidewillshowyouhowtousemsmtpwithTLS/SSLcapabilitiesforemail
notificationsinZabbixServerinFreeBSD.MsmtpisanSM..
分类:
其他好文 时间:
2014-12-26 18:53:55
阅读次数:
301