NetCrunch Knowledge Base

How-tos, troubleshooting and answers about NetCrunch.

Monitoring Folders/Files on Linux using Windows File/Folder Sensor VIA samba

Can I monitor folders or files on Linux with Windows File/Folder Sensor using samba?

Applies to 9.x 8.x

Monitoring Folders/Files on Linux using Windows File/Folder Sensor VIA samba

  1. Install Samba and setup folder with public access to it
  2. If you are using netbios name: Add node manually with name specified in Netbios name, then add Sensor to monitor file or folder
  3. If you are not using netbios name: Change identification type for linux node to Ip identification in node properties, then add sensor to monitor file or folder with correct path

Example of simple configuration of smb.conf to monitor

Global

Workgroup = WORKGROUP

Security = Share

Map to guest = bad user

Netbios name = NAME // It is needed if we want to monitor files on separate node

Dns proxy = no

Share

Path = ect/samba/share

Browsable = yes

Writable = yes

Guest ok = yes

Read only = no

NetCrunch. Answers not just pictures

Maps → Alerts → Automation → Intelligence