Removing and restoring custom tools, Removing a tool, Restoring a tool – HP Systems Insight Manager User Manual

Page 297: Environment variables for custom tools, Removing a tool restoring a tool

Advertising
background image

Removing and restoring custom tools

Removing a tool

The Remove a Tool tool, removes a tool from the menu for all users in HP Systems Insight Manager (HP SIM).
The tool name must match the name in the tool definition file.

WARNING!

This tool can remove any tool, including tools supplied by HP.

To remove a tool from HP SIM:

1.

Select Options

Remove a Tool. The Remove a Tool page appears.

2.

Under Parameters, add information using the standard tool parameters. Tool name is the only required
field.

3.

Click Run Now to run the task immediately, or click Schedule to schedule when the task runs. See

“Scheduling a task”

for more information on scheduling a task.

To remove tools using the command line, enter

mxtool -r -t badtool

where badtool is the name of the tool you want to delete. See

mxtool(1M)

for more information.

Restoring a tool

To restore a tool using the command line, enter:

mxtool -a -f /home/user1/defs/mytooldef

where /home/user1/defs/ is the folder of the user restoring the tool and mytooldef is the tool to be
restored. See

mxtool(1M)

for more information.

Related topics

Custom tools

Custom tools reference

Environment variables for custom tools

NOTE:

If your user-defined variables have the same names as the HP Systems Insight Manager (HP SIM)

environment variables, the HP SIM environment variables override the user-defined variables.

NOTICELABEL. Type of notice; a small string that contains discovered system, other HP SIM server-level
notices, or the type of trap that caused the notice

NOTICESTATE. Internal value used by HP SIM, indicating whether the notice is cleared

NOTICEPLAINTEXT. Plain text description of the notice that contains detailed information about the notice
(In Progress, Cleared, or Not Cleared)

NOTICERAWDATA. The raw data from the notice is passed as a string; this is a small pipe (|) delimited set
of variables and might be useful for some simple parsing rules

NOTICESEVERITYSTR. Verbose description of the notice severity that can be one of Critical, Informational,
Major, Minor, Unknown, Warning, and Normal

NOTICESEVERITY. Integer value of the NOTICESEVERITYSTR that can be one of:

0, Unknown

1, Normal

2, Warning

3, Minor

4, Major

5, Critical

100, Informational

Custom tools 297

Advertising