[Tsung] snmp monitoring under erlang 5.6?

Nicolas Niclausse nicolas at niclux.org
Tue Mar 11 10:42:08 CET 2008


Matthew Wood ecrivait le 10.03.2008 21:42:
> Hi all - this is my first day or two with Tsung so please forgive me
> if I put a foot wrong.
> 
> I'm using Tsung 1.2.2 on top of the current erlang from Macports (5.6/
> R12B) and I'm seeing the 'broken SNMP monitoring' symptom from bug
> TSUN-30.
> 
> I did a little looking at the code and found (in src/lib/snmp_mgr.erl):
> 
>>        MiniMIB  = case erlang:system_info(version) of
>>                       "5.5" ++ _Tail ->
>>                           snmp_mini_mib:create(Mibs);
>>                       _ ->
>>                           snmp_misc:make_mini_mib(Mibs)
>>                   end,
> 
> Does this test need to be broadened?

Oh well ... yes, you are right.

should work in rev 815, see patch:

https://forge.process-one.net/rdiff/Tsung?csid=815&u&N

thanks,
-- 
Nicolas


More information about the Tsung-users mailing list