nixos/common: Monitor systemd units with Netdata
This commit is contained in:
parent
e846c4404e
commit
fa3ebb0319
@ -140,6 +140,23 @@ in
|
||||
"dbengine multihost disk space" = 256;
|
||||
};
|
||||
};
|
||||
configDir = {
|
||||
"go.d.conf" = mkDefault (pkgs.writeText "netdata-go.d.conf" ''
|
||||
modules:
|
||||
systemdunits: yes
|
||||
'');
|
||||
|
||||
"go.d/systemdunits.conf" = mkDefault (pkgs.writeText "netdata-systemdunits.conf" ''
|
||||
jobs:
|
||||
- name: service-units
|
||||
include:
|
||||
- '*.service'
|
||||
|
||||
- name: socket-units
|
||||
include:
|
||||
- '*.socket'
|
||||
'');
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user