How Can I Monitor My Project Using Salesforce? (Magic xpi 4.5)
The Magic xpi Force.com monitoring utility gives you a high level view of the health of your Magic xpi clusters.
You can monitor your Magic xpi environments, view running projects, receive alerts, and get chatter notification about various events. This topic explains how to set up and use the monitoring utility.
To set up the Salesforce monitoring utility:
-
Install the Magic xpi app from the Salesforce AppExchange. For information about how to do this, click here.
-
In the Magic xpi installation folder, open the SFDC_Monitor_Utility folder and double-click the SFDC_MonitorSetup.exe file. The Salesforce Monitor Configuration dialog box opens. This dialog box contains the following properties:
-
Environment Name: The name that you want to use to represent the environment in Salesforce.
-
Environment ID: This is a read-only field that displays a randomly generated string of 30 characters. This is used by Salesforce as a unique environment key.
-
Endpoint URL: The Salesforce organization's login endpoint URL. The default value of this field is https://login.salesforce.com.
-
Proxy Host:Port: The proxy definitions that will be used by both the runtime part and configuration part of the monitoring utility. The default value is empty.
-
Once you have entered the required parameters, you need to complete the OAuth authorization flow. To do this, click the OAuth2 button.
-
In the OAuth2View window, enter your Salesforce credentials. Once your credentials are accepted, a green check mark will appear next to the Salesforce Monitor Configuration dialog box’s OAuth Refresh Token Status field.
-
Click the Validate button to verify the connection to Salesforce.
To use the Salesforce monitoring utility:
-
Run your Magic xpi project.
-
In the Magic xpi installation folder, open the SFDC_Monitor_Utility folder and double-click the start.bat file. This starts the runtime utility that pushes Magic xpi project data to Salesforce. If you want to run the utility as a Windows OS service, you first need to run the SFDCserviceInstall.bat file, located in the <Magic xpi installation>\SFDC_Monitor_Utility\OS_Service folder. This will create an MgcxpiSFDCUtil service that you can then set to run either manually or automatically.
-
Log in to https://login.salesforce.com with your credentials.
-
Click the Environments tab. If this tab is not available, you can add it. To do this, go to the App Setup area, click on Create, and then select Tabs.
-
In the Recent Environments area, under Environment Name, you should see the name of the environment that you created in the setup procedure (above).
-
Click on the environment name link to see the monitoring information.
-
The Environment Detail screen displays information such as the environment’s name and status, and also shows the following data in dedicated sections:
-
Space Information
-
System Information
-
Alerts Report
-
Alerts
-
Projects
-
In the Projects section of the Environment Detail screen, you can click on a specific project name to get the following information:
-
Project Detail
-
Activities
-
System Information
-
Alerts Report
-
Alerts