记录一下使用zabbix监控nginx状态,关于这方面的网上大把大把的。操作环境版本zabbix-agent:3.0.3zabbix-server:3.0.31、修改nginx配置文件,内容示例如下#sed-n‘13,18p‘default.conf
location/nginx_status{
stub_statuson;
access_logoff;
allow127.0.0.1;
denyall;
}注:..
分类:
其他好文 时间:
2016-07-07 11:13:38
阅读次数:
228
Saltstack源码安装zabbix_agent客户端安装和环境介绍略,直接上正题:一,首先是树状图[root@saltmastersalt]#pwd/srv/salt[root@saltmastersalt]#tree.
├──init
│└──init.sls
├──top.sls
└──zabbix
├──conf.sls
├──files
│├──zabbix_agentd
│├──za..
分类:
其他好文 时间:
2016-07-06 18:36:45
阅读次数:
240
1.zabbix server的安装 http://www.cnblogs.com/smail-bao/p/5643136.html 2.zabbix agent的安装 http://www.cnblogs.com/smail-bao/p/5607869.html 3.zabbix 中文乱码 htt ...
分类:
其他好文 时间:
2016-07-06 10:09:47
阅读次数:
162
背景:Shell脚本是linux运维人员必备利器,怎么样把shell脚本安装成服务且加入系统启动,然后就可以使用服务来管理,这是一个很重要的问题。当我们运行安装服务的命令时候,假设服务名为myservice#chkconfig--addmyservice常常会出现servicemyservicedoesnotsupportchkconfig下..
分类:
系统相关 时间:
2016-07-05 15:47:56
阅读次数:
4986
zabbix3.0 server已自带mysql的模板了,只需配置好agent客户端,然后在web端给主机增加模板就行了。 下面是公司线上的zabbix3.0环境下添加mysql监控操作记录 Zabbix_agent客户端操作 (1)首先在客户端的mysql里添加权限 mysql> grant al ...
分类:
数据库 时间:
2016-06-26 19:33:40
阅读次数:
433
客户端安装1.创建zabbix用户和用户组 [root@localhost ~]# groupadd zabbix[root@localhost ~]# useradd zabbix -g zabbix2.下载并编译 [root@localhost ~]# wget http://nchc.dl.s ...
分类:
其他好文 时间:
2016-06-23 14:10:49
阅读次数:
114
http://www.cnblogs.com/mysql-dba/p/5010902.html http://blog.chinaunix.net/uid-29155617-id-4668602.html agentd.conf explaination. http://www.bubuko.com ...
分类:
其他好文 时间:
2016-06-22 23:23:39
阅读次数:
164
公司现有的监控使用zabbix,saltstack客户端服务端安装好后,客户端不需要每台机器逐台安装,当然修改zabbix配置文件,直接用salt完成,今天测试了salt源码安装zabbix_agent,效果还行;老规矩,top.sls[root@cactisalt]#cattop.slsbase:‘*‘:-zabbix#目录树[root@cactisalt]#tree..
分类:
其他好文 时间:
2016-06-22 16:03:16
阅读次数:
569
关闭selinuxsed-i"s/SELINUX=enforcing/SELINUX=disabled/"/etc/selinux/config
setenforce0防火墙设置允许zabbix-agent的10050端口通过firewall-cmd--permanent--add-port=10050/tcpfirewall-cmd--reload安装zabbix软件源rpm-ivhhttp://repo.zabbix.com/zabbix/2.4/rhel/7/x86..
分类:
其他好文 时间:
2016-06-22 15:55:10
阅读次数:
524
1.27882:20160620:140553.557cannotsendlistofactivechecksto[43.239.176.21]:host[IP]notfound修改客户端zabbix_agent.conf的Hostname即可2.25415:20160620:135024.220Zabbixagentitem"flow.eth0"onhost"39.109.11.14"failed:firstnetworkerror,waitfor15seconds这个自定义脚..
分类:
其他好文 时间:
2016-06-20 15:57:11
阅读次数:
150