FAQ:Perl 00

From Net-SNMP Wiki
Jump to: navigation, search

What is the purpose of the Perl SNMP module?

Short, comprehensive (but ultimately unhelpful) anwer - to provide a perl interface for SNMP operations.

Longer, incomplete (but more useful) answer - there are probably two main uses for the Perl SNMP module. The first is for developing client management applications, using perl to send SNMP requests, and manipulating or displaying the results. As such, this is a straight alternative to various other SNMP toolkits currently available (for both perl and other programming languages).

The second is as a means for extending the functionality of the Net-SNMP agent, by implementing new MIB modules. This is an alternative to the other script-based extension mechanisms, but is more tightly bound to the Net-SNMP agent (and hence more efficient), while still avoiding the need to write C code.

It is also possible to use the perl SNMP module in the snmpd.conf file, or to process incoming notifications, but the above are probably the two primary uses.

   FAQ:Perl
   
  1. What is the purpose of the Perl SNMP module?
  2. Where can I get the Perl SNMP package?
  3. How do I install the Perl SNMP modules?
  4. But compiling this fails! Why?
  5. Compiling the Perl module works OK, but 'make test' fails. Why?
  6. Why can't mib2c (or tkmib) locate SNMP.pm?
  7. Why can't mib2c (or tkmib) load SNMP.so?
  8. Why can't tkmib locate Tk.pm?
  9. Why does your RPM complain about missing Perl modules?
  10. I've got a problem with the Net-SNMP module. Can you help?