码迷,mamicode.com
首页 >  
搜索关键字:zabbix odbc unixodbc    ( 7039个结果
zabbix msmtp(shell)
#!/bin/bash ################################################################################ #Zabbixextensions(C)2011-*JosephBueno<zabbixextensions@aperto.fr> #PublishedunderGNUGeneralPublicLicenseversion2orlater. #SeeLICENSE.txt #--------------------..
分类:其他好文   时间:2014-10-01 02:05:00    阅读次数:426
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 sendmail(python)
#!/usr/bin/python #coding:utf-8 importsmtplib fromemail.mime.textimportMIMEText importsys mail_host=‘smtp.163.com‘ mail_user=‘username‘ mail_pass=‘password‘ mail_postfix=‘163.com‘ defsend_mail(to_list,subject,content): me=mail_user+"<"+mail_user+"@"+mail..
分类:编程语言   时间:2014-10-01 00:25:10    阅读次数:252
分布式开源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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!