Initial commit for MySQL monitoring
This commit is contained in:
parent
22b7331299
commit
cca28809c9
1281
bin/ss_get_mysql_stats.php
Normal file
1281
bin/ss_get_mysql_stats.php
Normal file
File diff suppressed because it is too large
Load Diff
11
php.ini
Normal file
11
php.ini
Normal file
@ -0,0 +1,11 @@
|
||||
[PHP]
|
||||
engine = On
|
||||
expose_php = Off
|
||||
max_execution_time = 300
|
||||
max_input_time = 300
|
||||
memory_limit = 128M
|
||||
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_WARNING
|
||||
display_errors = Off
|
||||
|
||||
[Date]
|
||||
date.timezone = "Europe/Warsaw"
|
181
zabbix_agentd.conf.d/mysql.conf
Normal file
181
zabbix_agentd.conf.d/mysql.conf
Normal file
@ -0,0 +1,181 @@
|
||||
# Add ss_get_mysql_stats.php to /etc/zabbix/bin, make sure 'php -v' returns php version (i.e. php works)
|
||||
#
|
||||
# Run also SQL query:
|
||||
#
|
||||
# CREATE USER 'zabbix'@'localhost' IDENTIFIED BY 'ha7jqnlacwefrs';
|
||||
# GRANT REPLICATION CLIENT, SELECT, PROCESS, SHOW DATABASES ON *.* TO 'zabbix'@'localhost' IDENTIFIED BY 'ha7jqnlacwefrs';
|
||||
# FLUSH PRIVILEGES;
|
||||
|
||||
UserParameter=mysqlnetstat[*], ss -nat | grep 3306 | grep -c $1
|
||||
UserParameter=mysql.version, HOME=/etc/zabbix mysqladmin version | grep "Server version" | awk '{ print $ 3 }'
|
||||
UserParameter=mysql.ping,HOME=/etc/zabbix mysqladmin ping | grep alive | wc -l
|
||||
UserParameter=mysql.threads,HOME=/etc/zabbix mysqladmin status | cut -f3 -d":" | cut -f1 -d"Q" | tr -d ' '
|
||||
UserParameter=mysql.questions,HOME=/etc/zabbix mysqladmin status | cut -f4 -d":" | cut -f1 -d"S" | tr -d ' '
|
||||
UserParameter=mysql.slowqueries,HOME=/etc/zabbix mysqladmin status | cut -f5 -d":" | cut -f1 -d"O" | tr -d ' '
|
||||
UserParameter=mysql.qps,HOME=/etc/zabbix mysqladmin status | cut -f9 -d":" | tr -d ' '
|
||||
UserParameter=mysql.connection,echo "show status like 'Max_used_connections'"| HOME=/etc/zabbix mysql -N | tail -1 | awk '{print $2}'
|
||||
UserParameter=mysql.Key_read_requests,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items a0 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Key_reads,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items a1 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Key_write_requests,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items a2 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Key_writes,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items a3 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.history_list,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items a4 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.innodb_transactions,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items a5 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.read_views,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items a6 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.current_transactions,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items a7 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.locked_transactions,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items a8 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.active_transactions,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items a9 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.setting.pool_size,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items aa | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.free_pages,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ab | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.database_pages,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ac | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.modified_pages,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ad | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.pages_read,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ae | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.pages_created,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items af | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.pages_written,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ag | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.file_fsyncs,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ah | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.file_reads,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ai | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.file_writes,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items aj | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.log_writes,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ak | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.pending_aio_log_ios,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items al | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.pending_aio_sync_ios,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items am | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.pending_buf_pool_flushes,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items an | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.pending_chkp_writes,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ao | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.pending_ibuf_aio_reads,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ap | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.pending_log_flushes,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items aq | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.pending_log_writes,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ar | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.pending_normal_aio_reads,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items as | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.pending_normal_aio_writes,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items at | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.ibuf_inserts,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items au | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.ibuf_merged,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items av | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.ibuf_merges,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items aw | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.spin_waits,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ax | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.spin_rounds,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ay | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.os_waits,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items az | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.rows_inserted,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items b0 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.rows_updated,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items b1 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.rows_deleted,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items b2 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.rows_read,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items b3 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Table_locks_waited,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items b4 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Table_locks_immediate,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items b5 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Slow_queries,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items b6 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Open_files,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items b7 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Open_tables,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items b8 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Opened_tables,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items b9 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.innodb_open_files,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ba | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.setting.open_files_limit,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bb | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.setting.table_cache,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bc | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Aborted_clients,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bd | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Aborted_connects,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items be | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Max_used_connections,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bf | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Slow_launch_threads,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bg | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Threads_cached,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bh | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Threads_connected,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bi | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Threads_created,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bj | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Threads_running,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bk | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.setting.max_connections,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bl | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.setting.thread_cache_size,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bm | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Connections,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bn | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.slave_running,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bo | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.slave_stopped,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bp | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Slave_retried_transactions,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bq | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.slave_lag,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items br | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Slave_open_temp_tables,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bs | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Qcache_free_blocks,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bt | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Qcache_free_memory,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bu | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Qcache_hits,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bv | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Qcache_inserts,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bw | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Qcache_lowmem_prunes,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bx | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Qcache_not_cached,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items by | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Qcache_queries_in_cache,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bz | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Qcache_total_blocks,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items c0 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.setting.query_cache_size,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items c1 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Questions,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items c2 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Com_update,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items c3 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Com_insert,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items c4 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Com_select,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items c5 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Com_delete,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items c6 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Com_replace,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items c7 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Com_load,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items c8 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Com_update_multi,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items c9 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Com_insert_select,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ca | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Com_delete_multi,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cb | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Com_replace_select,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cc | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Select_full_join,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cd | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Select_full_range_join,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ce | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Select_range,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cf | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Select_range_check,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cg | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Select_scan,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ch | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Sort_merge_passes,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ci | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Sort_range,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cj | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Sort_rows,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ck | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Sort_scan,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cl | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Created_tmp_tables,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cm | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Created_tmp_disk_tables,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cn | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Created_tmp_files,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items co | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Bytes_sent,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cp | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Bytes_received,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cq | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.innodb_log_buffer_size,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cr | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.unflushed_log,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cs | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.log_bytes_flushed,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ct | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.log_bytes_written,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cu | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.relay_log_space,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cv | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.setting.binlog_cache_size,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cw | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Binlog_cache_disk_use,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cx | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Binlog_cache_use,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cy | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.binary_log_space,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cz | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.innodb_locked_tables,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items d0 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.innodb_lock_structs,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items d1 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.State_closing_tables,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items d2 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.State_copying_to_tmp_table,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items d3 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.State_end,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items d4 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.State_freeing_items,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items d5 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.State_init,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items d6 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.State_locked,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items d7 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.State_login,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items d8 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.State_preparing,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items d9 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.State_reading_from_net,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items da | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.State_sending_data,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items db | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.State_sorting_result,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dc | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.State_statistics,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dd | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.State_updating,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items de | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.State_writing_to_net,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items df | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.State_none,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dg | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.State_other,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dh | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Handler_commit,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items di | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Handler_delete,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dj | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Handler_discover,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dk | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Handler_prepare,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dl | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Handler_read_first,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dm | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Handler_read_key,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dn | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Handler_read_next,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items do | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Handler_read_prev,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dp | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Handler_read_rnd,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dq | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Handler_read_rnd_next,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dr | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Handler_rollback,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ds | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Handler_savepoint,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dt | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Handler_savepoint_rollback,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items du | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Handler_update,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dv | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Handler_write,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dw | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.innodb_tables_in_use,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dx | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.innodb_lock_wait_secs,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dy | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.hash_index_cells_total,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dz | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.hash_index_cells_used,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items e0 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.total_mem_alloc,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items e1 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.additional_pool_alloc,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items e2 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.uncheckpointed_bytes,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items e3 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.ibuf_used_cells,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items e4 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.ibuf_free_cells,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items e5 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.ibuf_cell_count,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items e6 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.adaptive_hash_memory,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items e7 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.page_hash_memory,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items e8 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.dictionary_cache_memory,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items e9 | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.file_system_memory,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ea | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.lock_system_memory,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items eb | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.recovery_system_memory,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ec | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.thread_hash_memory,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ed | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.innodb_sem_waits,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ee | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.innodb_sem_wait_time_ms,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ef | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Key_buf_bytes_unflushed,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items eg | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Key_buf_bytes_used,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items eh | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.setting.key_buffer_size,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ei | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Innodb_row_lock_time,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ej | awk -F: '{ print $2 }'
|
||||
UserParameter=mysql.Innodb_row_lock_waits,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ek | awk -F: '{ print $2 }'
|
Loading…
Reference in New Issue
Block a user