Download MG-SOFT Trap Ringer Professional Edition - MG

Transcript
MG-SOFT Trap Ringer Pro — User Manual
Configuring SNMP Notification Monitoring Options
4. Into the Command line input line enter the command to be run on received SNMP
Trap or SNMP Inform message. You can use the Browse (…) button to select the
executable file and optionally add additional switches and parameters to the command
line. For example, you can create a script/batch file that will invoke a program to send a
pop-up message containing Trap details to administrator, etc.
5. To enable passing details about received SNMP notifications to the invoked program,
check the Command line arguments checkbox. The accompanying input line
becomes enabled.
6. Trap Ringer comes with a set of reserved words that can be inserted into the
Command line arguments input line to pass desired notification details to the
command line. All reserved words start with the “$” character. The reserved words are
replaced with the actual values when the command is executed, e.g., the
“$RECEIVED” reserved word is replaced with the time and date of notification
reception, which is then passed to the above command as an ASCII string. By default,
the Command line arguments input line contains a pre-configured expression, which
can be freely edited (you can combine regular text with reserved words).
The following is the default command line arguments expression:
$NOTIFICATION received from: $AGENT_ADDRESS at $RECEIVED
An example set of parameters appended to the command line when using the above
(default) settings would be:
Trap coldStart received from: sasor (192.168.100.15) at 02/23/13 15:37:16
To view all available reserved words use the Browse (…) button to open the
Reserved Words dialog box, listing available reserved words and their
descriptions.
Figure 19: Reserved Words dialog box
38