create command
The NSM service
designer can
run the create
command from the NSM CLI to create
a NSM service
template.
Usage
./nsmadmin.sh command=create filename=<filename> username=<username>
password=<password> port=<port> -v
Options
filename specifies the location of the file that contains the NSM service template XML being posted. It is mandatory.
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.
validate is an optional parameter, that, if set to true, ensures that the service template is only created if the command sets and extractions that are referenced in the xml file exist in Netcool Configuration Manager.
-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=create filename=/opt/IBM/serviceTemplate1.xml ./nsmadmin.sh command=create filename=/opt/IBM/serviceTemplate1.xml username=admin password=password01 ./nsmadmin.sh -v command=create filename=/opt/IBM/serviceTemplate1.xml username=admin password=password01 port=16310 ./nsmadmin.sh command=create filename=/opt/IBM/serviceTemplate1.xml username=admin password=password01 port=16310 -v