Fix collectd plugin
This commit is contained in:
		
							parent
							
								
									aacbf55f34
								
							
						
					
					
						commit
						a037a2c51a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -5,7 +5,7 @@ import re
 | 
			
		|||
import time
 | 
			
		||||
 | 
			
		||||
HOSTNAME = os.getenv('COLLECTD_HOSTNAME', "localhost")
 | 
			
		||||
INTERVAL = int(os.getenv('COLLECTD_INTERVAL', '60'))
 | 
			
		||||
INTERVAL = float(os.getenv('COLLECTD_INTERVAL', '60.0'))
 | 
			
		||||
FILENAME = "/tmp/spitfire_smbspy_status.txt"
 | 
			
		||||
 | 
			
		||||
SMB_STATUS_REGEX = re.compile(r'<b>Spitfire SMB</b> has <b>(?P<files>[0-9]+)</b> file\(s\) opened by <b>(?P<users>[0-9]+)</b> user\(s\) \(<b>(?P<active>[0-@9]+)</b> active users\)\.')
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue