Set up influxdb as output
This commit is contained in:
		
							parent
							
								
									740e79cc9f
								
							
						
					
					
						commit
						37d5223f32
					
				
					 1 changed files with 8 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -40,14 +40,14 @@
 | 
			
		|||
        mem = {};
 | 
			
		||||
        system = {};
 | 
			
		||||
      };
 | 
			
		||||
      # outputs = {
 | 
			
		||||
      #   influxdb_v2 = {
 | 
			
		||||
      #     urls = ["http://monitoringvm:8086"];
 | 
			
		||||
      #     token = "\${influx_token}";
 | 
			
		||||
      #     organization = "home";
 | 
			
		||||
      #     bucket = "tigstack";
 | 
			
		||||
      #   };
 | 
			
		||||
      # };
 | 
			
		||||
      outputs = {
 | 
			
		||||
        influxdb_v2 = {
 | 
			
		||||
          database = "telegraf";
 | 
			
		||||
          urls = ["localhost:8086"];
 | 
			
		||||
        };
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  services.influxdb.enable = true;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue