PageRenderTime 123ms CodeModel.GetById 2ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 47ms

/zabbix/zabbix_agent.conf

http://github.com/brinkman83/bashrc
Config | 29 lines | 24 code | 5 blank | 0 comment | 0 complexity | f392b855067fd7dfc7bedef0f1a8beb7 MD5 | raw file
 1# This is config file for zabbix_agent
 2# in case the agent gets started from inetd.
 3#
 4# To get more information about ZABBIX, 
 5# go http://www.zabbix.com
 6
 7# IP address of ZABBIX server
 8# Connections from other hosts will be denied
 9
10Server=192.168.1.2
11
12# Spend no more than Timeout seconds on processing
13# Must be between 1 and 30
14
15Timeout=3
16
17####### USER-DEFINED MONITORED PARAMETERS #######
18# Format: UserParameter=<key>,<shell command>
19# Note that shell command must not return empty string or EOL only
20#UserParameter=system.test,who|wc -l
21### Set of parameter for monitoring MySQL server (v3.23.42 and later)
22### Change -u<username> and add -p<password> if required
23#UserParameter=mysql.ping,mysqladmin -uroot ping|grep alive|wc -l
24#UserParameter=mysql.uptime,mysqladmin -uroot status|cut -f2 -d":"|cut -f1 -d"T"
25#UserParameter=mysql.threads,mysqladmin -uroot status|cut -f3 -d":"|cut -f1 -d"Q"
26#UserParameter=mysql.questions,mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S"
27#UserParameter=mysql.slowqueries,mysqladmin -uroot status|cut -f5 -d":"|cut -f1 -d"O"
28#UserParameter=mysql.qps,mysqladmin -uroot status|cut -f9 -d":"
29#UserParameter=mysql.version,mysql -V