HP Systems Insight Manager 7.1 Command Line Interface Guide

OS revision text: 11.00
OS vendor: HP
Protocols: SNMP:1.0
GUID: 00000000864162de0f07e31d86c00000
Hardware device ID: 00000000864162de0f07e31d86b00000
Device type: UnixWorkstation
Device subtype: HP9000
Model: 9000/785
Added by: root
Added on: Sep 24, 2002 4:15:46 PM
Monitoring: Not suspended
OS description:
Preferred node name: LABabc
System description: Hardware: x86 Family
Contact: ph: 555-1234
Location: Bldg 6,Room123
UUID: n...n
Attributes locked: No
Example 4
To list, in tabular format, a subset of node attributes for all nodes in the database, enter: mxnode
-lt.
The output might look like:
NAME HOST NAME OS NAME ADDED ON IP ADDRESSES
abc abc.mycompany.com HPUX Sep 24, 2002 4:15:46 PM 192.1.2.3
xyz xyz.mycompany.com Linux Sep 24, 2002 4:15:47 PM 192.1.2.4
Example 5
To list node abc in XML format, enter: mxnode -lf abc.
The output might look like:
<?xml version="1.0" encoding="UTF-8"?>
<node-list>
<node name="abc" guid="..." host-name="abc.mycompany.com">
<hw-attribute name="DeviceType">UnixWorkstation</hw-attribute>
<hw-attribute name="DeviceSubType">HP9000</hw-attribute>
<hw-attribute name="Model">9000/785</hw-attribute>
<hw-attribute name="ProcessorFamily">pa-risc</hw-attribute>
<sw-attribute name="OSName">HPUX</sw-attribute>
<sw-attribute name="OSVendor">HP</sw-attribute>
<sw-attribute name="OSRevision">11.00</sw-attribute>
<sw-attribute name="IPAddress">192.1.2.3</sw-attribute>
<sw-attribute name="ProtocolSupport">SNMP:1.0</sw-attribute>
<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
mxnode 73