How to configure SNMP traps in Spotlight on Messaging
WORKAROUND:
You can pass alerts to external applications using Simple Network Management Protocol (SNMP).
1. Create a batch file to send the SNMP trap using iwsnmptrap.exe.
iwnsmptrap.exe usage isnmptrap.exe host community_name trap-type specific-type description
Sample Batch File
@echo off
SETLOCAL enabledelayedexpansion
SET in1=%1
SET in2=%2
SET in3=%3
SET in4=%4
If %1 == Error "C:\Program Files\Quest Software\Spotlight on Messaging\ManagementConsole\Binaries\iwsnmptrap.exe" <server> <community name> 6 0 "!in1:"=! on !in2:"=! - !in3:"=! = !in4:"=!"
REM - <server> indicates the computer name to receive the SNMP trap.
REM - <community name> indicates the SNMP community name (usually "public")
2. Open the Spotlight on Messaging Management Console.
3. Expand the Global Settings node in the Management Console treeview and select Notifications.
4. Create a new Notification group. Under Groups, click Add to specify the sender name and email address.
5. Click in the Execute command line box, and enter the path to your batch file with the tokens you would like to send in your notifications
"c:\script\send.bat $CounterOutcome$ $ServerName$ $CounterName$ $CounterValue$
5. Click OK.
To test the SNMP traps you can manually run the batch file with the following values Example: "c:\script\send.bat Test_Outcome Test_ServerName Test_CounterName Test_CounterValue"
Which should send a trap to the host specified in the batch file with the values Test_Outcome Test_ServerName Test_CounterName Test_CounterValue.
For more information on Notifications and the types of tokens that can be sent consult the "Configuring Notification Settings" section in the Spotlight on Messaging User Guide. The guide can be found in the Installation folder / Documentation.
C:\Program Files\Quest Software\Spotlight on Messaging\Documentation
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center