How to export the status for all pam hosts to csv from CLI

  • 7020152
  • 01-Jun-2017
  • 27-Nov-2018

Environment

NetIQ Privileged Account Manager

Situation

How to export the information and status regarding agents / managers to csv from the command line (CLI)
Obtain a csv report for the following fields for all agents entered in the Hosts Console:
agent,desc,host,port,platform,processor,os_version,utc,offset,uptime,sessions,tasks,path,size,avail,status,version,issuer,from,until,version

Resolution

To export a csv report of agent statuses and general information, please run the following from a command line on a registered PAM server:

/opt/netiq/npum/bin/unifi -u admin regclnt status -a -c > pam-hosts-status.csv

Note: Please replace admin with any valid admin user. The csv is exported in the above example to the current directory as 'pam-hosts-status.csv'

Additional Information

For more information, please refer to the unifi options.