readall command

The NSM service designer can run the readall command from the NSM CLI to retrieve information about all versions of a NSM service template and output this information to an XML file.

Usage

./nsmadmin.sh command=readall filename=<filename> serviceTemplateId=<id> 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.

serviceTemplateId is a mandatory option that specifies the NSM service template identifier.

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 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=readall filename=serviceTemplateOutput.xml serviceTemplateId=45
./nsmadmin.sh command=readall filename=serviceTemplateOutput.xml serviceTemplateId=45 username=admin
 password=password01
./nsmadmin.sh -v command=readall filename=serviceTemplateOutput.xml serviceTemplateId=45 username=admin 
password=password01 port=16310
./nsmadmin.sh command=readall filename=serviceTemplateOutput.xml serviceTemplateId=45 username=admin 
password=password01 port=16310 -v