Rev 11 |
|
Rev 13 |
Line 17... |
|
Line 17... |
# read module-specific settings |
|
# read module-specific settings |
# |
|
# |
undef %DEVS; |
|
undef %DEVS; |
foreach (HotSaNICparser::read_settings(".")) { |
|
foreach (HotSaNICparser::read_settings(".")) { |
($var,$value)=HotSaNICparser::parse_line($_); |
|
($var,$value)=HotSaNICparser::parse_line($_); |
if ($var eq "DEVICE") { |
|
if ($var eq "IFACE") { |
($ip,$name)=split(/,/,$value); |
|
($ip,$name)=split(/,/,$value); |
$DEVS{$ip}=$name; |
|
$DEVS{$ip}=$name; |
} |
|
} |
} |
|
} |
@DIAGRAMS=("hour","6h","day","week","month","year"); |
|
@DIAGRAMS=("hour","6h","day","week","month","year"); |