Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.181.088 Times

NetSNMP::TrapReceiver 5.0401

Company: Wes Hardaker
Date Added: August 21, 2013  |  Visits: 372

NetSNMP::TrapReceiver

Report Broken Link
Printer Friendly Version


Product Homepage
Download (38 downloads)



NetSNMP::TrapReceiver is a Perl module used to register Perl subroutines into the Net-SNMP snmptrapd process. Net-SNMP MUST have been configured using --enable-embedded-perl. Registration of functions is then done through the snmptrapd.conf configuration file. This module can NOT be used in a normal perl script to receive traps. It is intended solely for embedded use within the snmptrapd demon.<br /><br />Within the snmptrapd.conf file, the keyword "perl" may be used to call any perl expression and using this ability, you can use the NetSNMP::TrapReceiver module to register functions which will be called every time a given notification (a trap or an inform) is received. Registered functions are called with 2 arguments. The first is a reference to a hash containing information about how the trap was received (what version of the SNMP protocol was used, where it came from, what SNMP user name or community name it was sent under, etc). The second argument is a reference to an array containing the variable bindings (OID and value information) that define the noification itself. Each variable is itself a reference to an array containing three values: a NetSNMP::OID object, the value that came associated with it, and the value's numeric type (see NetSNMP::ASN for further details on SNMP typing information).<br /><br />Subroutines are registered using the NetSNMP::TrapReceiver::register function, which takes two arguments. The first is a string describing the notification you want to register for (such as "linkUp" or "MyMIB::MyTrap" or ".1.3.6.1.4.1.2021...."). Two special keywords can be used in place of an OID: "default" and "all". The "default" keyword indicates you want your handler to be called in the case where no other handlers are called. The "all" keyword indicates that the handler should ALWAYS be called for every notification.<br /><br />SYNOPSIS<br /><br />Put the following lines in your snmptrapd.conf file:<br /><br /> perl NetSNMP::TrapReceiver::register("trapOID", &myfunc);

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Arguments Array Called Functions Information Keyword Module Netsnmptrapreceiver Netsnmptrapreceiver 5 0401 Notification Received Reference Register Snmptrapdconf Variable
Users rating: 0/10

License: Freeware Size: 20.48 KB
USER REVIEWS
More Reviews or Write Review


NETSNMP::TRAPRECEIVER RELATED
Libraries  -  Bio::NEXUS::Functions 0.67
Bio::NEXUS::Functions is a Perl module that provides private utility functions for the module. This package provides private functions that are not object-specific..
153.6 KB  
Form Processors  -  PHP Form Extension Project 0.6.1
PHP Form Extension Project provides HTML form handling functions as PHP module. There are many form classes/functions implemented as PHP script. However, they are not fast enough or lack features. This project aims to provide HTML form handling...
 
Programming  -  Array::Window 1.02
Many applications require that a large set of results be broken down into a smaller set of 'windows', or 'pages' in web language. Array::Window is a Perl module that implements an algorithm specifically for dealing with these windows. It is very...
30.72 KB  
Libraries  -  GD::Graph 1.4308
GD::Graph is a graph plotting module for Perl 5. SYNOPSIS use GD::Graph::moduleName; GD::Graph is a perl5 module to create charts using the GD module. The following classes for graphs with axes are defined: GD::Graph::lines Create a line...
143.36 KB  
Modules  -  Open Flash Chart API 6.x-2.6 / 5.x-2.6 1.0
The API provides a wide array of functions to be used by other modules.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Requirements: - Drupal 5.x/6.x
 
Modules  -  Style (CSS) Settings 1.0
This module lets you use any (custom) theme setting or Drupal variable in any of your theme style sheets (CSS). It replaces all your theme style sheets by a rewritten version. Using special tags in the original style sheet you can replace a...
 
Modules  -  Config to Code 5.x-1.1
Config to Code module for Drupal 5 makes it easy to deploy new views and panels and to version-control changes to existing ones with a source code repository like subversion. It makes it quick and easy to move configured views and panels in the...
10 KB  
Programming  -  java.sizeOf 0.2.1
A very simple implementation of C++ keyword sizeof for Java 5+. Developers can use it to know the real size of objects in memory.
15.44 KB  
Modules  -  Drupal For Firebug 6.x-1.1/5.x-1.2 1.0
If debugging information does not appear check that the theme is outputting the $closure variable.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Requirements: -...
 
Utilities  -  NotifyAmarok 1.0
Amarok libnotify connection NotifyAmarok script sends information about currently played tracks to the notification daemon of the libnotify package to be displayed as notification. It is intended to replace Amarok's own OSD, so its...
51.2 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB