Skip to content

Commit e334307

Browse files
echerniaksberdyshev
authored andcommitted
issue23 added information about required permissions (#61)
* issue23 added information about required permissions * issue23 update according to PR comment * issue23 information about required permissions updated, default config file updated
1 parent 249e8e4 commit e334307

File tree

2 files changed

+29
-5
lines changed

2 files changed

+29
-5
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ qmgrConnectionParams:
8484
# Queue manager connection channel.
8585
qmgrChannel: SYSTEM.DEF.SVRCONN
8686
# Username, which will be used for connection (optional).
87+
# User must have permission to subscribe to the topic $SYS/MQ/INFO/QMGR/QM/Monitor/ and all subtopics.
88+
# User also must have permission to inquire channels, queues and listeners listed below in Monitoring objects section!
8789
user: mqm
8890
# Password, which will be used for connection (optional).
8991
password: mqm
@@ -104,6 +106,7 @@ prometheusEndpointParams:
104106
# under "MQ PCF API specific statistics" section.
105107
PCFParameters:
106108
# Collect additional metrics? If false, all settings in this section below are ignored.
109+
# If yes, additional metrics will be collected for all queues, channels and listeners listed below.
107110
sendPCFCommands: true
108111
# Use wildcards? If yes, only one PCF command will be send, matching all objects on queue manager. Otherwise, each
109112
# object will be monitored by separate PCF command.
Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,53 @@
11
# MQ connection information -------------------------------
22
qmgrConnectionParams:
3+
# Queue manager name.
34
qmgrName: QM
5+
# Queue manager host.
46
qmgrHost: hostname
7+
# Queue manager connection port.
58
qmgrPort: 1414
9+
# Queue manager connection channel.
610
qmgrChannel: SYSTEM.DEF.SVRCONN
11+
# Username, which will be used for connection (optional).
12+
# User must have permission to subscribe to the topic $SYS/MQ/INFO/QMGR/QM/Monitor/ and all subtopics.
13+
# User also must have permission to inquire channels, queues and listeners listed below in Monitoring objects section!
714
user: mqm
15+
# Password, which will be used for connection (optional).
816
password: mqm
17+
# Use MQCSP for connection?
918
mqscp: false
1019

1120
# Prometheus connection information -------------------------------
1221
prometheusEndpointParams:
22+
# URL and port which will be used to expose metrics for Prometheus.
1323
url: /metrics
1424
port: 8080
1525

1626

1727
# Monitoring objects ----------------------------------
18-
28+
# This block refers to collecting of additional metrics.
29+
# If there are any queues, channels or listeners in the config file below,
30+
# these metrics may be useful for you. (More info about additional metrics is located
31+
# under "MQ PCF API specific statistics" section.
1932
PCFParameters:
33+
# Collect additional metrics? If false, all settings in this section below are ignored.
34+
# If yes, additional metrics will be collected for all queues, channels and listeners listed below.
2035
sendPCFCommands: true
36+
# Use wildcards? If yes, only one PCF command will be send, matching all objects on queue manager. Otherwise, each
37+
# object will be monitored by separate PCF command.
2138
usePCFWildcards: true
39+
# Interval in seconds between sending PCF commands.
2240
scrapeInterval: 10
2341

42+
# Monitored queues.
2443
queues:
25-
- TEST.QUEUE.1
26-
- TEST.QUEUE.2
44+
- QUEUE1
45+
- QUEUE2
2746

47+
# Monitored listeners.
2848
listeners:
2949
- LISTENER01
30-
50+
51+
# Monitored channels.
3152
channels:
32-
- TEST.CHANNEL
53+
- MANAGEMENT.CHANNEL

0 commit comments

Comments
 (0)