User Guide: Vista Manager SNMP Plug-in version 2.8.1

Action Command Configuration Utility



"Action Command Configuration Utility" lets you define actions ("Action Commands") for use with the Event Filter function.

Note
You can configure which action to take on a specifc event using "Event Filter Configuration Utility".

Launch the Utility

To launch the utility, right-click [Vista Manager EX Installation Directory]\Plugins\AT-SNMP\NetManager\bin32\ANMActionConfig.exe and select "Run as administrator".

Configuration Items


Table 1: Action Command Configuration Utility
Item Content
Action Command Shows a name of the action command. No action command is defined by default.
Add Lets you add an action command.
Enter required parameters and click "OK" on "Action Command Properties" dialog box.
Edit Lets you edit an action command selected on the list.
Change parameters as required and click "OK" on "Action Command Properties" dialog box.
Delete Lets you delete actions selected on the list.
OK Saves changes and exits the utility.
Cancel Exits the utility.
Click "Yes" to save changes and exit, or click "No" to discard changes and exit on a confirmation dialog box.
"Close" button Exits the utility.
Apply Just saves changes. You can continue to use the utility.

Action Command Properties

You can add or edit an action command.


Table 2: Action Command Properties
Item Content
Action Command
Shows a list of pre-defined action commands.
Select a command you want to add.
If the selected command requires parameters, enter parameter values for the command in now enabled "Parameter" field.
Note
When you select "Send Mail", "minimail" program which came with SNMP Plug-in is used. minimail is a simple command-line mail transfer client. The program can only send emails and cannot receive them. It can check errors in parameter values only. If you use "Send Mail" action command for an event, test it on Command Prompt and make sure that emails are sent as expected.
Custom Command
If you want to use an arbitrary program on the SNMP Plug-in server, select "Custom Command" from the "Action Command" dropdown list.
Then enter a full path to the program in now enabled "Custom Command" field.
You can also specify a command path by clicking "Browse" button and selecting one from a standard file selection dialog box.
Use "Parameter" field to specify a parameter to pass to the custom command.
Parameters
When you select a command which requires parameters in "Action Command" field, this field becomes active. Enter an appropriate parameters here.
When an event occurs, a command specified in "Action Command" is invoked with the parameter you entered here appended to the command.
You can use not only a literal string but also special variables such as event source address or timestamp in a parameter.
Refer to "Parameters" and "Special Variables" for more details.
Where to run
Specify where to run the action command.
Note
Only "Server" (default) is supported. "Viewer" is not supported.
Description You can enter a comment for the action command for later references. Initially, a default comment is input in the field.

Parameters

When you use "Send Mail" action command, specify the following parameters.

◼ Send Mail
Syntax: <server name> <option>...

◼ Run Route Test Command
Syntax: <option> IPaddress

Special Variables

You can use the following special variables in action command's parameter.
The special variable names begin with "%". When you use them in "Parameter", they will be replaced with their actual values and then passed to the command.

Table 5: Action Command's Special Variables
Node Name Description
%name A name of a log event source (e.g. node name)
%adr An address. IP address is used when both IP and MAC address are available.
%ip An IP address. IPv4 address is used when both IPv4 and IPv6 address are available.
%ipv4 An IPv4 address
%ipv6 An IPv6 address
%mac A MAC address. If a target node has IPv4, IPv6 and MAC addresses, those addresses are prefered in the order of IPv4, IPv6 and MAC.
%msg A message (log event detail).
%type Log Type
%subt Event
%level Log Level ("User", "Informational" or "Debug").
%time Date/Time of a log event.
%aid Action Command ID number.
Note
Special variable "%aid" is currently not supported.



28 Nov 2022 12:59