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/sap/monitor/provider-linux.md
+28-1Lines changed: 28 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ This content applies to both versions of the service, *Azure Monitor for SAP sol
21
21
22
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](quickstart-portal.md) or the [quickstart for PowerShell](quickstart-powershell.md).
24
-
- Install the [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 the [node exporter latest version](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
25
26
26
To install the node exporter on Linux:
27
27
@@ -35,6 +35,26 @@ To install the node exporter on Linux:
35
35
36
36
1. The node exporter now starts collecting data. You can export the data at `http://IP:9100/metrics`.
37
37
38
+
## Script to setup Node Exporter
39
+
40
+
```shell
41
+
# To get the latest node exporter version from: https://prometheus.io/download/#node_exporter
To [enable TLS 1.2 or higher](enable-tls-azure-monitor-sap-solutions.md), follow the steps [mentioned here](https://prometheus.io/docs/guides/tls-encryption/)
@@ -90,6 +110,13 @@ When the provider settings validation operation fails with the code ‘Prometheu
90
110
1. Run `sudo crontab -e` command to open cron file.
91
111
1. Add the command `@reboot cd /path/to/node/exporter && nohup ./node_exporter &` at the end of cron file. This will start node exporter on VM reboot.
92
112
113
+
```shell
114
+
sudo crontab -l > crontab_new
115
+
echo"@reboot cd /path/to/node/exporter && nohup ./node_exporter &">> crontab_new
0 commit comments