The MDM Mobile VPN agent is an ASP.NET HTTP handler associated with the Gateway Management Web site. This Web handler receives messages from GCM that contain VPN server configuration and blocked-device list settings. The Mobile VPN agent authorizes the message from GCM and performs validation on the message. It then pushes the configuration to the VPN service runtime. Therefore, if the Mobile VPN agent is not available, then the VPN runtime will not have the latest configuration as stored in the MDM database, or it may not have any working policy at all.
This aspect contains the VPN Agent Availability objects that you can monitor in the MDM Mobile VPN agent. These health monitors include the following detectors.
The MDM Mobile VPN agent may not be available for one of the following reasons:
To check if the World Wide Web Publishing Service is started, follow these steps:
To check if the Gateway Management Web site is running, follow these steps:
If it is experiencing a heavy workload, MDM Gateway Server may run out of memory, which prevents the Mobile VPN agent from initializing properly. In this case, you should restart MDM Gateway Server.
To resolve this issue, use the resolution that corresponds to the cause you identified in the Diagnoser section. After performing the resolution, see the Verifier section to confirm that the feature is operating properly.
To resolve this issue, use the resolution that corresponds to the cause you identified in the Diagnoser section. After performing the resolution, see the Verifier section to confirm that the feature is operating properly.
Target | Microsoft.SystemCenter.MobileDeviceManager.2008.1_0.VPNAgent.ClassType | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | StateCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.2SingleEventLog2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.SystemCenter.MobileDeviceManager.2008.1_0.VPNAgent.VPNAgentAvailability.MDMMobileVPNPolicyEngine.NewDiagnoser.EventBased.UnitMonitor" Accessibility="Public" Enabled="onEssentialMonitoring" Target="Microsoft.SystemCenter.MobileDeviceManager.2008.1_0.VPNAgent.ClassType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.MobileDeviceManager.2008.1_0.VPNAgent.VPNAgentAvailability.MDMMobileVPNPolicyEngine.NewDiagnoser.EventBased.UnitMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Success" MonitorTypeStateID="FirstEventRaised" HealthState="Success"/>
<OperationalState ID="Negative" MonitorTypeStateID="SecondEventRaised" HealthState="Error"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>MDM Mobile VPN Policy Engine</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Gateway</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>12100</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>MDM Mobile VPN Policy Engine</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Gateway</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>12101</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>