How to count active Web Services users?

Document ID : KB000012529
Last Modified Date : 14/02/2018
Show Technical Document Details

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 14.1CA Service Desk Manager 12.9

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(acesso_soap_rest); IP(; session count 7

2. Session Ended:

servername sda 6192 SIGNIFICANT sda.cpp 2387 Web Services session ended 2107993368; user(cavizuser); IP(; session count 76

3. Session expired:

servername sda 6860 SIGNIFICANT sda.cpp 2387 Web Services session found to be expired 262339433; user(cavizuser); IP(; 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:

  • user(cavizuser)
  • IP(
  • session count 5

Thus, currently the only way to have some validation done in this area is by checking the stdlogs.

Additional Information:

An Idea was created requesting such tool to be created:

Tool to show the users connected to SDM via SOPA/REST