---
title: FAQ & Troubleshooting for Nodinite File Folder Monitoring Agent – DFS, NFS, Non-Events, and More
description: Find answers and troubleshooting steps for common issues with the Nodinite File folder Monitoring Agent. Learn how to resolve DFS and NFS errors, configure monitoring, understand non-event limitations, and get expert support for seamless integration monitoring.
---

# FAQ and Troubleshooting the Nodinite File folder Monitoring Agent

This page provides answers and troubleshooting steps for common issues with the :Nodinite: File folder [Monitoring Agent][Monitoring Agents]. Learn how to resolve DFS and NFS errors, configure monitoring, and get expert support for seamless integration monitoring.

* ✅ Step-by-step troubleshooting for DFS and NFS  
* ✅ PowerShell scripts for quick diagnostics and setup  
* ✅ Clear guidance for configuration and access rights  
* ✅ Direct support options for fast resolution  

If you have any issues that you can not solve, contact our [Support][]<sup>:fa-arrow-up-right-from-square:</sup>, read more on the [Support page][SupportPage].

## How do I add File folders to monitor with Nodinite?

Adding any number of File folders to monitor with :Nodinite: is simple and requires only the proper access rights. Follow the steps detailed in the [Configuration][] user guide.

>[!INFO]
>You must be part of the **Administrators** [Role][Roles].

## Can I get alerted when no files have arrived (Non-Events)?

The :Nodinite: [File Folder Monitoring Agent][File Monitoring Agent] works by **polling** the target folder at a configured interval. Because of this polling-based design, the agent can only report on what it observes at the moment of each poll — it has no reliable way to detect the *absence* of expected files arriving within a given time window.

>[!WARNING]
>Non-event monitoring (alerting when something expected did **not** happen) is **not supported** directly by the File Folder Monitoring Agent due to its polling nature. There is no guarantee that a missed arrival will be detected.

### Why polling prevents non-event detection

A polling agent snapshots the current state of a folder at each interval. It can answer:

* ✅ Are there files older than *X* minutes?
* ✅ Are there more than *N* files present?
* ❌ Did an expected file *not* arrive within the last hour?

The last question cannot be answered reliably — the agent has no knowledge of what *should* have arrived, only what *is* present when it polls.

### Recommended solution

The recommended workaround is to instrument the **integration process** itself — the application that reads from or writes to the SFTP or file folder — so that it logs activity to :Nodinite:. Once log records are available, you can use the [Non-Events Monitor Agent][NonEventsMonitor] to raise an alert when the expected log entries do not appear within a defined time window.

This approach shifts the detection responsibility from the passive folder observer to the active integration process:

1. Configure your SFTP reader/writer process to emit log messages to :Nodinite: on each successful file transfer.
2. Set up a [Non-Events Monitor][NonEventsMonitor] rule targeting those log entries.
3. Define the expected frequency (e.g., at least one file transferred every 60 minutes).
4. :Nodinite: will raise an alert if no matching log entry is received within the window.

>[!INFO]
>Need help setting up logging from your integration process? See the [Custom Logging][] guide for details on how to send log records to :Nodinite: from any application or platform.

## DFS Troubleshooting

If you encounter **2662** error status, you are likely not specifying the DFS root path in the folder [Configuration][].

### Verify DFS Share

Use the PowerShell script below as a template to test the availability and configuration of your DFS Share:

```powershell
Get-DfsnRoot
Get-DfsnFolder -Path "\\$env:COMPUTERNAME\PublicDFS\SharedDocs"
```

### Install/Setup DFS Share

Use the PowerShell script below as a template to set up a DFS Share on a Windows Server host.  

```powershell
# 1. Install DFS Namespace feature
Install-WindowsFeature FS-DFS-Namespace -IncludeManagementTools

# 2. Create the namespace root folder
$namespaceRootFolder = "C:\DFSRoots\PublicDFS"
New-Item -Path $namespaceRootFolder -ItemType Directory -Force

# 3. SHARE the namespace root folder as "PublicDFS"
New-SmbShare -Name "PublicDFS" -Path $namespaceRootFolder -FullAccess "Everyone"

# 4. Create the DFS namespace (Standalone)
New-DfsnRoot -Path "\\$env:COMPUTERNAME\PublicDFS" -TargetPath $namespaceRootFolder -Type Standalone

# 5. Create a folder inside the namespace target folder
$dfsFolderPath = "$namespaceRootFolder\SharedDocs"
New-Item -Path $dfsFolderPath -ItemType Directory -Force

# 6. Share that folder as well
New-SmbShare -Name "SharedDocs" -Path $dfsFolderPath -FullAccess "Everyone"

# 7. Add DFS folder to the namespace
New-DfsnFolder -Path "\\$env:COMPUTERNAME\PublicDFS\SharedDocs" -TargetPath "\\$env:COMPUTERNAME\SharedDocs"
```

Your DFS namespace is now available at: `\\<YourServerName>\PublicDFS\SharedDocs`  
The physical target is `\\NODINITE01\SharedDocs`  

### Remove DFS Share

Use the PowerShell script below as a template to remove the DFS Share previously installed:

