def __init__(self: T, id: str):
        CheckSNMP.__init__(self, id, 'CheckBatteryRemainingRuntime', 'monitoring_plugins_snmp_powernet_mib_battery_remaining_runtime')
        self.add_service_group(ServiceGroup.create('ups'))
        self.add_service_group(ServiceGroup.create('system_health'))

        self.__warning: Union[int, None] = None
        self.__critical: Union[int, None] = None
Ejemplo n.º 2
0
    def __init__(self: T, id: str):
        CheckSNMP.__init__(self, id, 'CheckLoad', 'monitoring_plugins_snmp_ucd_snmp_mib_load')
        self.add_service_group(ServiceGroup.create('disk'))
        self.add_service_group(ServiceGroup.create('system_health'))

        self.__warning: Union[str, None] = None
        self.__critical: Union[str, None] = None
    def __init__(self: T, id: str):
        CheckSNMP.__init__(self, id, 'CheckSMART', 'monitoring_plugins_snmp_synology_smart')
        self.add_service_group(ServiceGroup.create('synology'))
        self.add_service_group(ServiceGroup.create('system_health'))
        self.add_service_group(ServiceGroup.create('disk'))

        self.__disk: Union[int, None] = None
    def __init__(self: T, id: str):
        CheckSNMP.__init__(self, id, 'CheckGPUInfo', 'monitoring_plugins_snmp_synology_gpu_info')
        self.add_service_group(ServiceGroup.create('synology'))
        self.add_service_group(ServiceGroup.create('system_health'))

        self.__gpu: Union[int, None] = None
        self.__warning: Union[int, None] = None
        self.__critical: Union[int, None] = None
Ejemplo n.º 5
0
    def __init__(self: T, id: str):
        CheckSNMP.__init__(
            self, id, 'CheckBatteryPacksAttached',
            'monitoring_plugins_snmp_powernet_mib_battery_packs_attached')
        self.add_service_group(ServiceGroup.create('ups'))
        self.add_service_group(ServiceGroup.create('system_health'))

        self.__count: Union[int, None] = None
    def __init__(self: T, id: str):
        CheckSNMP.__init__(self, id, 'CheckSpaceIO', 'monitoring_plugins_snmp_synology_space_io')
        self.add_service_group(ServiceGroup.create('synology'))
        self.add_service_group(ServiceGroup.create('system_health'))

        self.__volume: Union[int, None] = None
        self.__warning: Union[str, None] = None
        self.__critical: Union[str, None] = None
Ejemplo n.º 7
0
    def __init__(self: T, id: str):
        CheckSNMP.__init__(self, id, 'CheckTemperature',
                           'monitoring_plugins_snmp_synology_temperature')
        self.add_service_group(ServiceGroup.create('synology'))
        self.add_service_group(ServiceGroup.create('system_health'))

        self.__warning: int = 35
        self.__critical: int = 45
    def __init__(self: T, id: str):
        CheckSNMP.__init__(self, id, 'CheckRAIDStatus',
                           'monitoring_plugins_snmp_synology_raid_status')
        self.add_service_group(ServiceGroup.create('synology'))
        self.add_service_group(ServiceGroup.create('system_health'))
        self.add_service_group(ServiceGroup.create('disk'))

        self.__raids: Union[int, None] = None
        self.__warning: Union[int, None] = 80
        self.__critical: Union[int, None] = 90
