Top
Systemwalker Service Quality Coordinator User's Guide (WebsiteManagement Functions Edition)
Systemwalker

18.1.1 Contents Tampering Monitor


18.1.1.1 Content publish notifier

The content publish notifier is provided as the MpupdtCntnts command.


18.1.1.1.1 MpupdtCntnts command location

The MpupdtCntnts commands for each execution environment are stored at the following locations on this product's DVD-ROM:


Execution environment : Windows

<DVD-ROM>\tools\seq\windows\MpupdtCntnts.exe

Execution environment : Solaris

<DVD-ROM>\tools\seq\solaris\MpupdtCntnts

Execution environment : Linux

<DVD-ROM>\tools\seq\linux\MpupdtCntnts

Note

Use the proper command for the platform used. Using an improper command will result in operation failure.


18.1.1.1.2 MpupdtCntnts command specifications

Format

MpupdtCntnts -m <IP address> -p <port number> -u <content publish URL> [-f <content original file>] [-d]

MpupdtCntnts -m <IP address> -p <port number> -l <content list file>


Function

This command notifies (for registration or deletion) the Contents Tampering Monitor on the Management Server of content information.


Options

-d

Deletes content information.

-m <IP address>

Specifies the IP address of the Management Server in dot format.


-p <port number>

Specifies the port number of the Management Server in decimal notation.

*This port number is the same as that used for connection to the Management Console. It is normally 80.


-u <content publish URL>

Specifies the URL of the noticen target content on the Web server.

The URL can be specified with up to 1,023 ASCII characters. Leading http:// can be omitted.

*The -u option is disabled if the -l option is specified.


-f <content original file>

Specifies the absolute path of the original file of the notice target content.

The path can be specified with up to 1,023 ASCII characters.

*If this option is omitted, information is collected from the URL on the Web server and registered as the data of the content original copy.

*The -f option is disabled if the -l option is specified.


-l <content list file>

Specifies the absolute path of the file that contains the list of the notification target contents.

The path can be specified with up to 1,023 characters.

Point

In the content list file, one or more pairs of content publish URL (corresponding to the -u option) and content original file (corresponding to the -f option) can be defined. The content list file can thus be used to notify multiple sets of content information in a batch.

For information on the file format, refer to "18.1.1.1.3 Content list file format".

When the -l option is specified, the following two files are created in the same directory as the content list file:


End status

0

Normal end

>0

Abnormal end


Output message

Refer to "17.1.2 Content publish notifier".


Examples

[Windows]

Example 1: To register content information from URL on the Web server

C:\> MpupdtCntnts -m 10.0.0.1 -p 80 -u http://www.aaa.bbb.ccc.com/index.html


Example 2: To register content information by specifying the content

C:\> MpupdtCntnts -m 10.0.0.1 -p 80 -u http://www.aaa.bbb.ccc.com/index.html -f C:\OriginalHTML\index.html


Example 3: To delete content information

C:\> MpupdtCntnts -m 10.0.0.1 -p 80 -u http://www.aaa.bbb.ccc.com/index.html -d


Example 4: To register content information in a batch using a content list

C:\> MpupdtCntnts -m 10.0.0.1 -p 80 -l C:\OriginalHTML\LIST


[UNIX]

Example 1: To register content information from URL on the Web server

$ MpupdtCntnts -m 10.0.0.1 -p 80 -u http://www.aaa.bbb.ccc.com/index.html


Example 2: To register content information by specifying the content original copy

$ MpupdtCntnts -m 10.0.0.1 -p 80 -u http://www.aaa.bbb.ccc.com/index.html -f /var/OriginalHTML/index.html


Example 3: To delete content information

$ MpupdtCntnts -m 10.0.0.1 -p 80 -u http://www.aaa.bbb.ccc.com/index.html -d


Example 4: To register content information in a batch using a content list file

$ MpupdtCntnts -m 10.0.0.1 -p 80 -l /var/OriginalHTML/LIST


18.1.1.1.3 Content list file format

The content list file is a text format file in which notice information for one piece of content is written on one line.


Line format

<operation>,<content original file>,<content publish URL>


Field

<operation>

Specifies one of the following types of operation for content:

a:Register

d:Delete

I:Ignore

Point

This operation is useful if it is used as follows: Prepare a list that covers all pieces of content to be noticed and change only the operation field properly when new notice or update notice is needed.


<content original file>

Specifies the absolute path of the original file of the content to be noticed.

The path can be specified with up to 1,023 ASCII characters.


<contents publish URL>

Specifies the URL of the notice target content on the Web server.

The URL can be specified with up to 1,023 ASCII characters. Leading http:// can be omitted.

If this option is omitted, information is collected from the URL on the Web server and registered as the data of the content original copy.


Examples

[Windows]

Example 1: To register content information from URL on the Web server

a,,http://www.aaa.bbb.ccc.com/index.html

a,,http://www.aaa.bbb.ccc.com/image/mark.gif


Example 2: To register content information by specifying the content original copy

a,C:\OriginalHTML\index.html,http://www.aaa.bbb.ccc.com/index.html

a,C:\OriginalHTML\image\mark.gif,http://www.aaa.bbb.ccc.com/image/mark.gif


[UNIX]

Example 1: To register content information from URL on the Web server

a,,http://www.aaa.bbb.ccc.com/index.html

a,,http://www.aaa.bbb.ccc.com/image/mark.gif


Example 2: To register content information by specifying the content original copy

a,/var/OriginalHTML/index.html,http://www.aaa.bbb.ccc.com/index.html

a,/var/OriginalHTML/image\mark.gif,http://www.aaa.bbb.ccc.com/image/mark.gif