Skip to content

Commit 2e2b36e

Browse files
committed
examples: vucm: snmp-eaton-ups: readme: run prettier
1 parent 518a159 commit 2e2b36e

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

examples/vucm/snmp-eaton-ups/README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Eaton UPS Standalone UCM (SNMP)
1+
# Eaton UPS Standalone UCM (SNMP)
22

33
This example describes the implementation of the [Standalone UCM](https://handbook.enapter.com/software/virtual_ucm/) concept using the opensource [Enapter python-sdk](https://github.com/Enapter/python-sdk) for monitoring Eaton UPS using SNMP protocol.
44

@@ -16,7 +16,7 @@ SNMP Port: 161
1616

1717
It is recommended to run this UCM using Docker and Docker Compose. This will ensure that environment is correct.
1818

19-
The UPS must be reachable from the computer where the Docker Container will be running. You can check availability and settings with `snmpget` command on Linux or Mac:
19+
The UPS must be reachable from the computer where the Docker Container will be running. You can check availability and settings with `snmpget` command on Linux or Mac:
2020

2121
```bash
2222
user@pc snmp-eaton-ups % snmpget -v1 -c public 192.168.192.192:161 1.3.6.1.2.1.33.1.1.1.0
@@ -33,7 +33,7 @@ More information you can find on [this page](https://developers.enapter.com/docs
3333

3434
## Step 2. Upload Blueprint into the Cloud
3535

36-
The general case [Enapter Blueprint](https://marketplace.enapter.com/about) consists of two files - declaration in YAML format (manifest.yaml) and logic written in Lua. Howerver for this case the logic is written in Python as Lua implementation doesn't have SNMP integration.
36+
The general case [Enapter Blueprint](https://marketplace.enapter.com/about) consists of two files - declaration in YAML format (manifest.yaml) and logic written in Lua. Howerver for this case the logic is written in Python as Lua implementation doesn't have SNMP integration.
3737

3838
But for both cases we need to tell Enapter Cloud which telemetry we are going to send and store and how to name it.
3939

@@ -60,21 +60,21 @@ Set environment variables according to your configuration settings. With dummy s
6060
version: "3"
6161
services:
6262
snmp-eaton-ups-ucm:
63-
build: .
63+
build: .
6464
image: enapter-vucm-examples/snmp-eaton-ups:latest
6565
environment:
66-
- 'ENAPTER_VUCM_BLOB=REALENAPTERVUCMBLOBMUSTBEHERE='
67-
- 'ENAPTER_SNMP_HOST=192.168.192.192'
68-
- 'ENAPTER_SNMP_PORT=161'
69-
- 'ENAPTER_SNMP_COMMUNITY=public'
66+
- "ENAPTER_VUCM_BLOB=REALENAPTERVUCMBLOBMUSTBEHERE="
67+
- "ENAPTER_SNMP_HOST=192.168.192.192"
68+
- "ENAPTER_SNMP_PORT=161"
69+
- "ENAPTER_SNMP_COMMUNITY=public"
7070
```
7171
7272
## Step 4. Build Docker Image with Standalone UCM
7373
74-
> You can you can skip this step and go directly to th Step 5.
74+
> You can you can skip this step and go directly to th Step 5.
7575
> Docker Compose will automatically build your image before starting container.
7676
77-
Build your Docker image by running `bash docker_build.sh` command in directory with UCM.
77+
Build your Docker image by running `bash docker_build.sh` command in directory with UCM.
7878
7979
```bash
8080
user@pc snmp-eaton-ups % bash docker_build.sh
@@ -144,4 +144,4 @@ snmp-eaton-ups-snmp-eaton-ups-ucm-1 | {"time": "2023-07-20T15:50:01.570744", "l
144144
snmp-eaton-ups-snmp-eaton-ups-ucm-1 | {"time": "2023-07-20T15:50:21.776037", "level": "INFO", "name": "enapter.mqtt.client", "host": "10.1.1.47", "port": 8883, "message": "client ready"}
145145
```
146146
147-
On this step you can check that your UCM is now Online in the Cloud.
147+
On this step you can check that your UCM is now Online in the Cloud.

0 commit comments

Comments
 (0)