Enable strictDeps on all our toplevel packages #12
| @ -1,13 +0,0 @@ | ||||
| modules: | ||||
|         default: | ||||
|                 collectors: | ||||
|                 - bmc | ||||
|                 - ipmi | ||||
|                 - chassis | ||||
| 
 | ||||
|         lan: | ||||
|                 collectors: | ||||
|                 - ipmi | ||||
|                 - chassis | ||||
|                 user: "" | ||||
|                 pass: "" | ||||
| @ -12,6 +12,8 @@ | ||||
|     mode = "400"; | ||||
|   }; | ||||
| 
 | ||||
|   age.secrets.ipmiYml.file = ../../secrets/ipmi.yml.age; | ||||
| 
 | ||||
|   services.grafana = { | ||||
|     enable = true; | ||||
|     settings = { | ||||
| @ -73,8 +75,8 @@ | ||||
|         enable = true; | ||||
|         group = "root"; | ||||
|         user = "root"; | ||||
|         configFile = ./ipmi.yml; | ||||
|         #extraFlags = [ "--log.level=debug" ]; | ||||
|         configFile = config.age.secrets.ipmiYml.path; | ||||
|         # extraFlags = [ "--log.level=debug" ]; | ||||
|         listenAddress = "127.0.0.1"; | ||||
|       }; | ||||
|       node = { | ||||
| @ -248,6 +250,17 @@ | ||||
|           module = [ "raccoon" ]; | ||||
|         }; | ||||
|       } | ||||
|       { | ||||
|         job_name = "ipmi-fox"; | ||||
|         metrics_path = "/ipmi"; | ||||
|         static_configs = [ | ||||
|           { targets = [ "127.0.0.1:9290" ]; } | ||||
|         ]; | ||||
|         params = { | ||||
|           target = [ "10.0.40.126" ]; | ||||
|           module = [ "fox" ]; | ||||
|         }; | ||||
|       } | ||||
|     ]; | ||||
|   }; | ||||
| } | ||||
|  | ||||
							
								
								
									
										
											BIN
										
									
								
								secrets/ipmi.yml.age
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								secrets/ipmi.yml.age
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| @ -11,6 +11,7 @@ in | ||||
|   "gitlab-runner-shell-token.age".publicKeys = hut; | ||||
|   "nix-serve.age".publicKeys = hut; | ||||
|   "jungle-robot-password.age".publicKeys = hut; | ||||
|   "ipmi.yml.age".publicKeys = hut; | ||||
| 
 | ||||
|   "ceph-user.age".publicKeys = safe; | ||||
|   "munge-key.age".publicKeys = safe; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user