WELCOME [ Log In · Register ]        SITE [ Search · Page Index · Recent Changes ]    RSS

Wanpipe WAN Appendix

  1. SNMP Support





SNMP Support
if you are having trouble finding the Wanpipe interface with net-snmp, a modification needs to be done to make snmp work with wanpipe interfaces:

In the snmp source directory,
in agent/mibgroup/mibII/interfaces.c

Look for the line
nnew->if_type ==24 ? 10000000 :

this line is to monitor interfaces of type “Ethernet”, add an interface type for wanpipe:

nnew->if_type ==23? 10000000 :
so your interfaces.c file would have both:

nnew->if_type ==24 ? 10000000 :

nnew->if_type ==23 ? 10000000 :

There is a patched version for version 5.3 there: ftp://ftp.sangoma.com/linux/utilities/net-snmp-5.3.tgz