-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.py
29 lines (25 loc) · 891 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
from libprobe.probe import Probe
from lib.check.disk import check_disk
from lib.check.disk_smart import check_disk_smart
from lib.check.ebox import check_ebox
from lib.check.iscsi_lun import check_iscsi_lun
from lib.check.raid import check_raid
from lib.check.service import check_service
from lib.check.space_io import check_space_io
from lib.check.storage_io import check_storage_io
from lib.check.system import check_system
from lib.version import __version__ as version
if __name__ == '__main__':
checks = {
'disk': check_disk,
'diskSMART': check_disk_smart,
'ebox': check_ebox,
'iSCSILUN': check_iscsi_lun,
'raid': check_raid,
'service': check_service,
'spaceIO': check_space_io,
'storageIO': check_storage_io,
'system': check_system,
}
probe = Probe("synology", version, checks)
probe.start()