HP Systems Insight Manager 7.0 Command Line Interface Guide

Example 6
To list the member systems of group group1 enter mxngroup -l m -g group1.
Example 7
To list the names of all system groups that contain the member systemb, enter mxngroup -l n
-n systemb.
Example 8
To use the XML file test.xml to define a system group named group1 with a description and
two member systems, system1.corp.com and system2.corp.com, enter mxngroup -a -f
test.xml
The test.xml file might look like:
<?xml version="1.0" encoding="UTF-8"?>
<node-group-list>
<node-group name="group1">
<description>This is group1.</description>
<member-node value="system1.corp.com" />
<member-node value="system2.corp.com" />
</node-group>
</node-group-list>
Example 9
To use the XML file test2.xml to define a system group named group1 with a description and
the member systems, system1.corp.com and system2.corp.com, with auto-update enabled, enter
mxngroup -a -f test2.xml The test2.xml file might look like:
<?xml version="1.0" encoding="UTF-8"?>
<node-group-list>
<node-group name="group1" auto-update="true">
<description>This is group1.</description>
<member-node value="system1.corp.com" />
<member-node value="system2.corp.com" />
</node-group>
</node-group-list>
Limitations
This command can only be run on the CMS.
Only administrative rights users can use mxngroup to add, modify or remove system groups.
Any user can list group information.
See also
HP-UX
mxngroup(1M), mxuser(1M), mxnode(1M), mxauth(1M)
Linux
mxngroup(8), mxuser(8), mxnode(8), mxauth(8)
mxnode
Adds, modifies, identifies, removes, or lists nodes in Systems Insight Manager.
Synopsis
mxnode -a hostname(s)|ipaddress(es) [-w] [-v]
62 Command descriptions