1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 1.00 out of 5)
Loading...
:

Several modules for Windows SMB monitoring

Module data

Get SMB active sessions

module_begin 
module_name SMB_Sessions 
module_exec smbstatus -b | grep "^[0-9]" | wc -l 
module_type generic_data 
module_end 

Read errors (parsing Logfile) 

module_begin 
module_name SMB_Read_Errors 
module_exec cat /var/log/samba/log.smbd | grep "read failure" | wc -l 
module_type generic_data_inc 
module_end 

SMB Connections (parsing logfile) 

module_begin 
module_name SMB_Connections 
module_exec cat /var/log/samba/log.smbd | grep "connect to service" | wc -l 
module_type generic_data_inc 
module_end 

SMB Process alive 

module_begin 
module_name SMB Process 
module_exec ps aux | grep smb | grep -v grep | wc -l 
module_type generic_proc 
module_end

(Visited 674 times, 1 visits today)

For correct visualization of the Pandora FMS library extension, you must have installed version NG 760 or superior

X