[rtg] v8 Display Issue
trefalgar at realitybytes.net
trefalgar at realitybytes.net
Wed Mar 26 16:14:24 EDT 2008
$main::table_map{'NetSNMP-real'} = [ qw(memTotalReal memAvailReal) ];
$main::table_options{'NetSNMP-real'} = [ qw(gauge=on units=Bytes
factor=1000) ];
$main::table_class{'NetSNMP-real'} = "memory";
$main::table_map{'NetSNMP-disk'} = [ qw(dskAvail dskUsed) ];
$main::table_options{'NetSNMP-disk'} = [ qw(scaley=on gauge=on
units=Bytes factor=1000) ];
$main::table_class{'NetSNMP-disk'} = "disk";
The above is found in the default NetSNMP.pl module. It generates a
single row with two columns when you look at the device through the
view.php. Using the same method, I've created a lot of other modules.
For some reason, with a new module, it's creating 6 columns and 6 rows
(36 total links, when only 6 should be valid).
$main::table_map{'JABBER-inuse'} = [ qw(jaDSDbInUseCount
jaAMDSDbInUseCount jaJMSXDbInUseCount jaRSCDSDbInUseCount
jaSRSDSDbInUseCount) ];
$main::table_options{'JABBER-inuse'} = [ qw(gauge=on units=Num) ];
$main::table_class{'JABBER-inuse'} = "jabber";
$main::table_map{'JABBER-maxinuse'} = [ qw(jaDSMaxDbInUseCount
jaAMDSMaxDbInUseCount jaJMSXMaxDbInUseCount jaRSCDSMaxDbInUseCount
jaSRSDSMaxDbInUseCount) ];
$main::table_options{'JABBER-maxinuse'} = [ qw(gauge=on units=Num) ];
$main::table_class{'JABBER-maxinuse'} = "jabber";
There's two examples of the 6, they all follow the same basic concept.
The targets.cfg is generated without a problem, and data is being
polled. I'm having the same problem with a custom integration using
Looper-NG, everything works fine, but it's creating a lot of links
that aren't valid and as far as I can tell, shouldn't even be displayed.
Suggestions?
Jacob
More information about the RTG
mailing list