码迷,mamicode.com
首页 >  
搜索关键字:zabbix collectd influxdb grafana    ( 6612个结果
zabbix监控varnish(shell)
#!/bin/bash /usr/local/bin/varnishstat-1>/tmp/varnish.$$ awk‘{ printf("%s:%s",$1,$2) }‘/tmp/varnish.$$ rm-rf/tmp/varnish.$$Usage:Asrootsetupacronjob:*****/usr/local/varnish/bin/varnishstat-1>/tmp/varnishstatAddanuserparametertozabbix:UserParameter=..
分类:其他好文   时间:2014-10-01 01:30:20    阅读次数:245
zabbix自动安装server(shell)
#!/bin/bash DBUSER=‘root‘ DBPASS=‘‘ DBHOST=‘localhost‘ ZBX_VER=‘2.0.1‘ functioncheckReturn{ if[$1-ne0];then echo"fail:$2" echo"$3" exit else echo"pass:$2" fi sleep3 } cat<<"eof" ===RUNATYOUROWNRISK=== DONOTRUNONEXISTINGINSTALLATIONS,YOU*WILL*LOS..
分类:其他好文   时间:2014-10-01 00:58:00    阅读次数:363
zabbix监控JVM
1.修改jmx的配置2.tomcat开启jmx功能agent配置tomcatJMXRemotejar二进制包,放在tomcat/lib下面.修改tomcatserver.xml配置文件<ListenerclassName="org.apache.catalina.mbeans.JmxRemoteLifecycleListener"rmiRegistryPortPlatform="12345"rmiServerPortPlatform="12346"/&g..
分类:其他好文   时间:2014-10-01 00:57:10    阅读次数:407
zabbix自动安装agent(shell)
#!/bin/bash #./zabbixagent.sh172.16.103.16172.16.103.134 #$1masteraddress,$2local_listen_ip groupaddzabbix&&useraddzabbix-gzabbix cat>>/etc/services<<EOF zabbix-agent10050/tcpZabbixAgent zabbix-agent10050/udpZabbixAgent zabbix-trapper1..
分类:其他好文   时间:2014-10-01 00:41:30    阅读次数:209
zabbix监控mysql(perl)
1.yuminstallperl-libwww-perlyuminstallperl-File-Whichyuminstallperl-DBD-MySQLyuminstallperl-Digest-SHA1yuminstallperl-Time-HiResyuminstallperl-Crypt-SSLeay2.测试#!/usr/bin/perl-wuseDBI;my$database="mysql";my$hostname="localhost";my$data_source="DBI:mysql:$d..
分类:数据库   时间:2014-10-01 00:41:10    阅读次数:329
zabbix监控mysql
默认mysql监控模版安装方法:vim/usr/local/etc/zabbix_agentd.confUserParameter=mysql.ping,mysqladminping|grep-caliveUserParameter=mysql.version,mysql-VUserParameter=mysql.status[*],echo"showglobalstatuswhereVariable_name=‘$1‘;"|mysql-N-uroot|awk‘{print$$2}‘Us..
分类:数据库   时间:2014-10-01 00:40:50    阅读次数:274
zabbix监控磁盘I/O
zabbix_agentd.confUserParameter=custom.vfs.dev.read.ops[*],cat/proc/diskstats|grep$1|head-1|awk‘{print$$4}‘UserParameter=custom.vfs.dev.read.ms[*],cat/proc/diskstats|grep$1|head-1|awk‘{print$$7}‘UserParameter=custom.vfs.dev.write.ops[*],cat/proc/diskstats|g..
分类:其他好文   时间:2014-10-01 00:40:10    阅读次数:452
zabbix通过UNIXODBC连接数据库
1)安装unixodbc管理器tarxzvfunixODBC-2.3.0.tar.gzcdunixODBC-2.3.0sudo./configure/usr/local/unixODBCsudomakesudomakeinstall2)安装驱动DB2:mkdir/usr/local/db2tar-zxvf/tmp/v9.5fp5_linuxx64_odbc_cli.tar.gz-C/usr/local/db2cd/usr/local/db2/odbc_cli/clidriver/cfg编..
分类:数据库   时间:2014-09-30 15:25:00    阅读次数:388
分布式开源zabbix 监控模板汇总
分布式开源监控服务器zabbix最新监控模板,请访问:www.zabbix.org/wiki/Zabbix_Templates包含以下几个方面:1、Networkdevices2、Servers3、NetworkAppliances4、MonitoringEquipment5、Power(UPS)6、Printers7、Cooling(A/C)8、Applications9、Database10、StorageDevices11..
分类:其他好文   时间:2014-09-30 14:18:40    阅读次数:177
CentOS Zabbix Server安装
系统信息:CentOSrelease6.5(Final)内核信息:2.6.32-431.el6.x86_64Zabbixserverip:192.168.1.105Zabbixagentip:192.168.1.106安装zabbixserver安装mysql;yum-yinstallmysql-server编辑mysql配置文件;vim/etc/my.cnf [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/..
分类:其他好文   时间:2014-09-29 17:29:02    阅读次数:395
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!