I've experienced difficulty with protoUsage.pl.  It appears the some of 
the elements of the ntopHash have an extra newline character in front of 
their names.  In order to get protoUsage.pl to work I had to change it 
as follows.

example:

$e = 
$ntopHash{$if}{IP}{"\nNBios-IP"}{local}+$ntopHash{$if}{IP}{"\nNBios-IP"}{local2remote}
+$ntopHash{$if}{IP}{"\nNBios-IP"}{remote2local}+$ntopHash{$if}{IP}{"\nNBios-IP"}{remote};

without the  newline characters, I get all zeros instead of the correct 
values.

Wally


_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop

Reply via email to