nixos/colony: Log smartd data for Netdata
This commit is contained in:
		@@ -82,6 +82,7 @@
 | 
				
			|||||||
          smartd = {
 | 
					          smartd = {
 | 
				
			||||||
            enable = true;
 | 
					            enable = true;
 | 
				
			||||||
            autodetect = true;
 | 
					            autodetect = true;
 | 
				
			||||||
 | 
					            extraOptions = [ "-A /var/log/smartd/" "--interval=600" ];
 | 
				
			||||||
          };
 | 
					          };
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -100,6 +101,10 @@
 | 
				
			|||||||
            "serial-getty@ttyS1".enable = true;
 | 
					            "serial-getty@ttyS1".enable = true;
 | 
				
			||||||
          };
 | 
					          };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					          tmpfiles.rules = [
 | 
				
			||||||
 | 
					            "d /var/log/smartd 0755 root root"
 | 
				
			||||||
 | 
					          ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          network = {
 | 
					          network = {
 | 
				
			||||||
            links = {
 | 
					            links = {
 | 
				
			||||||
              "10-wan0" = {
 | 
					              "10-wan0" = {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user