Skip to content

Commit c49edbc

Browse files
authored
Slight changes to readme.md
1 parent d7bb940 commit c49edbc

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -129,21 +129,13 @@ mvn package
129129
To run exporter, dependency-jars directory (and all jars in it) and
130130
mq_exporter.jar should be located in the same folder.
131131

132-
##### Running exporter as standalone java application
133-
134-
To run exporter execute the following command:
135-
136-
```shell
137-
java -jar mq_exporter.jar /opt/mq_exporter/exporter_config.yaml
138-
```
139-
The only input parameter is the path to your configuration file.
140-
141132
##### Running exporter as mq service
142133

134+
It is recommended way of running the exporter. **Note**: all commands
135+
should be executed via MQ CLI. More info can be found [here](https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_9.0.0/com.ibm.mq.ref.adm.doc/q083460_.htm).
136+
143137
Define queue manager service with the following command:
144138

145-
(**Note**: this
146-
command should be executed via MQ CLI. More info [here](https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_9.0.0/com.ibm.mq.ref.adm.doc/q083460_.htm))
147139
```mq
148140
DEFINE SERVICE(MQEXPORTER) CONTROL(QMGR) SERVTYPE(SERVER) +
149141
STARTCMD('/opt/mqm/java/jre64/jre/bin/java') +
@@ -167,7 +159,15 @@ The only input parameter is the path to your configuration file.
167159
```mq
168160
STOP SERVICE(MQEXPORTER)
169161
```
170-
162+
##### Running exporter as standalone java application
163+
164+
To run exporter execute the following command:
165+
166+
```shell
167+
java -jar mq_exporter.jar /opt/mq_exporter/exporter_config.yaml
168+
```
169+
The only input parameter is the path to your configuration file.
170+
171171
## Metrics
172172
#### Platform central processing units
173173
###### CPU performance - platform wide

0 commit comments

Comments
 (0)