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/python | |
import ConfigParser | |
import logging | |
import optparse | |
import sys | |
import pyrax | |
error = logging.error |
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/python | |
import pyrax | |
import ConfigParser | |
import sys | |
import getopt | |
class Config(ConfigParser.ConfigParser): | |
def __getitems__(self, section): | |
try: |
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/python | |
""" | |
python-bottle based MySQL replication monitor. | |
Configuration can be specified via [server.*] and [bottle] directivesin /etc/rack_replmon/monitor.conf. The monitor will parse any entry thatbegins with ^server as directives for a server to scan | |
Valid [server.*] directives: | |
host, port, user, passwd | |
Valid [bottle] directives: | |
host, port |