NFS: Netgroup NIS Connection

Microsoft.Windows.FileServices.Service.NFS.10.0.Server.NetgroupNISConnection (UnitMonitor)

This object monitors the connection to the configured NIS server and generates an alert if Server for NFS cannot connect to the NIS server, if the alert is enabled for this monitor.

Knowledge Base article:

Summary

This object monitors the connection to the configured NIS server and generates an alert if Server for NFS cannot connect to the NIS server, if the alert is enabled for this monitor.

Services for NFS supports Network Information Service (NIS) and RFC 2307-based netgroups. Netgroups are used to create network-wide named groups of hosts. Netgroups simplify the control of user and group logon and shell access to remote computers, and enable system administrators to more easily manage NFS access control lists.

Causes

This monitor can enter a Critical health state because the NFS server is unable to access the NIS or RFC 2307-based store where the netgroup configuration is stored. The most likely causes are:

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

Resolutions

Determine location of NetGroup Source

If the NFS server is unable to access the netgroup store, determine if the location of the NIS or RFC 2307-based NetGroup Source is accurate by using the following procedure:

1. At an elevated command prompt on the affected server, type nfsadmin server.

2. Verify that the netgroup settings NIS Domain and NIS Server display the intended NetGroup Source.

3. Verify that network connectivity exists between the NFS server and the NIS or RFC 2307-based store where netgroups are configured as follows:

Verify Server for NFS is configured appropriately to access NIS server

Verify that Server for NFS is correctly configured to access the NIS server as follows:

1. At an elevated command prompt on the affected server, type nfsadmin server.

2. Verify that Protocol for NIS is UDP, TCP, or both, and is compatible with the protocol allowed at the NIS source computer as determined from the output of the command rpcinfo.exe [computername].

Verification

To verify that Server for NFS is connected to the NIS server, restart Server for NFS as follows:

1. At an elevated command prompt on the affected server, type nfsadmin server stop.

2. Type nfsadmin server start.

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 MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
NFS: Netgroup NIS Connection
Event Description: {0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.FileServices.Service.NFS.10.0.Server.NetgroupNISConnection" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServices.Service.NFS.10.0" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.FileServices.Service.NFS.10.0.Server.NetgroupNISConnection_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="FirstEventRaised" MonitorTypeStateID="FirstEventRaised" HealthState="Warning"/>
<OperationalState ID="SecondEventRaised" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>Microsoft-Windows-ServicesForNFS-Server/Admin</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1069</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-ServicesForNFS-Server</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>Microsoft-Windows-ServicesForNFS-Server/Admin</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1000</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-ServicesForNFS-Server</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>