NFS: Server for NFS State

Microsoft.Windows.FileServer.Service.NFS.State (UnitMonitor)

This object monitors the Server for NFS service and generates an alert if the service is not started, if the alert is enabled for this monitor.

Knowledge Base article:

Summary

This object monitors the Server for NFS service and generates an alert if the service is not started, if the alert is enabled for this monitor.

NFS clients discover NFS servers by querying the RPC Port Mapper service for a remote server. NFS clients can only discover and communicate with a computer running Server for NFS. This monitor checks whether Server for NFS has successfully registered with the Service Control Manager.

Causes

This monitor can enter a Critical health state if Server for NFS has stopped either unexpectedly or by administrative action.

If the health state is unknown, it means that monitoring has not yet begun for this object.

Resolutions

Start Server for NFS

To start Server for NFS, at an elevated command prompt on the affected server type nfsadmin server start.

Verification

To verify Server for NFS startup status, use the following procedure:

1. At an elevated command prompt, type net start.

2. Verify that Server for NFS appears in the list of results.

This monitor automatically resets to a Healthy state after Server for NFS is restarted.

Additional

For more information about configuring Server for NFS, see Services for Network File System (http://go.microsoft.com/fwlink/?LinkId=185983).

Element properties:

TargetMicrosoft.Windows.FileServices.Service.NFS.10.0
Parent MonitorMicrosoft.Windows.FileServices.Service.NFS.10.0.Server.StartupState
CategoryCustom
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.FileServer.Service.NFS.State" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServices.Service.NFS.10.0" ParentMonitorID="Microsoft.Windows.FileServices.Service.NFS.10.0.Server.StartupState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>Custom</Category>
<OperationalStates>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<ServiceName>NfsService</ServiceName>
</Configuration>
</UnitMonitor>