[Click] SNMP support?

Eddie Kohler kohler at cs.ucla.edu
Sun Feb 22 22:59:53 EST 2009


Hi,

Thanks for this bug report, and again apologies for not seeing it earlier. 
Apparently the Click SNMP elements did not compile on a machine on which 
int64_t was the same type as long.  I believe that this problem is fixed by 
the following git commit:

http://www.read.cs.ucla.edu/gitweb?p=click-packages;a=commit;h=393536018e6822659744d1b688cb6e9ae543d43b

Please report if you still experience problems.

I've also documented the simple sample configuration that comes with the SNMP 
elements.  In case that is useful for you:

http://www.read.cs.ucla.edu/gitweb?p=click-packages;a=blob;f=snmp/conf/test-trap.click;h=176cfae06a42331d283eb0be957cf22c6be9988c;hb=caaaada52dcc7c612b5e0485405dbe4d41d40646

Thanks again.
Eddie



Latency Buster wrote:
> Is SNMP supported in the latest version (cvs download) of click?
> Also, SSE extensions error in netflow package.
> 
> <error>
> make[1]: Entering directory `/home/click/click-packages/snmp'^M
>   CXX snmpber.cc^M
> In file included from snmpber.cc:19:^M
> snmpber.hh:48: error: \342\200\230SNMPBEREncoder::Status
> SNMPBEREncoder::encode_integer(SNMPTag, int64_t)\342\200\231 cannot be
> overloaded^M
> snmpber.hh:41: error: with \342\200\230SNMPBEREncoder::Status
> SNMPBEREncoder::encode_integer(SNMPTag, long int)\342\200\231^M
> snmpber.hh:49: error: \342\200\230SNMPBEREncoder::Status
> SNMPBEREncoder::encode_integer(SNMPTag, uint64_t)\342\200\231 cannot
> be overloaded^M
> snmpber.hh:42: error: with \342\200\230SNMPBEREncoder::Status
> SNMPBEREncoder::encode_integer(SNMPTag, long unsigned
> int)\342\200\231^M
> snmpber.cc:313: error: redefinition of
> \342\200\230SNMPBEREncoder::Status
> SNMPBEREncoder::encode_integer(SNMPTag, int64_t)\342\200\231^M
> snmpber.cc:237: error: \342\200\230SNMPBEREncoder::Status
> SNMPBEREncoder::encode_integer(SNMPTag, long int)\342\200\231
> previously defined here^M
> snmpber.cc:340: error: redefinition of
> \342\200\230SNMPBEREncoder::Status
> SNMPBEREncoder::encode_integer(SNMPTag, uint64_t)\342\200\231^M
> snmpber.cc:273: error: \342\200\230SNMPBEREncoder::Status
> SNMPBEREncoder::encode_integer(SNMPTag, long unsigned int)\342\200\231
> previously defined here^M
> make[1]: *** [snmpber.uo] Error 1^M
> make[1]: Leaving directory `/home/click/click-packages/snmp'^M
> make: *** [snmp.uo] Error 2^M
> </error>
> 
> Thanks,
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list