File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -89,19 +89,19 @@ qmgrConnectionParams:
89
89
# How long to wait until metrics are published by queue manager (milliseconds).
90
90
# Value must be at least 10000 (periodicity with which metrics are published by MQ).
91
91
connTimeout : 12000
92
- # Use TLS connection to queue manager?
92
+ # Use TLS connection to queue manager? If useTLS equals "false" than all connection parameters below will be ignored.
93
93
useTLS : true
94
94
# Path to keystore file
95
95
keystorePath : /opt/mq_exporter/keystores/keystore.jks
96
- # keystore password
96
+ # Keystore password
97
97
keystorePassword : testpass2
98
- # path to truststore file
98
+ # Path to truststore file
99
99
truststorePath : /opt/mq_exporter/keystores/truststore.jks
100
- # truststore password
100
+ # Truststore password
101
101
truststorePassword : testpass2
102
102
# SSL protocol
103
103
sslProtocol : TLSv1.2
104
- # cipherSuite
104
+ # CipherSuite
105
105
cipherSuite : TLS_RSA_WITH_AES_256_CBC_SHA256
106
106
107
107
# Prometheus connection information -------------------------------
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ public Config(String path) {
69
69
this .scrapeInterval = (Integer ) pcfParameters .get ("scrapeInterval" );
70
70
boolean useTLS = (boolean ) qmgrConnectionParams .get ("useTLS" );
71
71
if (useTLS ) {
72
- logger .info ( "secured connection to queue manager will be used" );
72
+ logger .debug ( "Secured connection to queue manager will be used" );
73
73
mqSecurityProperties = new MQSecurityProperties (
74
74
useTLS ,
75
75
(String ) qmgrConnectionParams .get ("keystorePath" ),
@@ -80,7 +80,7 @@ public Config(String path) {
80
80
(String ) qmgrConnectionParams .get ("cipherSuite" )
81
81
);
82
82
} else {
83
- logger .info ( "unsecured connection to queue manager will be used" );
83
+ logger .debug ( "Unsecured connection to queue manager will be used" );
84
84
}
85
85
logger .info ("Successfully parsed configuration file!" );
86
86
}
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ qmgrConnectionParams:
19
19
# How long to wait until metrics are published by queue manager (milliseconds).
20
20
# Value must be at least 10000 (periodicity with which metrics are published by MQ).
21
21
connTimeout : 12000
22
- # Use TLS connection to queue manager?
22
+ # Use TLS connection to queue manager? If useTLS equals "false" than all connection parameters below will be ignored.
23
23
useTLS : true
24
24
# Path to keystore file
25
25
keystorePath : /opt/mq_exporter/keystores/keystore.jks
You can’t perform that action at this time.
0 commit comments