Registered functions are called with 2 arguments. DESCRIPTION Within the nf file, the keyword ``perl'' may be used to callany perl expression and using this ability, you can use theNetSNMP::TrapReceiver module to register functions which will becalled every time a given notification (a trap or an inform) isreceived. It is intended solely for embedded use within thesnmptrapd demon. This module can NOT be used in a normal perl script toreceive traps. Registration offunctions is then done through the nf configurationfile. ![]() Net-SNMP MUST havebeen configured using -with-embedded-perl. Perl NetSNMP::TrapReceiver::register("trapOID", \
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |