blob: 0ce9ffe08a520cd54cf655a01bbe3772459488d0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{ monitoring, config, ... }:
let
emailCheck = monitoring.lib.emailCheck config.myEnv.monitoring.email_check;
in
{
config.myServices.monitoring.activatedPlugins = [ "emails" ];
config.myServices.monitoring.objects.host = {
"phare.normalesup.org" = {
alias = "phare.normalesup.org";
address = "phare.normalesup.org";
use = "linux-server";
hostgroups = "webstatus-hosts";
_webstatus_name = "phare";
_webstatus_vhost = "status.immae.eu";
};
};
config.myServices.monitoring.objects.service = [
(emailCheck "phare" "phare.normalesup.org")
];
}
|