config.py 402 Bytes
Newer Older
Jonathan Michalon's avatar
Jonathan Michalon committed
1 2 3 4 5 6 7 8
from lib.checks import *


mail   = Host(ipv4='127.0.0.1', ipv6='::1')
web    = Host(ipv4='127.0.0.0', ipv6='::42')
alsace = Host(ipv4='127.0.0.1', ipv6='::1')

checks = Checks()
9
checks.add(CheckDNSZone, ["arn-fai.net", "netlib.re"], ip_version=4)
Jonathan Michalon's avatar
Jonathan Michalon committed
10 11 12 13
checks.add(CheckPing4, [mail, web])
checks.add(CheckPing6, [mail, web])
# checks.add(CheckSMTP4, [mail, alsace])
# checks.add(CheckSMTP6, [mail, alsace])