Add prometheus node exporter config
This commit is contained in:
		
					parent
					
						
							
								b7798b7f5a
							
						
					
				
			
			
				commit
				
					
						7fabcb4c7e
					
				
			
		
					 3 changed files with 11 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,7 @@
 | 
			
		|||
{ config, pkgs, ... }:
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ./prometheus-node-exporter.nix
 | 
			
		||||
    ../../users/colmena-deploy
 | 
			
		||||
    ../../users/yuri
 | 
			
		||||
  ];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										7
									
								
								configuration/common/prometheus-node-exporter.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								configuration/common/prometheus-node-exporter.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
{ ... }:
 | 
			
		||||
{
 | 
			
		||||
  services.prometheus.exporters.node = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    openFirewall = true;
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue