We would like to monitor the number of currently active transfers to generate an alert. Could you indicate any mechanism that allows us to generate these alerts?
We have CA UIM and CA APM.
XCOM™ Data Transport® for Windows
XCOM™ Data Transport® for UNIX/Linux PC
We have had some incidents when transfers are close to maximum value specified in the global parameter MAX_QUEUE_ENTRIES
If you have a facility to run a script or command at regular intervals to monitor the infrastructure, you can use a simple command like the below to monitor the XCOM queue.
For Linux:
xcomqm -La|wc -l
For Windows:
You may need the Unix Windows utilities for the above command to work on Windows. Alternatively, you can take advantage of PowerShell to do this. See the example below:
PS C:\Program Files\CA\XCOM> .\xcomqm -La
Copyright (c) 2012 CA. All rights reserved.
xcomqm working with shared memory -- 000026
testuser 000041 - DONE LOCAL FAILED #XCOMN0298E Unable to allocate remote transaction program: Txpi 239: getaddrinfo error return value = 1
testuser 000042 - DONE LOCAL FAILED #XCOMN0298E Unable to allocate remote transaction program: Txpi 239: getaddrinfo error return value = 1
testuser 000043 - DONE LOCAL FAILED #XCOMN0298E Unable to allocate remote transaction program: Txpi 239: getaddrinfo error return value = 1
testuser 000044 - DONE LOCAL SUCCESSFUL XCOMN0011I Transfer ended; 14 records (170 bytes) transmitted in 2 seconds (85 bytes/second)
xcomuser 000045 - DONE REMOTE SUCCESSFUL XCOMN0011I Transfer ended; 14 records (172 bytes) transmitted in 2 seconds (86 bytes/second)
testuser 000046 - DONE LOCAL SUCCESSFUL XCOMN0011I Transfer ended; 14 records (170 bytes) transmitted in 1 seconds (170 bytes/second)
xcomuser 000047 - DONE REMOTE SUCCESSFUL XCOMN0011I Transfer ended; 14 records (172 bytes) transmitted in 1 seconds (172 bytes/second)
testuser 000048 - DONE LOCAL SUCCESSFUL XCOMN0011I Transfer ended; 14 records (170 bytes) transmitted in 1 seconds (170 bytes/second)
xcomuser 000049 - DONE REMOTE SUCCESSFUL XCOMN0011I Transfer ended; 14 records (172 bytes) transmitted in 1 seconds (172 bytes/second)
xcomqm displayed a total of 9 record(s) for command line option 1
xcomqm ended -- 1 command line option(s) were processed
PS C:\Program Files\CA\XCOM> .\xcomqm -La | measure-object
Copyright (c) 2012 CA. All rights reserved.
xcomqm working with shared memory -- 000026
xcomqm displayed a total of 9 record(s) for command line option 1
xcomqm ended -- 1 command line option(s) were processed
Count : 9
Average :
Sum :
Maximum :
Minimum :
Property :