```powershell
# Remove DFS Folder
Remove-DfsnFolder -Path "\\$env:COMPUTERNAME\PublicDFS\SharedDocs" -Force -ErrorAction SilentlyContinue

# Remove DFS Namespace
Remove-DfsnRoot -Path "\\$env:COMPUTERNAME\PublicDFS" -Force -ErrorAction SilentlyContinue

# Remove SMB Shares
Remove-SmbShare -Name "SharedDocs" -Force -ErrorAction SilentlyContinue
Remove-SmbShare -Name "PublicDFS" -Force -ErrorAction SilentlyContinue

# Delete all folders
Remove-Item -Path "C:\DFSRoots" -Recurse -Force -ErrorAction SilentlyContinue
```

## NFS Troubleshooting

>[!NOTE]
>Usually, this is a problem related to the firewall. Please review the [firewall settings][Prerequisites firewall].

For **NFS** related issues, review Microsoft's modern guidance in [NFS Overview](https://learn.microsoft.com/en-us/windows-server/storage/nfs/nfs-overview)<sup>:fa-arrow-up-right-from-square:</sup> and [Deploy Network File System](https://learn.microsoft.com/en-us/windows-server/storage/nfs/deploy-nfs)<sup>:fa-arrow-up-right-from-square:</sup>.

If you have problems connecting to the NFS area, follow the steps below to troubleshoot the problem.

### Common error

```text
Could not connect to NFS, error: ONC/RPC portmap failure
```

### Quick checks

* Verify basic connectivity between the Monitoring Agent host and the NFS server.
* Verify that firewalls allow the required NFS/RPC traffic; see the [firewall settings][Prerequisites firewall].
* Verify name resolution (DNS) and that the target IP/FQDN matches your [Configuration][].
* Verify that the NFS export exists and that the client host is allowed.

If possible, install the **NFS Client feature** on the Monitoring Agent host:  
![NFS Client feature][1]  
*The NFS Client feature must be installed for NFS monitoring.*

### Install NFS Client feature with PowerShell

Use the following script to install the NFS client on Windows Server or Windows client OS.

```powershell
# Windows Server
if (Get-Command Get-WindowsFeature -ErrorAction SilentlyContinue) {
	Install-WindowsFeature -Name NFS-Client -IncludeManagementTools
}
else {
	# Windows client OS (for example Windows 10/11)
	Enable-WindowsOptionalFeature -Online -FeatureName ServicesForNFS-ClientOnly -All -NoRestart
}
```

### Verify RPC/NFS reachability

Use the sample **RPCINFO** command (replace sample IP address as appropriate):

```powershell
rpcinfo /p 10.0.1.135
```

If the connection is successful, you should have the **nfs** entries listed; otherwise, there is probably an error in the output:  
![RPCINFO][2]  
*RPCINFO output showing NFS entries if successful.*

### Optional lab setup: Create a test NFS share on Windows Server

If you need a controlled lab environment, use the script below on a Windows Server host.

```powershell
# 1. Install Server for NFS
Install-WindowsFeature -Name FS-NFS-Service -IncludeManagementTools

# 2. Create a local folder for the share
$nfsRoot = "C:\NFS\Demo"
New-Item -Path $nfsRoot -ItemType Directory -Force

# 3. Create NFS share
New-NfsShare -Name "DemoNfs" -Path $nfsRoot

# 4. Allow lab client access (replace with specific hosts/subnets for production)
Grant-NfsSharePermission -Name "DemoNfs" -ClientName "*" -ClientType Host -Permission ReadWrite
```

>[!WARNING]
>Use restrictive permissions in production. Avoid wildcard client access (`*`) outside of test environments.

### Optional lab setup: Docker-based NFS server for quick testing

For quick local testing, you can run a community NFS server image with Docker (Linux container mode, for example Docker Desktop with WSL2).

```powershell
docker run -d --name nfs-lab --privileged -e SHARED_DIRECTORY=/exports -v nfsdata:/exports erichough/nfs-server
```

Then run `rpcinfo /p <docker-host-ip>` from the Monitoring Agent host.

>[!NOTE]
>Container-based NFS is useful for lab validation but should not be treated as a production-grade NFS service.

## :fa-hand-point-right: Next Steps

* :fa-question-circle: [Contact Support][Support]  

## :fa-link-horizontal: Related Topics

* :fa-folder-open: [File Folder Monitoring Agent Overview][File Monitoring Agent]  
* :fa-bell: [Non-Events Monitor Agent][NonEventsMonitor]  
* :fa-code: [Custom Logging][Custom Logging]  
* :fa-gear: [Configuration][Configuration]  

[1]:{ndm}/Documentation%20Pictures/MonitorAgent/FileFolder/NFS/NFSClientFeature.png
[2]:{ndm}/Documentation%20Pictures/MonitorAgent/FileFolder/NFS/rpcinfo.png

[Configuration]:{ndr}/Logging%20and%20Monitoring/File%20Folder/Getting%20started/3.%20Configuration.md
[Custom Logging]:{ndr}/Logging%20and%20Monitoring/Custom%20Logging/Overview.md
[File Monitoring Agent]:{ndr}/Logging%20and%20Monitoring/File%20Folder/Overview.md
[Monitoring Agents]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/What%20is%20a%20Monitor%20Agent.md
[NonEventsMonitor]:{ndr}/Logging%20and%20Monitoring/Non-Events/Overview.md
[Prerequisites firewall]:{ndr}/Logging%20and%20Monitoring/File%20Folder/Getting%20started/1.%20Prerequisites.md#fa-shield-check-what-firewall-settings-are-required-for-the-file-and-ftp-monitoring-agent
[Roles]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/What%20is%20a%20Role.md
[Support]:https://support.nodinite.com
[SupportPage]:{ndr}/Getting%20Started/Support.md