all: setup prometheus node exporter for all hosts on Chaosknoten
Do that so we can have monitoring for them via prometheus, alertmanager and grafana. Also add a local ip for the git host for PVE firewalling.
This commit is contained in:
		
					parent
					
						
							
								f9052d0eac
							
						
					
				
			
			
				commit
				
					
						7e6644b112
					
				
			
		
					 3 changed files with 22 additions and 0 deletions
				
			
		
							
								
								
									
										8
									
								
								config/extra/prometheus-exporter.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								config/extra/prometheus-exporter.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,8 @@ | |||
| { ... }: | ||||
| 
 | ||||
| { | ||||
|   services.prometheus.exporters.node = { | ||||
|     enable = true; | ||||
|     openFirewall = true; | ||||
|   }; | ||||
| } | ||||
|  | @ -11,6 +11,10 @@ | |||
|           address = "212.12.51.136"; | ||||
|           prefixLength = 28; | ||||
|         } | ||||
|         { | ||||
|           address = "172.31.17.154"; | ||||
|           prefixLength = 25; | ||||
|         } | ||||
|       ]; | ||||
|       ipv6.addresses = [ | ||||
|         { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue