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
-
If the disk becomes full while data is being output to a file as specified by the -p option, only part of the data is saved in the file (no error message is output). Before outputting data to a file, verify that the disk has sufficient free space.
-
If you have specified a tab in an application definition or monitoring condition definition, it may not be converted properly to tab-delimited format data.
-
A tab-delimited format file created with SSO 11-00 or earlier (including corrective versions) cannot be converted to a monitoring app definition file or monitoring condition definition file.
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:
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:
- Tab-delimited format of a monitoring condition definition file
-
The tab-delimited format of a monitoring condition definition file is described as follows:
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 |