HP Systems Insight Manager 7.0 Command Line Interface Guide

<sw-attribute name="Description">HP-UX phoenix</sw-attribute>
<sw-attribute name="SystemName">abc.mycompany.com</sw-attribute>
<managementpath-list />
</node>
</node-list>
Example 6
The sample XML file below lists a node in XML format and includes all predefined system attributes
for reference, including those that can be modified or locked.
One method for modifying a system is to use the mxnode -lf > filename command to output
the XML data to an external output file. The output file can then be edited to change or add attributes
that need to be modified or locked.
After editing the file, modify the system by entering mxnode -m -f filename and specifying
the edited file as the input file.
The sample XML includes the method for locking the lockable attributes. If you want to keep certain
attributes from being overwritten by the Discovery and Identification processes, all three of the
attribute lock flags must be set to false, as shown below. Otherwise, all three attributes must be
set to true.
<sw-attribute name="DefaultProtoSettings">false</sw-attribute>
<sw-attribute name="DefaultAttributeSettings">false</sw-attribute>
<sw-attribute name="DefaultSystemName">false</sw-attribute>
NOTE: Attribute lock flags can also be modified through the Edit System Properties page of
the GUI. Selecting or clearing the Prevent the Discovery and Identification processes from
changing these system attributes check box is the same as setting the attribute lock flags.
Selecting the check box is the same as setting all three flags to false. Clearing the check box is the
same as setting all three flags to true.
The sample XML also includes the monitoring feature attribute within the node element. This feature
enables the you to control the monitoring of a system/node by Systems Insight Manager. In normal
operation, the system is continuously monitored (includes Discovery and Identification). System
monitoring can be suspended for a predefined time period, or indefinitely. If the monitoring attribute
is not included in the XML file for a -m -f command, the current monitoring state for the node is
left as is.
NOTE: The monitoring feature can also be modified through the Suspend/Resume Monitoring
page in the GUI.
Valid values for the monitoring attribute are as follows.
monitoring="resume" Do not suspend monitoring
monitoring="suspend" Suspend monitoring indefinitely
monitoring="suspend.5m" Suspend monitoring for 5 minutes
monitoring="suspend.15m" Suspend monitoring for 15 minutes
monitoring="suspend.1h" Suspend monitoring for 1 hour
monitoring="suspend.2h" Suspend monitoring for 2 hours
monitoring="suspend.4h" Suspend monitoring for 4 hours
monitoring="suspend.8h" Suspend monitoring for 8 hours
monitoring="suspend.1d" Suspend monitoring for 1 day
monitoring="suspend.2d" Suspend monitoring for 2 days
monitoring="suspend.3d" Suspend monitoring for 3 days
monitoring="suspend.4d" Suspend monitoring for 4 days
monitoring="suspend.5d" Suspend monitoring for 5 days
monitoring="suspend.6d" Suspend monitoring for 6 days
monitoring="suspend.7d" Suspend monitoring for 7 days
All attributes that can be modified and locked are marked with an L.
mxnode 73