},
"locked": {
"lastModified": 1,
- "narHash": "sha256-YmxnhQgbNWYxJKGgLz0x2EDmbp/1aOVyO/b+rS2zP0w=",
+ "narHash": "sha256-8hruoAYeX7Oczb6tu7lDDOZKFbAdHp6I7mC+K1C4itw=",
"path": "../flakes",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-0V71uNTospNTAWsRuCBmTUtes7ECx9D83d/UOtHOek8=",
+ "narHash": "sha256-oOl1flplnhPOMDiuQyvwS8iSP2caYyK9heTQPzlCNmo=",
"path": "../systems/eldiron",
"type": "path"
},
"nixpkgs": "nixpkgs_106"
},
"locked": {
- "lastModified": 1697062813,
- "narHash": "sha256-pbS3ZgZzCkbL3XO0DpoqQU4JHOMd980vTPX4seMH+U8=",
+ "lastModified": 1697064736,
+ "narHash": "sha256-kVSGqn6rmXnalgpVsRTxYsRCTWCa1dJByLJU/WudTEA=",
"ref": "master",
- "rev": "6f65e826f8baaf08a651366f8e05b58d6a7326ad",
- "revCount": 701,
+ "rev": "2cdb86ed84d3110ec30c9d7869ba011e750d6df8",
+ "revCount": 702,
"type": "git",
"url": "git+ssh://gitolite@git.immae.eu/perso/Immae/Config/Nix/Nixops/Secrets"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-YmxnhQgbNWYxJKGgLz0x2EDmbp/1aOVyO/b+rS2zP0w=",
+ "narHash": "sha256-8hruoAYeX7Oczb6tu7lDDOZKFbAdHp6I7mC+K1C4itw=",
"path": "./flakes",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-0V71uNTospNTAWsRuCBmTUtes7ECx9D83d/UOtHOek8=",
+ "narHash": "sha256-oOl1flplnhPOMDiuQyvwS8iSP2caYyK9heTQPzlCNmo=",
"path": "../systems/eldiron",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-0V71uNTospNTAWsRuCBmTUtes7ECx9D83d/UOtHOek8=",
+ "narHash": "sha256-oOl1flplnhPOMDiuQyvwS8iSP2caYyK9heTQPzlCNmo=",
"path": "../systems/eldiron",
"type": "path"
},
install -dm755 -o named /var/lib/named/dnssec_keys
'');
myServices.monitoring.fromMasterActivatedPlugins = [ "dns" ];
+ myServices.monitoring.fromMasterObjects.contactgroup.dns-raito = {
+ alias = "Secondary DNS Raito";
+ members = "immae";
+ };
myServices.monitoring.fromMasterObjects.service = lib.mkMerge (lib.mapAttrsToList (name: z:
lib.optional (builtins.elem "immae" z.ns) {
service_description = "eldiron dns is active and authoritative for ${name}";
host_name = config.hostEnv.fqdn;
use = "dns-service";
check_command = ["check_external_dns" "kurisu.dual.lahfa.xyz" name "-A"];
+ contact_groups = "dns-raito";
servicegroups = "webstatus-dns";
_webstatus_name = "${name} (Secondary DNS Raito)";
host_name = config.hostEnv.fqdn;
use = "dns-service";
check_command = ["check_dns_soa" "kurisu.dual.lahfa.xyz" name config.hostEnv.fqdn];
+ contact_groups = "dns-raito";
servicegroups = "webstatus-dns";
_webstatus_name = "${name} (Secondary DNS Raito up to date)";