Skip to content

Commit

Permalink
updating dene's pr
Browse files Browse the repository at this point in the history
  • Loading branch information
tynevi committed May 8, 2015
1 parent 93321ff commit 5e150a0
Show file tree
Hide file tree
Showing 15 changed files with 517 additions and 517 deletions.
5 changes: 0 additions & 5 deletions .gitignore

This file was deleted.

60 changes: 30 additions & 30 deletions articles/operational-insights-troubleshoot-dataflow.md
@@ -1,19 +1,19 @@
<properties
pageTitle="Operational Insights - Troubleshoot Agents or Operations Manager Data Flow"
description="Learn how to troubleshoot issues with directly-connected agents and Operations Manager data flow to Azure Operational Insights"
services="operational-insights"
documentationCenter=""
authors="dani3l3"
manager="jwhit"
<properties
pageTitle="Operational Insights - Troubleshoot Agents or Operations Manager Data Flow"
description="Learn how to troubleshoot issues with directly-connected agents and Operations Manager data flow to Azure Operational Insights"
services="operational-insights"
documentationCenter=""
authors="dani3l3"
manager="jwhit"
editor=""/>

<tags
ms.service="operational-insights"
ms.workload="tbd"
ms.tgt_pltfrm="na"
ms.devlang="na"
ms.topic="article"
ms.date="04/30/2015"
<tags
ms.service="operational-insights"
ms.workload="tbd"
ms.tgt_pltfrm="na"
ms.devlang="na"
ms.topic="article"
ms.date="04/30/2015"
ms.author="dmuscett"/>

#Troubleshoot agents or Operations Manager data flow to Operational Insights
Expand All @@ -25,18 +25,18 @@ The following set of procedures is meant as a guide to help you troubleshoot you
##Procedure 1: Validate if the right Management Packs get downloaded to your Operations Manager Environment
*Note: If you only use Direct Agent, you can skip to the next procedure.*

Depending on which Intelligence Packs you have enabled from the OpInsights Portal will you see more or less of these MPs. Search for keyword ‘Advisor’ or ‘Intelligence’ in their name.
Depending on which Intelligence Packs you have enabled from the OpInsights Portal will you see more or less of these MPs. Search for keyword ‘Advisor’ or ‘Intelligence’ in their name.
You can check for these MPs using OpsMgr PowerShell:

Get-SCOMManagementPack | where {$_.DisplayName -match 'Advisor'} | Select Name,Sealed,Version
Get-SCOMManagementPack | where {$_.Name -match 'IntelligencePacks'} | Select Name,Sealed,Version

Note: if you are troubleshooting Capacity Intelligence Pack, check HOW MANY management packs with the name containing ‘capacity’ you have: there are two management packs that have the same display name (but different internal ID’s) that come in the same MP bundle; if one of the two does not get imported (often due to missing VMM dependency) the other MP does not get imported and the operation does not retry.

You should see the following three MPs related to ‘capacity’
1. Microsoft System Center Advisor Capacity Intelligence Pack
1. Microsoft System Center Advisor Capacity Intelligence Pack
1. Microsoft System Center Advisor Capacity Storage Data
1. Microsoft System Center Advisor Capacity Intelligence Pack
1. Microsoft System Center Advisor Capacity Intelligence Pack
1. Microsoft System Center Advisor Capacity Storage Data

If you only see one or two of them but not all three, remove it and wait 5/10 minutes for Operations Manager to download and import it again – check the event logs for errors during this period.

Expand All @@ -49,18 +49,18 @@ In Direct Agent you should see the Intelligence Packs collection policy being ca
##Procedure 3: Validate if data is being sent up to the Advisor service (or at last attempted)
Depending if you are using Directly-connected agents or Operations Manager, you can perform the following procedure on the direct agent machine or on the Operations Manager management server:

1. - Open ‘Performance Monitor’
1. - Open ‘Performance Monitor’
1. - Select ‘Health Service Management Groups’
1. - Add all the counters that start with ‘HTTP’

If things are configured right you should see activity for these counters, as events and other data items (based on the intelligence packs onboarded in the portal, and the configured log collection policy) are uploaded. Those counters don’t necessarily have to be continuously ‘busy’ - if you see little to no activity it might be that you are not onboarded on many intelligence packs or have a very lightweight collection policy.
If things are configured right you should see activity for these counters, as events and other data items (based on the intelligence packs onboarded in the portal, and the configured log collection policy) are uploaded. Those counters don’t necessarily have to be continuously ‘busy’ - if you see little to no activity it might be that you are not onboarded on many intelligence packs or have a very lightweight collection policy.

