NSM parameter calculation

NSM provides the NSM service designer the ability to decide how to calculate parameters used in the NSM service lifecycle.

Figure 1 shows the NSM parameter calculation engine and how it calculates NSM parameters.

Figure 1. NSM Parameter Calculation

Specifically, the NSM parameter engine calculates the following types of parameters:

  • Client parameters — NSM can accept parameter name/values from the client to pass directly to command sets or NSM can use the parameter name/values in the NSM parameter engine to calculate other parameters.
  • SQL parameters — NSM can query external or internal databases to retrieve parameter values. The arguments to the SQL query can be provided by the client user or can be injected by the NSM service designer.
  • JavaScript parameters — NSM allows the execution of NSM provided JavaScript methods to manipulate parameters. NSM also allows the NSM service designer to provide their own controlled JavaScript.
  • HTTP parameters — NSM allows the retrieval of parameters by calling an HTTP client using the URL that the NSM service designer provides.

Figure 1 also shows that Netcool Configuration Manager command sets apply parameter values as calculated by the NSM parameter engine. The NSM service designer sets up parameters in the NSM service template so that:

  • Client users can specify values for the client parameters
  • Client users can specify inject parameters through preset NSM functions or user-defined JavaScript functions
  • NSM can query external or internal databases to retrieve parameter values for SQL queries
  • NSM can retrieve parameter values using an HTTP request