Module: Yast::KdumpHelpsInclude

Defined in:
../../src/include/kdump/helps.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) HelpKdump(identification)



229
230
231
232
233
234
235
# File '../../src/include/kdump/helps.rb', line 229

def HelpKdump(identification)
  Ops.get_string(
    @HELPS,
    identification,
    Builtins.sformat("Help for '%1' is missing!", identification)
  )
end

- (Object) initialize_kdump_helps(include_target)



30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
# File '../../src/include/kdump/helps.rb', line 30

def initialize_kdump_helps(include_target)
  textdomain "kdump"

  # All helps are here
  @HELPS = {
    #Enable/Disable Kdump - RadioButtons 1/1
    "StartRadioBut"          => _(
      "<p><b>Enable/Disable Kdump</b><br>\n" +
        "    Enable or disable kdump. The boot option crashkernel parameter is added/removed. \n" +
        "    To apply changes, a reboot is necessary.<br></p>\n"
    ),
    # Kdump Memor&y [MB] - IntField 1/1
    "KdumpMemory"            => _(
      "<p><b>Kdump Memory</b><br>\n    Allocation of memory for kdump kernel. <br></p>\n"
    ),
    # fadump
    "FADump"                 => _(
      # T: help text for a combo box
      # description taken from http://lparbox.com/how-to/aix/19
      "<p><b>Firmware-Assisted Dump</b><br>\n" +
        "    Dumps are not generated before the partition is reinitialized but take place " +
        "    when the partition is restarting. When performing a firmware-assisted dump, " +
        "    system memory is frozen and the partition rebooted, which allows a new instance " + 
        "    of the operating system to dump data from the previous kernel crash." +
        "    This feature is suitable only when the system has more than 1.5 GB of memory.</p>"
    ),
    # Kdump Memor&y [MB] - IntField 1/1
    "DumpLevel"              => _(
      "<p><b>Dump Level</b><br>\n" +
        "    Specify the type of necessary page for analysis.\n" +
        "    Pages of the specified type are copied to dumpfile. \n" +
        "    The page type marked in the following table is included. <br></p>"
    ),
    # Dump Format - RadioButtons  1/1
    "DumpFormat"             => _(
      "<p><b>Dump Format</b><br>\n" +
        "    <i>No Dump</i> - Only save the kernel log.<br>\n" +
        "    <i>ELF Format</i> - Create dump file in the ELF format.<br>\n" +
        "    <i>Compressed Format</i> - Compress dump data by each page with gzip.<br>\n" +
        "    <i>LZO Compressed Format</i> - Slightly bigger files but much faster.<br>\n</p>"
    ),
    # Dump Format - RadioButtons  1/6
    "TargetKdump"            => _(
      "<p><b>Saving Target for Kdump Image</b><br>\n    The target for saving kdump images. Select type of target for saving dumps.<br></p>"
    ) +
      # Dump Format - RadioButtons  2/6
      _(
        "<p><b>Local Filestem</b> - Save kdump image in the local filesystem.\n" +
          "    <i>Directory for Saving Dumps</i> - The path for saving kdump images.\n" +
          "    Selecting directory for saving kdump images via dialog by pressing <i>Browse</i>\n" +
          "    <br></p>"
      ) +
      # Dump Format - RadioButtons  3/6
      _(
        "<p><b>FTP</b> - Save kdump image via FTP.\n" +
          "    <i>Server Name</i> - The name of ftp server.\n" +
          "    <i>Port</i> - The port number for connection.\n" +
          "    <i>Directory on Server</i> - The path for saving kdump images.\n" +
          "    <i>Enable Anonymous FTP</i> enables anonymous connection to server.\n" +
          "    <i>User Name</i> for ftp connection. <i>Password</i> for ftp connection.<br></p>"
      ) +
      # Dump Format - RadioButtons  4/6
      _(
        "<p><b>SSH</b> - Save kdump image via SSH.\n" +
          "    <i>Server Name</i> - The name of server.\n" +
          "    <i>Port</i> - The port number for connection.\n" +
          "    <i>Directory on Server</i> - The path for saving kdump images.\n" +
          "    <i>User Name</i> for SSH connection.  \n" +
          "    <i>Password</i> for SSH connection.<br></p>\n"
      ) +
      # Dump Format - RadioButtons  5/6
      _(
        "<p><b>NFS</b> - Save kdump image on NFS.\n" +
          "    <i>Server Name</i> - The name of nfs server.\n" +
          "    <i>Directory on Server</i> - The path for saving kdump images.<br></p>"
      ) +
      # Dump Format - RadioButtons  6/6
      _(
        "<p><b>CIFS</b> - Save kdump image via CIFS.\n" +
          "    <i>Server Name</i> - The name of server.\n" +
          "    <i>Exported Share</i> - The windows share name.\n" +
          "    <i>Directory on Server</i> - The path for saving kdump images.\n" +
          "    <i>Use Authentication</i> enables authenticated connection to server.\n" +
          "    <i>User Name</i> for connection. <i>Password</i> for connection.<br></p>"
      ),
    # Custom Kdump Kernel - TextEntry 1/1
    "InitrdKernel"           => _(
      "<p><b>Custom Kdump Kernel</b> The user can enter the custom kernel.\n" +
        "    The naming scheme is:<i>/boot/vmlinu[zx]-<kernel_string>[.gz]</i>\n" +
        "    Please enter only <i>kernel_string</i>.<br></p>"
    ),
    # Kdump Command Line - TextEntry 1/1
    "KdumpCommandLine"       => _(
      "<p><b>Kdump Command Line</b>\n    Additional arguments passed to kexec. <br></p>"
    ),
    # Kdump Command Line Append - TextEntry 1/1
    "KdumpCommandLineAppend" => _(
      "<p><b>Kdump Command Line Append</b>\n" +
        "    Set this option to _append_ values to the default command line string. \n" +
        "    The string will be appended if the <i>Kdump Command Line</i>\n" +
        "    is set. <br></p>\n"
    ),
    # Enable Immediate Reboot After Saving the Core - CheckBox 1/1
    "EnableReboot"           => _(
      "<p><b>Enable Immediate Reboot After Saving the Core</b> - \n    Enable immediately reboot after saving the core in the kdump.<br></p>"
    ),
    # Enable Delete Old Dump Images - CheckBox 1/1
    "EnableDeleteImages"     => _(
      "<p><b>Enable Delete Old Dump Images</b> - \n" +
        "    Enable Delete Old Dump Images. If the number of dump files in \n" +
        "    <i>Number of Old Dumps</i> exceeds this number, older dumps are removed.<br></p>"
    ),
    #Enable Copy Ke&rnel into the Dump Directory - CheckBox 1/1
    "EnableCopyKernel"       => _(
      "<p><b>Enable Copy Kernel into the Dump Directory</b> - \n" +
        "    If this option is selected, the kernel and the\n" +
        "      debugging information (if installed) are copied into the dump\n" +
        "      directory. The default is \"off\". It is useful to have\n" +
        "      everything in place for debugging.<br></p>\n"
    ),
    # SMTP Server
    "SMTPServer"             => _(
      "<p><b>SMTP Server</b> used for sending a notification email after a dump.</p>"
    ),
    #SMTP User Name
    "SMTPUser"               => _(
      "<p><b>User Name</b> for SMTP authetication when <i>SMTP Server</i> is\n  set. This is optional. If you do not specifiy a username and password, plain SMTP will be used.</p>\n"
    ),
    #SMTP Password
    "SMTPPassword"           => _(
      "<p><b>Password</b> for SMTP authetication when <i>SMTP Server</i> is set. This\n  is optional. If you do not specify a username and password, plain SMTP will be used.</p>\n"
    ),
    # Notification To (email addresses)
    "NotificationTo"         => _(
      "<p><b>Notification To</b> Specify the email address to which a notification email will be sent when a dump has been saved.</p>\n"
    ),
    # Notification CC (email addresses)
    "NotificationCC"         => _(
      "<p><b>Notification CC</b> Specify a list of space-separated email addresses to\n which a notification email will be sent via cc if a dump has been saved.</p>\n"
    ),
    # Number of Old Dumps (number)
    "NumberDumps"            => _(
      "<p><b>Number of Old Dumps</b> specifies how many old dumps are kept. If the number of dump files \nexceeds this number, older dumps are removed.</p>"
    ),
    # Read dialog help 1/2
    "read"                   => _(
      "<p><b><big>Initializing Kdump Configuration</big></b><br>\nPlease wait...<br></p>\n"
    ) +
      # Read dialog help 2/2
      _(
        "<p><b><big>Aborting Initialization:</big></b><br>\nSafely abort the configuration utility by pressing <b>Abort</b> now.</p>\n"
      ),
    # Write dialog help 1/2
    "write"                  => _(
      "<p><b><big>Saving Kdump Configuration</big></b><br>\nPlease wait...<br></p>\n"
    ) +
      # Write dialog help 2/2
      _(
        "<p><b><big>Aborting Saving:</big></b><br>\n" +
          "Abort the save procedure by pressing <b>Abort</b>.\n" +
          "An additional dialog informs whether it is safe to do so.\n" +
          "</p>\n"
      ),
    # Summary dialog help 1/3
    "summary"                => _(
      "<p><b><big>Kdump Configuration</big></b><br>\nConfigure kdump here.<br></p>\n"
    ) +
      # Summary dialog help 2/3
      _(
        "<p><b><big>Adding a Kdump:</big></b><br>\n" +
          "Choose an kdump from the list of detected kdumps.\n" +
          "If your kdump was not detected, select <b>Other (not detected)</b>.\n" +
          "Then press <b>Configure</b>.</p>\n"
      ) +
      # Summary dialog help 3/3
      _(
        "<p><b><big>Editing or Deleting:</big></b><br>\n" +
          "If you press <b>Edit</b>, an additional dialog in which to change\n" +
          "the configuration opens.</p>\n"
      ),
    # Ovreview dialog help 1/3
    "overview"               => _(
      "<p><b><big>Kdump Configuration Overview</big></b><br>\n" +
        "Obtain an overview of installed kdumps. Additionally\n" +
        "edit their configurations.<br></p>\n"
    ) +
      # Ovreview dialog help 2/3
      _(
        "<p><b><big>Adding a Kdump:</big></b><br>\nPress <b>Add</b> to configure a kdump.</p>"
      ) +
      # Ovreview dialog help 3/3
      _(
        "<p><b><big>Editing or Deleting:</big></b><br>\n" +
          "Choose a kdump to change or remove.\n" +
          "Then press <b>Edit</b> or <b>Delete</b> as desired.</p>\n"
      )
  }
end