As a thought, what about using a trap forwarder? There is a trap forwarder for free here: http://www.ncomtech.com/trapfwd.html If you sent all the traps to a server running the forwarder software and then onward send them to WUG you could associate an ANY trap event from the forwarders IP within WhatsUp and then set the email action. Bit messy, but it should do what you want. Kind regards Clive Taylor WhatsUp Training Consultant HCL communications * Email: [EMAIL PROTECTED]
________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rimmer, Edward Sent: 29 October 2008 16:35 To: '[email protected]' Subject: RE: [WhatsUp Forum] SNMP Traps Yeah but the problem still is that the SNMP Trap will be coming from a big range of client pc's which are not on WhatsUp Gold, so it just see's it as an unscolicited trap and just logs it and does nothing else. Do you see what I'm saying ? Edd Rimmer IT Operations SSE Contracting Group ......................................................... Tel : 0118 9534314 Fax: 0118 9534383 Email : [EMAIL PROTECTED] <blocked::blocked::mailto:[EMAIL PROTECTED]> ......................................................... ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthony Franklin Sent: 29 October 2008 16:16 To: [email protected] Subject: RE: [WhatsUp Forum] SNMP Traps Oh by using the percent variables: I think the one you will need is the PassiveMonitor.Payload percent variable. Percent Variables Active Monitor Variables Description %ActiveMonitor.Argument SNMP instance number. This is only used when an action is associated directly with an active monitor, and not the device as a whole. %ActiveMonitor.Comment The human readable name that coincides with the network switch This is only used when an action is associated directly with an active monitor, and not the device as a whole. %ActiveMonitor.Name The name of the active monitor that fired an action. This is only used when an action is associated directly with an active monitor, and not the device as a whole. %ActiveMonitor.NetworkInterfaceAddress IP address for the network interface. This is only used when an action is associated directly with an active monitor, and not the device as a whole. %ActiveMonitor.Payload The payload returned by a WMI, Exchange, SQL, or SNMP active monitor. This is only used when an action is associated directly with an active monitor and not the devices as a whole. %ActiveMonitor.State The Current status of the monitor, such as "Down at least 5 min." This is only used when an action is associated directly with an active monitor, and not the device as a whole. Device Variables Description %Device.ActiveMonitorDownNames List of down services using the abbreviated name if available. %Device.ActiveMonitorUpNames Full service names of all UP monitored services on a device. %Device.Address IP address (from device properties). %Device.Attribute.[Attribute Name] Returns an attribute from the SNMP information available for the device, such as the Contact name. To specify the attribute, append the category name (listed below) to the end of the variable. For example: %Device.Attribute.Contact, returns the contact name. Default categories: ? *. Returns all attributes ? Info1. Upgrade path from v8 ? Info2. Upgrade path from v8 ? Contact. Contact information from SNMP ? Location. Location information from SNMP ? Description. Description information from SNMP ? Custom. If you have created a custom attribute you can use the name of that custom attribute in the percent variable. Example: %Device.Attribute.Phone %Device.Attribute.RackPosition To avoid an error, when placing %Device.Attribute in quotation marks, place a space between the last letter and the closing quotation mark. Example: "%Device.Attribute.Contact "; correct "%Device.Attribute.Contact"; incorrect %Device.DatabaseID Returns the database ID of a device. %Device.DisplayName Display Name (from General of device properties) %Device.HostName Host Name (from General of device properties) %Device.Notes Notes. (Notes are from the device properties Notes) %Device.SNMPOid SNMP Object identifier. %Device.State The state's description (such as "Down at least 2 min" or "Up at least 5 min") %Device.Status This shows the name of the active monitor, preceded by the device state id : 10|DNS %Device.Type Device Type (from General of device properties) Passive Monitor Variables Description %PassiveMonitor.DisplayName The name of the monitor as it appears in the Passive Monitor Library. %PassiveMonitor.LoggedText Detailed Event description. (SNMP traps - Returns the full SNMP trap text.) (Windows Log Entries - Returns information contained in the Windows Event Log entries.) (Syslog Entries - Returns the text contained in the Syslog message.) %PassiveMonitor.Payload.* Payload <mk:@MSITStore:D:\Apps\CGPro06\NmConsole.CHM::/payload_definition.htm> generated by a passive monitor. %PassiveMonitor.Payload.EventType The type of passive monitor (Syslog, Windows Event, or SNMP Trap) System Variables Description %System.Date The current system date. Configure the date format in Regional Options (from Program Options) %System.DisplayNamesDownDevices Display names of devices with down monitors %System.DisplayNamesDownMonitors Shows the name of a device and each monitor that is down on that device. The format of the response is 'device name':'monitor 1','monitor 2','...' Example: ARNOR: FTP, HTTPS, Ping %System.DisplayNamesUpDevices Display names of up devices %System.DisplayNamesUpMonitors Shows the name of a device and each monitor that is up on that device. The format of the response is 'device name':'monitor 1','monitor 2','...' Example: ARNOR: FTP, HTTPS, Ping %System.InstallDir Displays the directory on which WhatsUp Gold is installed %System.NumberofDownDevices Number of down devices on your network %System.NumberOfDownMonitors Shows the number of down monitors on your network %System.NumberofUpDevices Number of up devices on your network %System.NumberOfUpMonitors Shows the number of up monitors on your network %System.Time The current system time. The format is hh:mm:ss From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rimmer, Edward Sent: Wednesday, October 29, 2008 11:09 AM To: '[email protected]' Subject: RE: [WhatsUp Forum] SNMP Traps Yep I know that, but you tell me how I'm going to get it to forward the SNMP trap on in an email ? I know about blackout times Edd Rimmer IT Operations SSE Contracting Group ......................................................... Tel : 0118 9534314 Fax: 0118 9534383 Email : [EMAIL PROTECTED] <blocked::blocked::mailto:[EMAIL PROTECTED]> ......................................................... ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthony Franklin Sent: 29 October 2008 15:59 To: [email protected] Subject: RE: [WhatsUp Forum] SNMP Traps I don't think you would even need a script. Each device monitor can have several notifications associated with it. You can drill down even further apply dead time to those notifications. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rimmer, Edward Sent: Wednesday, October 29, 2008 10:50 AM To: '[email protected]' Subject: [WhatsUp Forum] SNMP Traps Hi there, Does anyone know if it would be possible to write a script where, past a certain time any SNMP traps that come in from any source (whether they're a device in WhatsUp or not) could be sent by e-mail ? Edd Rimmer IT Operations SSE Contracting Group ......................................................... Tel : 0118 9534314 Fax: 0118 9534383 Email : [EMAIL PROTECTED] <blocked::blocked::mailto:[EMAIL PROTECTED]> ......................................................... ********************************************************************* The information in this E-Mail is confidential and may be legally privileged. It may not represent the views of the Scottish and Southern Energy Group. It is intended solely for the addressees. Access to this E-Mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any unauthorised recipient should advise the sender immediately of the error in transmission. Scottish Hydro Contracting and SWALEC Contracting are Trading Names of Southern Electric Contracting Ltd (S EC) and part of the Scottish and Southern Energy Group. SEC Registered Office: 55 Vastern Road, Reading, Berkshire, RG1 8BU Registered in England and Wales No. 2317133 *********************************************************************
