示例#1
0
 def __init__(self, configuration=None, name=None):
     ExecutableService.__init__(self,
                                configuration=configuration,
                                name=name)
     self.command = "OpenCorsairLink.elf --device 0"
     self.order = ORDER
     self.definitions = CHARTS
示例#2
0
 def __init__(self, configuration=None, name=None):
     ExecutableService.__init__(self,
                                configuration=configuration,
                                name=name)
     self.command = "chronyc -n tracking"
     self.order = ORDER
     self.definitions = CHARTS
示例#3
0
 def __init__(self, configuration=None, name=None):
     ExecutableService.__init__(self,
                                configuration=configuration,
                                name=name)
     self.command = "exim -bpc"
     self.order = ORDER
     self.definitions = CHARTS
示例#4
0
 def __init__(self, configuration=None, name=None):
     ExecutableService.__init__(
         self, configuration=configuration, name=name)
     self.command = "nsd-control stats_noreset"
     self.order = ORDER
     self.definitions = CHARTS
     self.regex = re.compile(r'([A-Za-z0-9.]+)=(\d+)')
示例#5
0
 def __init__(self, configuration=None, name=None):
     ExecutableService.__init__(self,
                                configuration=configuration,
                                name=name)
     self.order = ORDER
     self.definitions = CHARTS
     self.rgx_smb2 = re.compile(
         r'(smb2_[^:]+|syscall_.*file_bytes):\s+(\d+)')
示例#6
0
 def __init__(self, configuration=None, name=None):
     ExecutableService.__init__(self,
                                configuration=configuration,
                                name=name)
     self.command = "nsd-control stats_noreset"
     self.order = ORDER
     self.definitions = CHARTS
     self.regex = re.compile(r'([A-Za-z0-9.]+)=(\d+)')
示例#7
0
 def __init__(self, configuration=None, name=None):
     ExecutableService.__init__(self,
                                configuration=configuration,
                                name=name)
     self.disks = []
     self.definitions = OrderedDict()
     self.hdd_regex = re.compile(
         self.configuration.get('hdd_regex', 'md[0-9]+$'))
     self.command = 'df -P'
     self.chart_name = "df"
示例#8
0
 def __init__(self, configuration=None, name=None):
     ExecutableService.__init__(
         self, configuration=configuration, name=name)
     self.command = "chronyc -n tracking"
     self.order = ORDER
     self.definitions = CHARTS
示例#9
0
 def __init__(self, configuration=None, name=None):
     ExecutableService.__init__(self, configuration=configuration, name=name)
     self.command = "postqueue -p"
     self.order = ORDER
     self.definitions = CHARTS
示例#10
0
 def __init__(self, configuration=None, name=None):
     ExecutableService.__init__(self, configuration=configuration, name=name)
     self.order = ORDER
     self.definitions = CHARTS
     self.rgx_smb2 = re.compile(r'(smb2_[^:]+|syscall_.*file_bytes):\s+(\d+)')