IBM Tivoli and Cisco manual 421

Models: Tivoli and Cisco

1 516
Download 516 pages 58.69 Kb
Page 439
Image 439

As a result you should see the output presented below:

Region

Disp

Flags

Port

IPaddr

Hostname(s)

1406765930

1

ct-

94

192.168.230.140

tcmweb

5.Run the sputil.sh command to create the software package block and publish it on the Web Gateway. To achieve this run the following commands:

cd $BINDIR/tcmremed/download cd TCRNavScan

$BINDIR/tcmremed/bin/sputil.sh -p Sample.properties

As a result there are five files created. The three listed below are located in the $BINDIR/tcmremed/download/TCRNavScan directory:

TCRNavScan_sp.sh

Shell script that creates the Software Package profile in a Tivoli Framework environment and imports the software package definition to create the final software package block.

TCRNavScan_publish.sh

Shell script that publishes the Software Package profile to the Tivoli Configuration Manager Web Gateway.

TCRNavScanConfig.properties

Final properties file as a result of combining the Sample.properties file specified as a parameter to the sputil.sh command and the default properties for this type of collector specified in nac.win.any.nav.PostureNavV2_SCAN_WF.DefaultConfig.properties and also in SPUtilConfig.properties. These two additional files are located in the $BINDIR/tcmremed/cfg directory and were briefly described in 8.2.4, “Installation of the Software Package Utilities” on page 394.

You do not need to run any of these script files, as the sputil.sh utility does it for you. You may verify the result of running the tool with the following command:

wlookup -ar SoftwarePackage grep TCRNavScan

If the package was created the result will look like below (the number in the middle of the resulting string will be different in your environment, as it is meant to be unique and it is associated with the Tivoli Management Region number):

TCRNavScan^1.0 1406765930.1.846#SoftwarePackage::Spo#

Chapter 8. Remediation subsystem implementation

421

Page 439
Image 439
IBM Tivoli and Cisco manual 421