mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Moar ideas
This commit is contained in:
parent
e0fa87cb36
commit
356f2b9ec1
3 changed files with 6 additions and 0 deletions
|
@ -21,6 +21,8 @@ class BaseSystemDiagnoser(Diagnoser):
|
|||
status="INFO",
|
||||
summary=("diagnosis_basesystem_kernel", {"kernel_version": kernel_version}))
|
||||
|
||||
# FIXME / TODO : add virt/vm technology using systemd-detect-virt and/or machine arch
|
||||
|
||||
# Debian release
|
||||
debian_version = read_file("/etc/debian_version").strip()
|
||||
yield dict(meta={"test": "host"},
|
||||
|
|
|
@ -84,6 +84,8 @@ class IPDiagnoser(Diagnoser):
|
|||
summary=("diagnosis_ip_connected_ipv6", {}) if ipv6
|
||||
else ("diagnosis_ip_no_ipv6", {}))
|
||||
|
||||
# TODO / FIXME : add some attempt to detect ISP (using whois ?) ?
|
||||
|
||||
def can_ping_outside(self, protocol=4):
|
||||
|
||||
assert protocol in [4, 6], "Invalid protocol version, it should be either 4 or 6 and was '%s'" % repr(protocol)
|
||||
|
|
|
@ -33,6 +33,8 @@ class DNSRecordsDiagnoser(Diagnoser):
|
|||
|
||||
# FIXME : somewhere, should implement a check for reverse DNS ...
|
||||
|
||||
# FIXME / TODO : somewhere, could also implement a check for domain expiring soon
|
||||
|
||||
def check_domain(self, domain, is_main_domain):
|
||||
|
||||
expected_configuration = _build_dns_conf(domain)
|
||||
|
|
Loading…
Add table
Reference in a new issue