Add LibreNMS service
This commit is contained in:
parent
f20c086d6f
commit
c0f26a47f2
10 changed files with 151 additions and 0 deletions
33
hosts/librenms/default.nix
Normal file
33
hosts/librenms/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
p = import ../parameters.nix;
|
||||
in
|
||||
{
|
||||
my = {
|
||||
utils = {
|
||||
commons.enable = true;
|
||||
lxc-standard.enable = true;
|
||||
};
|
||||
|
||||
monitoring.librenms = {
|
||||
enable = true;
|
||||
hostname = p.hosts.librenms;
|
||||
settings = {
|
||||
"snmp.community" = [ "public" "homelab" ];
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
virtualisation.proxmox.enable = true;
|
||||
};
|
||||
|
||||
# Extra packages
|
||||
environment.systemPackages = with pkgs; [ ];
|
||||
|
||||
system.stateVersion = "25.11";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue