
174 MergePoint 5224/5240 Service Processor Manager Installer and Administrator Guide
Using the sptemplate utility
An administrator (root or an administrative user) can use the sptemplate utility to test the default
command templates when configuring a target device and to create a customized command
template if needed.
A template can be configured to keep repeating commands to achieve a goal such as reading output
from multiple classes of sensors on an RSA II target device or reading multiple event log files one
by one until no more log files exist on an iLO
-type service processor. Commands may be repeated
until a string, such as No more entries, is returned. When commands are repeated, an escape
sequence can be used to autoincrement the number in the command, which is needed, for example,
when checking event log files.
The default editor used by sptemplate is vi. You can substitute nano for vi before invoking the
sptemplate utility, as shown in the following screen example.
After being invoked, the
sptemplate utility displays the action menu shown in the
following example.
Selecting New from the Action menu brings up an editor with a template file open for you
to configure.
[root@MergePoint5224 /] export EDITOR=/bin/nano
[root@MergePoint5224 /] sptemplate
Please select action:
-View
Edit
New
Copy
Rename
Delete
Test
Exit
Comentários a estes Manuais