HP Systems Insight Manager 7.0 Command Line Interface Guide

# mxngroup m g grpname [d description] [n [member1 member2 â ¦]]
[u [t|f]]
If you do not provide both the optional –d and –n parameters, then the group is not modified.
Using the –d parameter replaces the existing group description with the one you provide.
Using the n option is only recommended for groups that have very few entries because you
must list the systems in the same order as they were added, with new system names in the
place of the systems they are replacing. If you are adding new systems, they must be placed
at the end of the list.
Using the u [t|f] option sets the automatic update feature to enabled or disabled.
The following are examples of modifying a group called grp, with three members, n1, n2, and
n3, listed in the order the groups were created:
# mxngroup m g grp n n4 n2 n3 ; replace n1 with n4.
# mxngroup m g grp n n5 ; n5 is the only member of the group
# mxngroup m g grp n n5 n4 n3 n2 ; add n4, n3, n2 to the group
Use caution when modifying groups from the command line, as the second example illustrates,
the m option is replacing systems in the group.
Using XML syntax to modify a group is more reliable, especially when the group contains many
members. To modify a group that is described in a file called grp.xml, enter:
# mxngroup m f grp.xml
The same rules apply when replacing systems using XML syntax.
To remove a system group, or several system groups, use one of the following commands:
# mxngroup r g grp ; remove group â grpâ
# mxngroup r f grprm.xml ; remove groups listed in XML file
â grprm.xmlâ
When modifying or removing system groups, Systems Insight Manager modifies or removes,
respectively, any authorizations associated with the groups.
Using the mxngroup command you can display group information by group name or group
members, for example:
# mxngroup l [d | f | m | n] g grpname
# mxngroup l [d | f | m | n] n member
The first command displays information about group grpname. The second command displays
information for all the groups that contain the member. If you omit the g grpname or n member
options, then the information for all system groups in Systems Insight Manager appear.
The optional parameters define the formatting style and amount of information displayed.
The dâ option displays detailed, screen-viewable listing of group information.
The fâ option displays group information in XML format.
The mâ option displays the members of the group.
The nâ option displays the names of the system groups.
Managing toolboxes
The mxtoolbox command enables you to add, modify, remove, or list toolboxes in Systems Insight
Manager. For a complete description of mxtoolbox, see the mxtoolbox man page. For a complete
description of the XML syntax required to manage toolboxes using an XML file, see the
mxtoolbox(4) man page.
Toolboxes are an integral part of creating authorizations in Systems Insight Manager. A toolbox
contains a set o fSystems Insight Manager tools that one or more users can run on the systems they
are authorized to manage. An example of using toolboxes is to create a toolbox containing tools
that apply only to HP-UX systems and a toolbox containing tools that apply only to Windows
Managing users and authorizations 149