Basic service call

Microsoft.Dynamics.AX6.ManagementPack.AOS.Monitoring.AOSEndToEnd.BasicServiceCallMonitor (UnitMonitor)

Contains the code and logic required to monitor basic service calls for all AOS instances

Knowledge Base article:

Summary

A basic call to the Application Object Server (AOS) has failed.

Causes

The service call may fail for any number of reasons • The user account associated with the Microsoft Dynamics AX 2012 administrator account does not have the appropriate privileges to execute services calls. • The Windows Communication Foundation service on the AOS computer may not be running. • The metadata services URI for the AOS cannot be reached. • Required services have not been deployed to the AOS.

Resolutions

• View the event log on the AOS that is used for availability monitoring. This AOS can be found in the Object Diagram for the environment. Select the node in the Object Diagram for the service call monitor. The AOS computer is the computer name in the Name field. • Verify that the account associated with the Microsoft Dynamics AX 2012 administrator account in Operations Manager has been assigned either the Sysadmin or IT admin role in Microsoft Dynamics AX. • Verify that the AOS service is being monitored by Operations Manager, and is running on the AOS computer. • Verify that the required services are deployed from within the Microsoft Dynamics AX 2012 client. In the client, click System administration, in the Setup section, click Services and Application Integration Framework, and then click Inbound ports. • Verify that the metadata services URI is accessible.

Element properties:

TargetMicrosoft.Dynamics.AX6.ManagementPack.ClassLibrary.Perspective.AOSServiceCallsCheck
Parent MonitorSystem.Health.AvailabilityState
CategoryCustom
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveFalse
Monitor TypeMicrosoft.Dynamics.AX6.ManagementPack.AOS.Monitoring.AOSEndToEnd.BasicServiceCall
RemotableTrue
AccessibilityPublic
RunAsMicrosoft.Dynamics.AX6.ManagementPack.ClassLibrary.AxDbReaderAccount

Source Code:

<UnitMonitor ID="Microsoft.Dynamics.AX6.ManagementPack.AOS.Monitoring.AOSEndToEnd.BasicServiceCallMonitor" Accessibility="Public" Enabled="true" Target="MicrosoftDynamicsAX6ManagementPackClassLibrary!Microsoft.Dynamics.AX6.ManagementPack.ClassLibrary.Perspective.AOSServiceCallsCheck" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" RunAs="MicrosoftDynamicsAX6ManagementPackClassLibrary!Microsoft.Dynamics.AX6.ManagementPack.ClassLibrary.AxDbReaderAccount" TypeID="Microsoft.Dynamics.AX6.ManagementPack.AOS.Monitoring.AOSEndToEnd.BasicServiceCall" ConfirmDelivery="true">
<Category>Custom</Category>
<OperationalStates>
<OperationalState ID="UIGeneratedOpStateIded7d63e3017448b5b71e16ba75096d18" MonitorTypeStateID="IsHealthy" HealthState="Success"/>
<OperationalState ID="UIGeneratedOpStateIdf95d9ea60c6a49a3a55f672a7c5ce5e9" MonitorTypeStateID="IsNotHealthy" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>600</IntervalSeconds>
</Configuration>
</UnitMonitor>