Displaying PAMSC Endpoint Information In Selang
search cancel

Displaying PAMSC Endpoint Information In Selang

book

Article ID: 442286

calendar_today

Updated On:

Products

CA Privileged Access Manager - Server Control (PAMSC)

Issue/Introduction

PAM Server Control endpoints are registered to the Enterprise Management server and their operating systems can be seen in the World View UI. Is it possible to list an endpoint's OS through the ENTM command line?

Resolution

Yes, the 'sr hnode' command in selang can be used to list any registered PAMSC endpoint's information.

PAMSC> sr hnode pamsc141.example.com
(DMS__@localhost)
Data for HNODE 'pamsc141.example.com'
 -----------------------------------------------------------
Defaccess         : R
Audit mode        : Failure
Groups            :
    All Linux hosts (GHNODE)
    All UNIX hosts (GHNODE)
Owner             : _dms           (USER)
Create time       : 08-May-2026 13:59
Update time       : 12-May-2026 20:24
Updated by        : _dms           (USER)
AC ID             : 7824fd0a-113b-0001-db66-e567ca000000
Attributes        :
    REGISTERED_NAME=pamsc141.example.com
    MAC_ADDRESS=##-##-##-##-##-##
Compliant         : yes
Compliant update time : 08-May-2026 16:00
Effective Policies :
    TestDeploy#01
Bypass exist      : No
Node Info         : Linux 5.14.0-503.40.1.el9_5.cloud.1.0.x86_64 x86_64, Rocky Linux release 9.5 (Blue Onyx)
IP                :
    10.#.#.#
Last Heartbeat    : 12-May-2026 20:24
Node Version      :
    ACU:14.10.60.186
Node Type         : AC UNIX
Effective UID     : _dms
Assigned Policies :
    TestDeploy
Policy Status     :
    TestDeploy#01 : Deployed               Updated by: ac_entm_pers  On: 08-May-2026 20:00
    Deviation     : No                     Updated on: 08-May-2026 20:00

 

To only show the OS information from that endpoint, use the props switch to limit the information in the output.

PAMSC> sr hnode pamsc141.example.com props(HNODE_INFO)
(DMS__@localhost)
Data for HNODE 'pamsc141.example.com'
 -----------------------------------------------------------
Node Info         : Linux 5.14.0-503.40.1.el9_5.cloud.1.0.x86_64 x86_64, Rocky Linux release 9.5 (Blue Onyx)

Additional Information

If using the command as part of a script, the command below can be used.

# selang -s -c "host DMS__@; sr hnode pamsc141.example.com props (HNODE_INFO)"