You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/workloads/sap/configure-linux-os-azure-monitor-sap-solutions.md
+31-10Lines changed: 31 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,15 +13,24 @@ ms.author: sujaj
13
13
14
14
[!INCLUDE [Azure Monitor for SAP solutions public preview notice](./includes/preview-azure-monitor.md)]
15
15
16
-
In this how-to guide, you'll learn to create a Linux OS provider for *Azure Monitor for SAP solutions* resources.
16
+
In this how-to guide, you'll learn to create a Linux OS provider for *Azure Monitor for SAP solutions* resources.
17
17
18
18
This content applies to both versions of the service, *Azure Monitor for SAP solutions* and *Azure Monitor for SAP solutions (classic)*.
19
19
20
20
## Prerequisites
21
21
22
-
- An Azure subscription.
22
+
- An Azure subscription.
23
23
- An existing Azure Monitor for SAP solutions resource. To create an Azure Monitor for SAP solutions resource, see the [quickstart for the Azure portal](azure-monitor-sap-quickstart.md) or the [quickstart for PowerShell](azure-monitor-sap-quickstart-powershell.md).
24
-
- Install [node exporter version 1.3.0](https://prometheus.io/download/#node_exporter) in each SAP host that you want to monitor, either BareMetal or Azure virtual machine (Azure VM). For more information, see [the node exporter GitHub repository](https://github.com/prometheus/node_exporter).
24
+
- Install [node exporter version 1.3.0](https://prometheus.io/download/#node_exporter) in each SAP host that you want to monitor, either BareMetal or Azure virtual machine (Azure VM). For more information, see [the node exporter GitHub repository](https://github.com/prometheus/node_exporter).
25
+
26
+
### Steps to install node exporter:
27
+
You can follow the step by step [guide to install node exporter on linux system](https://prometheus.io/docs/guides/node-exporter/):
- The node exporter now will start collecting data, and can be exported at the following address:
33
+
-`http://IP:9100/metrics`
25
34
26
35
## Create Linux provider
27
36
@@ -31,18 +40,30 @@ This content applies to both versions of the service, *Azure Monitor for SAP sol
31
40
1. Select **Add provider**.
32
41
1. Configure the following settings for the new provider:
33
42
1. For **Type**, select **OS (Linux)**.
34
-
1. For **Name**, enter a name that will be the identifier for the BareMetal instance.
35
-
1. For **Node Exporter Endpoint**, enter `http://IP:9100/metrics`.
43
+
1. For **Name**, enter a name that will be the identifier for the BareMetal instance.
44
+
1. For **Node Exporter Endpoint**, enter `http://IP:9100/metrics`.
36
45
1. For the IP address, use the private IP address of the Linux host. Make sure the host and Azure Monitor for SAP solutions resource are in the same virtual network.
37
-
1. Open firewall port 9100 on the Linux host.
38
-
1. If you're using `firewall-cmd`, run `_firewall-cmd_ _--permanent_ _--add-port=9100/tcp_ ` then `_firewall-cmd_ _--reload_`.
39
-
1. If you're using `ufw`, run `_ufw_ _allow_ _9100/tcp_` then `_ufw_ _reload_`.
40
-
1. If the Linux host is an Azure virtual machine (VM), make sure that all applicable network security groups (NSGs) allow inbound traffic at port 9100 from **VirtualNetwork** as the source.
41
-
1. Select **Add provider** to save your changes.
46
+
1. Open firewall port 9100 on the Linux host.
47
+
1. If you're using `firewall-cmd`, run `_firewall-cmd_ _--permanent_ _--add-port=9100/tcp_ ` then `_firewall-cmd_ _--reload_`.
48
+
1. If you're using `ufw`, run `_ufw_ _allow_ _9100/tcp_` then `_ufw_ _reload_`.
49
+
1. If the Linux host is an Azure virtual machine (VM), make sure that all applicable network security groups (NSGs) allow inbound traffic at port 9100 from **VirtualNetwork** as the source.
50
+
1. Select **Add provider** to save your changes.
42
51
1. Continue to add more providers as needed.
43
52
1. Select **Review + create** to review the settings.
44
53
1. Select **Create** to finish creating the resource.
45
54
55
+
## Trouble shooting guide for common exceptions
56
+
57
+
### Unable to reach the prometheus endpoint
58
+
The provider settings validation operation has failed with code ‘PrometheusURLConnectionFailure’.
59
+
60
+
1. Open firewall port 9100 on the Linux host.
61
+
1. If you're using `firewall-cmd`, run `_firewall-cmd_ _--permanent_ _--add-port=9100/tcp_ ` then `_firewall-cmd_ _--reload_`.
62
+
1. If you're using `ufw`, run `_ufw_ _allow_ _9100/tcp_` then `_ufw_ _reload_`.
63
+
1. Try to restart the node exporter agent:
64
+
1. cd to the folder where you installed the node exporter. (node_exporter-*.*-amd64)
0 commit comments