Hitachi

JP1 Version 12 JP1/SNMP System Observer Description, Operator's Guide and Reference


ssopscvt

Organization of this page

Format

To convert a definition file to the tab-delimited format:
ssopscvt {-a monitoring-app-definition-file-name
          | -s monitoring-server-definition-file-name
          | -m monitoring-condition-definition-file-name}
         -p output-file-name
To convert a file having the tab-delimited format to the definition file format:
ssopscvt {-ca tab-delimited-format-file-name
          | -cs tab-delimited-format-file-name
          | -cm tab-delimited-format-file-name}
         -p output-file-name
To output the command usage:
ssopscvt -h

Function

The ssopscvt command converts a monitoring app definition file, monitoring server definition file, or monitoring condition definition file to data having the tab-delimited format. It also converts a file having the tab-delimited format to data having the monitoring app definition file format, monitoring server definition file format, or monitoring condition definition file format. Converting these definition files to the tab-delimited format makes it possible to manage the files using spreadsheet software.

Options

-a monitoring-app-definition-file-name

Converts the specified monitoring app definition file to data having the tab-delimited format.

-s monitoring-server-definition-file-name

Converts the specified monitoring server definition file to data having the tab-delimited format.

-m monitoring-condition-definition-file-name

Converts the specified monitoring condition definition file to data having the tab-delimited format.

-p output-file-name

Specifies the file to which you want to output the conversion result.

-ca tab-delimited-format-file-name

Converts the specified tab-delimited format file to a monitoring app definition file.

-cs tab-delimited-format-file-name

Converts the specified tab-delimited format file to a monitoring server definition file.

-cm tab-delimited-format-file-name

Converts the specified tab-delimited format file to a monitoring condition definition file.

-h

Outputs the command usage. This option cannot be specified together with other options.

Example

To convert a monitoring app definition file (/tmp/sso_aps.conf) to a file with the tab-delimited format (/tmp/sso_aps.tab):
ssopscvt -a /tmp/sso_aps.conf -p /tmp/sso_aps.tab

Return values

0

Normal termination

-1

Execution error such as incorrect arguments

Notes

Format of tab-delimited format file

Tab-delimited format of a monitoring app definition file

The tab-delimited format of a monitoring app definition file is described as follows:

[Figure]

The following key names corresponding to numbers are displayed in the header part, starting from the left. Tabs delimit these key names.

1:apname,2:apinfo,3:apcommand,4:psnumber,5:svcnumber,6:psname,7:pscommand,8:psthreshold,9:cpsnumber,10:cpsname,11:cpscommand,12:cpsthreshold,13:svcname,14:svccommand,15:svcstatusmap
Tab-delimited format of a monitoring server definition file

The tab-delimited format of a monitoring server definition file is described as follows:

[Figure]

Tab-delimited format of a monitoring condition definition file

The tab-delimited format of a monitoring condition definition file is described as follows:

[Figure]

Monitoring condition definition key names are displayed in turn in the header part.

Examples of outputting the tab-delimited format file

Examples of outputting the tab-delimited format file are explained taking the monitoring app definition file as an example. The following shows an example of converting the monitoring app definition file shown in 6.3.2(6) Example to tab-delimited format data. For more information about key names and their values, see 6.3.2 Monitoring app definition file.

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

JP1/SIA V6i

JP1/Security Investigator - Agent

5

E;gettlog

1;9999

0

E;logmgr

1;1

1

E;gettlog

1;9999

E;po

1;1

0

E;procmgr

1;1

3

E;logmgr

1;1

E;po

1;1

E;rulmgr

1;1

E;rulmgr

1;1

0

JP1/SSO - Agent for Process

JP1/SNMP System Observer - Agent for Process

1

Cm2APM

N;C;C;C;C;C;C