I cannot be certain without seeing the cfg file, but I believe this information you want is included in the PageTop[] definitions for the targets in question?
If so, then you need to add the 'withpagetop' option to the Summary page; that will cause the PageTop of the component Targets to be displayed beside the graphs, immediately below the title name in the text area to the right. Note this can make things a bit confused if the PageTop is particularly large or has unmatched HTML!
If the summary page is a userdefined summary, this is easy; for example:
Code:
routers.cgi*Summary[mytarget]: mysummary
routers.cgi*Options[mysummary]: withpagetop
The problem you have is that you want these option in the Autogenerated summary page, and you cannot set these in the cfg file as the Summary page is not defined until the cfg file has finished processing.
There are two ways around this:
1. You can suppress the autogenerated summary page, by using 'routers.cgi*InSummary[_]: no', and then define your own custom summary page as above.
2. You can modify the routers2.cgi script to change the default. To do this you have to find this section of code, around line 3572:
Code:
if(@ifarr) {
if( defined $interfaces{'_summary_'} ) {
push @{$interfaces{'_summary_'}{targets}},@ifarr
if( $interfaces{'_summary_'}{mode} =~ /_AUTOSUMMARY/ );
} else {
$interfaces{'_summary_'} = {
usergraph=>1, insummary=>0, inmenu=>1, inout=>0, incompact=>0,
shdesc=>langmsg(2416,"Summary"), targets=>[@ifarr], noo=>1, mult=>8,
icon=>"summary-sm.gif", mode=>"\177_AUTOSUMMARY",
withtotal=>0, withaverage=>0, issummary=>1
};
$interfaces{'_summary_'}{active} = 1
if($routers{$router}{activesummary});
}
}
You need to add ',withtop=>1' immediately after 'issummary=>1' to make the PageTop get added automatically for all targets on all auto-generated summary pages for all devices. See below:
Code:
if(@ifarr) {
if( defined $interfaces{'_summary_'} ) {
push @{$interfaces{'_summary_'}{targets}},@ifarr
if( $interfaces{'_summary_'}{mode} =~ /_AUTOSUMMARY/ );
} else {
$interfaces{'_summary_'} = {
usergraph=>1, insummary=>0, inmenu=>1, inout=>0, incompact=>0,
shdesc=>langmsg(2416,"Summary"), targets=>[@ifarr], noo=>1, mult=>8,
icon=>"summary-sm.gif", mode=>"\177_AUTOSUMMARY",
withtotal=>0, withaverage=>0, issummary=>1, withtop=>1
};
$interfaces{'_summary_'}{active} = 1
if($routers{$router}{activesummary});
}
}
Note this is for routers2 v2.22 so you may have a slightly different version.