MZL & Novatech TrafficStatistic Website
Home MZL
Webshop
Products
Webservice
Helpdesk
Feedback
About us
News
Submit News
MZL & Novatech Product and Service News
Traffic Statistics News Robot
OpenSource Perl SNMP Trap...
Traffic Statistics Users Newsfeed
Search
MZL & Novatech TrafficStatistic Website
News - more news - submit news - XML
USA, 11/19/08:  (details)
iOrgSoft Inc. Released The Best Video Converter-a versatile video editing and conversion software
New York, 11/07/08:  (details)
MelodyCan Convert wma, m4p, m4b, m4a, aac, mpeg, m4v, mp3 on 64 bit OS
USA, 11/06/08:  (details)
Wondershare Media Converter is not only a professional DRM remover, which can remove DRM from both protected music and video files, but also a powerful DRM Media Converter that supports nearly all the popular media formats.
gd/china, 11/06/08:  (details)
Brand-new Daniusoft DVD to iPod Converter
sz/gd, 10/21/08:  (details)
Super DVD ripper upgrade to free Rip DVD without watermark

Channel: Traffic Statistics News RobotThis Traffic Statistic news channel is feeded by the Traffic Statistics News Robot, which crawls through the web to find Traffic Statistic related resources. The TrafficStatistic News Robot is currently running in alpha state, so be prepared that it might may bring out sometimes surprising results. The robot should care for robots.txt as defined in robots.txt. If the robot grabbed any content it shouldn't have grabed or if you want your resource to be grabed just send a mail to newsrobot@trafficstatistic.com and the trafficstatistic admin will delete it.



Richmond Hill/Canada, 09/03/04

OpenSource Perl SNMP Trap Translator 1.0


SNMPTT (SNMP Trap Translator) is an SNMP trap handler written in Perl for use with the Net-SNMP / UCD-SNMP snmptrapd program from www.net-snmp.org.

Many network devices including but not limited to network switches, routers, remote access servers, UPSs, printers and operating systems such as Unix and Windows NT have the ability to send notifications to an SNMP manager running on a network management station. The notifications can be either SNMP Traps, or SNMP Inform messages.

The notification can contain a wide array of information such as port failures, link failures, access violations, power outages, paper jams, hard drive failures etc. The MIB (Management Information Base) available from the vendor determines the notifications supported by each device.

The MIB file contains TRAP-TYPE (SMIv1) or NOTIFICATION-TYPE (SMIv2) definitions, which define the variables that are passed to the management station when a particular event occurs.

The Net-SNMP program snmptrapd is an application that receives and logs SNMP trap and inform messages via TCP/IP. Following is a sample syslog entry for a Compaq cpqDa3LogDrvStatusChange trap that notifies that the drive array is rebuilding:

Feb 12 13:37:10 server11 snmptrapd[25409]: 192.168.110.192: Enterprise Specific Trap (3008) Uptime: 306 days, 23:13:24.29, .1.3.6.1.2.1.1.5.0 = SERVER08, .1.3.6.1.4.1.232.11.2.11.1.0 = 0, .1.3.6.1.4.1.232.3.2.3.1.1.4.8.1 = rebuilding(7)

or

Feb 12 13:37:10 server11 snmptrapd[25409]: 192.168.110.192: Enterprise Specific Trap (3008) Uptime: 306 days, 23:13:24.29, sysName.0 = SERVER08, cpqHoTrapFlags.0 = 0, cpqDaLogDrvStatus.8.1 = rebuilding(7)

The output from snmptrapd can be changed via the -O option to display numeric or symbolic OIDs and other display options, but it generally follows the format of variable name = value, variable name = value etc.

A more descriptive / friendly trap message can be created using SNMPTT's variable substitution. Following is the same trap, logged with SNMPTT:

Feb 12 13:37:13 server11 TRAPD: .1.3.6.1.4.1.232.0.3008 Normal "XLOGONLY" server08 - Logical Drive Status Change: Status is now rebuilding

The definition for the cpqDa3LogDrvStatusChange trap in the SNMPTT configuration file would be defined as follows:

FORMAT Logical Drive Status Change: Status is now $3.

The $3 represents the third variable as defined in the MIB file, which for this particular trap, is the cpqDaLogDrvStatus variable.

Another example of an SNMPTT configuration entry is:

FORMAT Compaq Drive Array Spare Drive on controller $4, bus $5, bay $6 status is $3.

Which could result in the following output:

"Compaq Drive Array Spare Drive on controller 3, bus 0, bay 3 status is Failed."

Snmptt can log to any of the following destinations: text log, syslog, NT Event log or a SQL database. External programs can also be run to pass the translated trap to an email client, paging software etc.

In addition to variable substitution, SNMPTT allows complex configurations allowing:

* the ability to accept or reject a trap based on the host name, ip address, network range, or variable values inside of the trap enterprise variables
* execute external programs to send pages, emails etc
* perform regular expression search and replace on the translated message such as translating the variable value "Building alarm 4" to "Moisture detection alarm"


SNMP Trap Translator is licensed under GPL.

Link provided: http://www.snmptt.org/



Added by: Traffic Statistics News Robot

Previous news item - - - Next news item

Impressum
© 2004-2005 MZL Billing Services & Novatech Ltd. All rights reserved.
Sponsoring Mein Parteibuch