##Procedure 4: Check for Errors on the Management Server or Direct Agent Event Logs
##Procedure 4: Check for Errors on the Management Server or Direct Agent Event Logs
As a final step if all of the above fails but you still see no data received by the service, check if you are seeing any errors in **Event Viewer**.

Open **Event Viewer** –> **Application and Services** –> **Operations Manager** and filter by Event Sources: **Advisor**, **Health Service Modules**, **HealthService** and **Service Connector** (this last one applies to Direct Agent only).
Open **Event Viewer** –> **Application and Services** –> **Operations Manager** and filter by Event Sources: **Advisor**, **Health Service Modules**, **HealthService** and **Service Connector** (this last one applies to Direct Agent only).

Most of these events would be similar in either Operations Manager and on Direct Agent and the steps for troubleshooting would be similar for either.
Most of these events would be similar in either Operations Manager and on Direct Agent and the steps for troubleshooting would be similar for either.
The only part that differs between Operations Manager and Direct Agent is the registration process (GUI in Operations Manager; workspace Id/Key combination in Direct agent) but, after initial registration, certificates are exchanges and used and everything else about the communication with the service is the same.

Hence, many of these events apply to both types of reporting infrastructure. Here's a list of the common ones you might see.
Expand All @@ -76,17 +76,17 @@ Operations Manager cannot read the authentication certificate. Re-running the Ad
Means **Not Authorized**. Could be an issue with the certificate and/or registration to the service; try re-running the registration wizard that will fix certificates and RunAs accounts. Additionally, verify the proxy has been set to allow exclusions. For more information see [configure proxy servers](https://msdn.microsoft.com/library/azure/dn884643.aspx)

#####EventID 2129
This is a failed connection due to failed SSL negotiation. Verify that your systems are configured to use TLS and not SSL. There could be some strange SSL settings on this server with regards to chipers, either in the Internet Explorer **Advanced** options, or in the Windows registry under the key
This is a failed connection due to failed SSL negotiation. Verify that your systems are configured to use TLS and not SSL. There could be some strange SSL settings on this server with regards to chipers, either in the Internet Explorer **Advanced** options, or in the Windows registry under the key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL

#####EventID 2127
Failure sending data received error code. If this only happens once in a while, it could be just a glitch. Keep an eye on it, to understand how often it happens. If the same appears very often (every 10 minutes or so for an extended period of time), then it could be a real issue – check your network configuration, proxy settings described above, and re-run registration wizard. But if it only happens sporadically (i.e. a couple of times per day) then everything should be fine, as data will be queued and retransmitted. It's probably just a network timeout if that's the frequency at which it occurs.

Some of the HTTP error codes have some special meanings, i.e.:
Some of the HTTP error codes have some special meanings, i.e.:

- the FIRST time that a MMA direct agent or management server tries to send data to our service, it will get a 500 error with an inner 404 error code – 404 means not found; this indicates that the storage area we’ll use for this new workspace of yours isn’t quite ready yet – it is being provisioned. On next retry, this will however be ready and flow will start working (under normal conditions).
- 403 might indicate a permission/credential issue, and so forth.
- 403 might indicate a permission/credential issue, and so forth.

#####EventID 2128
DNS name resolution failed. You server can’t resolve our internet address it is supposed to send data to. This might be DNS resolver settings on your machine, incorrect proxy settings, or a (temporary) issue with DNS at your provider. Like the previous event, depending if it happens constantly or ‘once in a while’ it could indicate a real issue – or not.
Expand All @@ -103,14 +103,14 @@ This error indicates you have old DLLs on your machine, that don’t contain the
Module crashed. If you see this for workflows with names such as **CollectInstanceSpace** or **CollectTypeSpace** it might mean the server is having issues to send some configuration data. Depending on how often it happens - constantly or ‘once in a while’ - it could be an issue or not. If it happens more that every hour it is definitely an issue. If only fails this operation once or twice per day, it will be fine an able to recover. Depending on how the module actually fails (description will have more details) this could be an on-premises issue – i.e. to collect to DB – or an issue sending to the cloud. Verify your network and proxy settings, and worst case try restarting the HealthService.

#####EventID 4501
Module "System.PublishDataToEndPoint" crashed. A module of type "System.PublishDataToEndPoint" reported an error 87L which was running as part of rule "Microsoft.SystemCenter.CollectAlertChangeDataToCloud" running for instance "Operations Manager Management Group" with id:"{6B1D1BE8-EBB4-B425-08DC-2385C5930B04}" in management group "SCOMTEST".
Module "System.PublishDataToEndPoint" crashed. A module of type "System.PublishDataToEndPoint" reported an error 87L which was running as part of rule "Microsoft.SystemCenter.CollectAlertChangeDataToCloud" running for instance "Operations Manager Management Group" with id:"{6B1D1BE8-EBB4-B425-08DC-2385C5930B04}" in management group "SCOMTEST".
You should NOT see this with this exact workflow, module and error anymore, it used to be [a bug *now fixed*](http://feedback.azure.com/forums/267889-azure-operational-insights/suggestions/6714689-alert-management-intelligence-pack-not-sending-ale). If you see this again please report it thru your preferred Microsoft support channel.


### Events from source 'Service Connector'
#####EventID 4002
The service returned HTTP status code 403 in response to a query. Please check with the service administrator for the health of the service. The query will be retried later. You can get a 403 during the agent’s initial registration phase, you’ll see a URL like https://<YourWorkspaceID>.oms.opinsights.azure.com/ AgentService.svc/AgentTopologyRequest
Error code 403 means ‘fordbidden’ – this is typically a wrongly-copied WorkspaceId or key, or the clock is not synced on the machine. Try synchronising with a reliable time source and use the connectivity check in the Control Panel applet for Microsoft Monitoring Agent to verify you have the right workspace Id and Key.
Error code 403 means ‘fordbidden’ – this is typically a wrongly-copied WorkspaceId or key, or the clock is not synced on the machine. Try synchronising with a reliable time source and use the connectivity check in the Control Panel applet for Microsoft Monitoring Agent to verify you have the right workspace Id and Key.



Expand Down
50 changes: 24 additions & 26 deletions articles/partner-sencha-mobile-services-get-started.md
@@ -1,11 +1,10 @@

<properties
pageTitle="Get Started with Azure Mobile Services and Sencha"
description="Follow this tutorial to get started developing with Mobile Services and the Sencha HTML5 mobile app framework."
services="mobile-services"
documentationCenter=""
authors="ggailey777"
manager="dwrede"
<properties
pageTitle="Get Started with Azure Mobile Services and Sencha"
description="Follow this tutorial to get started developing with Mobile Services and the Sencha HTML5 mobile app framework."
services="mobile-services"
documentationCenter=""
authors="ggailey777"
manager="dwrede"
editor=""/>

<tags
Expand All @@ -17,7 +16,6 @@
ms.date="04/24/2015"
ms.author="glenga"/>


# <a name="getting-started"> </a>Get started with Mobile Services and Sencha Touch

[AZURE.INCLUDE [mobile-services-selector-get-started](../includes/mobile-services-selector-get-started.md)]
Expand Down Expand Up @@ -91,13 +89,13 @@ The extension for Azure is installed either manually or as a Sencha Package. The

###Manual installation

In most Touch applications, if you wish to add an external library of classes, you simply download the package, unpack it in your application directory and configure the Touch loader with the location of the library.
In most Touch applications, if you wish to add an external library of classes, you simply download the package, unpack it in your application directory and configure the Touch loader with the location of the library.

You can manually add the Azure extensions to your application using the following steps:

1. Download the Azure extensions package from [here](https://market.sencha.com/extensions/sencha-touch-extensions-for-windows-azure). (You may use your Sencha Forums ID to access this area.)

2. Copy the Azure extensions package from the download directory to where you would ultimately want it to reside and unpack it :
2. Copy the Azure extensions package from the download directory to where you would ultimately want it to reside and unpack it :

$ cd /path/to/application
$ mv /download-location/azure.zip .
Expand All @@ -124,7 +122,7 @@ To download and install the Azure extensions package from the Sencha Packages re
"touch-azure"
]
}

2. Rebuild your application using **sencha cmd** to fetch and install the package:

$ sencha app build
Expand All @@ -135,12 +133,12 @@ Whichever command you run, Sencha Cmd will download and expand the package to yo

##Include and configure Azure

**Filename**: app.js
**Filename**: app.js

Now that the Azure extension has been downloaded and installed in your application directory, the next step is to tell your application where to find the source files, and to require those files:

1. Configure the Sencha Loader with the location of the source code:

Ext.Loader.setConfig({
enabled : true,
paths : {
Expand Down Expand Up @@ -246,7 +244,7 @@ The Azure proxy will automatically set all HTTP headers with the appropriate CRU
});


###Store your ToDo items
###Store your ToDo items

**Filename**: app/store/TodoItems.js

Expand Down Expand Up @@ -276,7 +274,7 @@ We also have some additional configuration options for the store such as specify

**Filename**: app/view/DataItem.js

Now that we have defined the structure of each ToDo item, and created a store to place all the records in, we should think about how we wish to display this information to the user of the app. We normally display information to the user through the use of **Views**. A view can be one of any number of Touch components, individually or combined with others.
Now that we have defined the structure of each ToDo item, and created a store to place all the records in, we should think about how we wish to display this information to the user of the app. We normally display information to the user through the use of **Views**. A view can be one of any number of Touch components, individually or combined with others.

The view below is comprised of a ListItem which defines how each record will be displayed along with some buttons which will accommodate actions to delete each item.

Expand Down Expand Up @@ -354,7 +352,7 @@ The view below is comprised of a ListItem which defines how each record will be

**Filename**: app/view/Main.js

Now that we have defined the layout of an individual ToDo list item (above) we want to wrap a full user interface around that list which defines the actual list of items, an application title, and a button to add a new task.
Now that we have defined the layout of an individual ToDo list item (above) we want to wrap a full user interface around that list which defines the actual list of items, an application title, and a button to add a new task.

Ext.define('Basic.view.Main', {
extend : 'Ext.dataview.List',
Expand Down Expand Up @@ -471,8 +469,8 @@ The final step in our application is to respond to button presses (delete, save,
failure: function (rec, operation) {
Ext.Msg.alert(
'Error',
Ext.util.Format.format('There was an error deleting this task.<br/><br/> Status Code: {0}<br/>Status Text: {1}',
operation.error.status,
Ext.util.Format.format('There was an error deleting this task.<br/><br/> Status Code: {0}<br/>Status Text: {1}',
operation.error.status,
operation.error.statusText)
);
}
Expand All @@ -496,8 +494,8 @@ The final step in our application is to respond to button presses (delete, save,
rec.reject(true);
Ext.Msg.alert(
'Error',
Ext.util.Format.format('There was an error updating this task.<br/><br/>Status Code: {0}<br/>Status Text: {1}',
operation.error.status,
Ext.util.Format.format('There was an error updating this task.<br/><br/>Status Code: {0}<br/>Status Text: {1}',
operation.error.status,
operation.error.statusText)
);
}
Expand All @@ -521,8 +519,8 @@ The final step in our application is to respond to button presses (delete, save,
rec.reject();
Ext.Msg.alert(
'Error',
Ext.util.Format.format('There was an error updating this task.<br/><br/>Status Code: {0}<br/>Status Text: {1}',
operation.error.status,
Ext.util.Format.format('There was an error updating this task.<br/><br/>Status Code: {0}<br/>Status Text: {1}',
operation.error.status,
operation.error.statusText)
);
}
Expand Down Expand Up @@ -564,8 +562,8 @@ The final step in our application is to respond to button presses (delete, save,
failure: function (rec, operation) {
Ext.Msg.alert(
'Error',
Ext.util.Format.format('There was an error creating this task.<br/><br/>Status Code: {0}<br/>Status Text: {1}',
operation.error.status,
Ext.util.Format.format('There was an error creating this task.<br/><br/>Status Code: {0}<br/>Status Text: {1}',
operation.error.status,
operation.error.statusText)
);
}
Expand Down Expand Up @@ -704,7 +702,7 @@ Then, dive into more information about the Sencha Touch Extensions for Azure:

* [Download Sencha Touch](http://pages.sencha.com/touch-for-azure.html)
* [Sencha Touch Extensions for Azure](https://market.sencha.com/extensions/sencha-touch-extensions-for-windows-azure)


##Summary

Expand Down

0 comments on commit 5e150a0

Please sign in to comment.