This question involves a scenario where it is necessary to know if there is any way to list active connections in the CA Service Desk Manager (SDM) Web Services (REST and SOAP).
The KPI returns some information, but in the case it is necessary to have a nominal list of users connected, how is this currently done in SDM?
How to count active Web Services users?
CA Service Management 17.x
There isn't a way to monitor the active sessions generated by SOAP or REST via a SDM command (as it exists for the webengine process, via pdm_webstat -D) or via GUI.
The way to verify how many sessions are currently active is by checking the sda connection messages from the stdlogs:
1. Session created:
servername sda 6192 SIGNIFICANT sda.cpp 2387 Web Services session created 1496143980; user(<example-userid>); IP(<example ip address>); session count 7
2. Session Ended:
servername sda 6192 SIGNIFICANT sda.cpp 2387 Web Services session ended 2107993368; user(<example-userid>); IP(<example ip address>); session count 76
3. Session expired:
servername sda 6860 SIGNIFICANT sda.cpp 2387 Web Services session found to be expired 262339433; user(<example-userid>); IP(<example ip address>); session count 5
In these messages you can get the user and the IP address from which the connection came from, as well as the session count:
Thus, currently the only way to have some validation done in this area is by checking the stdlogs.