This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# スロークエリログをユニーク化整理します | |
# | |
import re | |
import hashlib | |
class counterSlowQuery: | |
init_keep_info = { | |
'unix_time' : None, | |
'src_ip' : None, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import os | |
import json | |
import hashlib | |
import glob | |
# | |
# Config | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# For sending metric value to zabbix server. | |
# | |
# You must create item as "zabbix trapper" on server. | |
# Because the server must be connected to agent:10050, if it is selected "zabbix agent". | |
# | |
# Usage: | |
# from modules.ZabbixSender import ZabbixSender | |
# ZABBIX_HOST = "zabbix.example.com" | |
# ZABBIX_PORT = 10051 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# ============================================================ | |
# | |
# @license This program is free software. | |
# | |
# @category Script for Percona Server | |
# @project Gedow Software | |
# @package Gedow Percona Utils | |
# @author GedowFather http://blog.father.gedow.net/ |
OlderNewer