Ejemplo n.º 9
0
    def __init__(self: T, id: str):
        CheckSNMP.__init__(
            self, id, 'CheckLastDiagnosticTestResultTime',
            'monitoring_plugins_snmp_powernet_mib_last_diagnostic_test_result_time'
        )
        self.add_service_group(ServiceGroup.create('ups'))
        self.add_service_group(ServiceGroup.create('system_health'))

        self.__warning: Union[int, None] = None
        self.__critical: Union[int, None] = None
    def __init__(self: T, id: str):
        CheckSNMP.__init__(
            self, id, 'CheckDiskTemperature',
            'monitoring_plugins_snmp_synology_disk_temperature')
        self.add_service_group(ServiceGroup.create('synology'))
        self.add_service_group(ServiceGroup.create('system_health'))
        self.add_service_group(ServiceGroup.create('disk'))

        self.__disks: Union[int, None] = None
        self.__warning: Union[int, None] = 30
        self.__critical: Union[int, None] = 40
    def __init__(self: T, id: str):
        CheckSNMP.__init__(self, id, 'CheckMemory', 'monitoring_plugins_snmp_ucd_snmp_mib_memory')
        self.add_service_group(ServiceGroup.create('memory'))
        self.add_service_group(ServiceGroup.create('system_health'))

        self.__memory: Union[int, None] = None

        self.__warning_total: Union[int, None] = None
        self.__critical_total: Union[int, None] = None
        self.__ignore_total: Union[bool, None] = None

        self.__warning_swap: Union[int, None] = None
        self.__critical_swap: Union[int, None] = None
        self.__ignore_swap: Union[bool, None] = None

        self.__warning_swap_txt: Union[int, None] = None
        self.__critical_swap_txt: Union[int, None] = None
        self.__ignore_swap_txt: Union[bool, None] = None

        self.__warning_real: Union[int, None] = None
        self.__critical_real: Union[int, None] = None
        self.__ignore_real: Union[bool, None] = None

        self.__warning_real_txt: Union[int, None] = None
        self.__critical_real_txt: Union[int, None] = None
        self.__ignore_real_txt: Union[bool, None] = None

        self.__warning_shared: Union[int, None] = None
        self.__critical_shared: Union[int, None] = None
        self.__ignore_shared: Union[bool, None] = None

        self.__warning_buffer: Union[int, None] = None
        self.__critical_buffer: Union[int, None] = None
        self.__ignore_buffer: Union[bool, None] = None

        self.__warning_cache: Union[int, None] = None
        self.__critical_cache: Union[int, None] = None
        self.__ignore_cache: Union[bool, None] = None

        self.__warning_min_swap: Union[int, None] = None
        self.__critical_min_swap: Union[int, None] = None
        self.__ignore_min_swap: Union[bool, None] = None
Ejemplo n.º 12
0
 def __init__(self: T, id: str):
     CheckSNMP.__init__(self, id, 'CheckPowerStatus',
                        'monitoring_plugins_snmp_synology_power_status')
     self.add_service_group(ServiceGroup.create('synology'))
Ejemplo n.º 13
0
    def __init__(self: T, id: str):
        CheckSNMP.__init__(self, id, 'CheckServiceRunning', 'monitoring_plugins_snmp_synology_service_running')
        self.add_service_group(ServiceGroup.create('synology'))
        self.add_service_group(ServiceGroup.create('system_health'))

        self.__services: List[str] = []
Ejemplo n.º 14
0
 def __init__(self: T, id: str):
     CheckSNMP.__init__(
         self, id, 'CheckBatteryStatus',
         'monitoring_plugins_snmp_powernet_mib_battery_status')
     self.add_service_group(ServiceGroup.create('ups'))
     self.add_service_group(ServiceGroup.create('system_health'))
 def __init__(self: T, id: str):
     CheckSNMP.__init__(self, id, 'CheckSystemStatus',
                        'monitoring_plugins_snmp_synology_system_status')
     self.add_service_group(ServiceGroup.create('synology'))
     self.add_service_group(ServiceGroup.create('system_health'))
 def __init__(self: T, id: str):
     CheckSNMP.__init__(
         self, id, 'CheckDiagnosticTestResult',
         'monitoring_plugins_snmp_powernet_mib_diagnostic_test_result')
     self.add_service_group(ServiceGroup.create('ups'))
     self.add_service_group(ServiceGroup.create('system_health'))
Ejemplo n.º 17
0
 def __init__(self: T, id: str):
     CheckSNMP.__init__(self, id, 'CheckUpgrade',
                        'monitoring_plugins_snmp_synology_upgrade')
     self.add_service_group(ServiceGroup.create('synology'))
     self.add_service_group(ServiceGroup.create('updates'))