list command

The NSM service designer can run the list command from the NSM CLI to list the latest enabled versions of all NSM service templates in an XML file. The information returned contains only the NSM service template summary and does not contain detailed information on the template. If a full NSM service template is required then use the read or readall command

Usage

./nsmadmin.sh command=list filename=<filename> username=<username>
password=<password> port=<port> -v

Options

filename is a mandatory option that specifies the fully qualified file name of the file where the results are written.

username is a mandatory option that specifies the NSM service designer user name.

password is a mandatory option that specifies the NSM service designer password.

port is the Netcool Configuration Manager presentation server HTTP port number. The default value is 16310. It is optional.

-v displays detailed output to both the console and the log file. It can be specified anywhere in a command. It is optional.

Examples

./nsmadmin.sh command=list filename=serviceTemplateOutputList.xml 
./nsmadmin.sh command=list filename=serviceTemplateOutputList.xml username=admin
 password=password01
./nsmadmin.sh -v command=list filename=serviceTemplateOutputList.xml username=admin 
password=password01 port=16310
./nsmadmin.sh command=list filename=serviceTemplateOutputList.xml username=admin 
password=password01 port=16310 -v