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: README.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,8 +24,7 @@ file if you wish to reload all of the dependencies by running `go mod vendor`.
24
24
25
25
You will require the following programs:
26
26
27
-
* Go compiler. This should be at least version 12. If you see an error similar to "ld: NULL not defined"
28
-
then it is likely you need to upgrade your compiler.
27
+
* Go compiler. This should be at least version 13.
29
28
30
29
To build the programs on Linux and MacOS, you may set an environment variable to permit some compile/link flags.
31
30
This is due to security controls in the compiler.
@@ -69,11 +68,16 @@ monitor agent directory also has sample scripts, configuration files etc to help
69
68
with getting the agent running in your specific environment.
70
69
71
70
## Using a Docker container to build the programs
72
-
You can use the `buildMonitors.sh` script in this directory to build a Docker container that
71
+
You can use the `buildMonitors.sh` script in the `scripts` subdirectory to build a Docker container that
73
72
in turn will build all the binary programs and copy them to a local directory. That script also
74
73
sets some extra version-related flags that will be shown when the program starts. The container will
75
74
automatically download and install the MQ client runtime files needed for compilation.
76
75
76
+
## Building on Windows
77
+
There is a `buildMonitors.bat` file that may help with building on Windows. It assumes you have
78
+
the [tdm-gcc-64](https://jmeubank.github.io/tdm-gcc/download/) 64-bit compiler suite installed. It
79
+
builds all the collectors and corresponding YAML configuration files into %GOPATH%/bin
80
+
77
81
## Monitor configuration
78
82
The monitors always collect all of the available queue manager-wide metrics.
79
83
They can also be configured to collect statistics for specific sets of queues where
@@ -154,7 +158,7 @@ table combines multiple metrics on the same line now.
154
158
155
159
Information about channels comes from the DISPLAY CHSTATUS CURRENT command. That
156
160
only shows channels with a known state and does not report on inactive channels.
157
-
To also see the inactive channels, then set the showInactiveChannels
161
+
To also see the inactive channels, then set the showInactiveChannels
158
162
configuration attribute to true.
159
163
160
164
### z/OS Support
@@ -203,7 +207,7 @@ point at the file.
203
207
All of the exporters support
204
208
the same configuration options for how to connect to MQ and which objects are monitored. There is
205
209
then an exporter-specific section for additional configuration such as how to contact the back-end
206
-
database.
210
+
database.
207
211
The common options are shown in a template in this directory; the exporter-specific options are in individual files in each directory. Combine the two pieces into a single file to get a complete deployable configuration.
208
212
209
213
Unlike the command line flags, lists are provided in a more natural format instead of comma-separated
0 commit comments