> This change got me a listing for eth1, but the link at the top of the page
> for eth0 and eth1 both point to generating graphs for eth0.  I can't give
> many suggestions on this one, except that I thought the original problem
> might have to deal with the "foreach $key (@dispRed)" line (which we have
> now altered).
>
> BTW, I'm running e-smith 4.1.2, rrdtool-1.0.28-1.i386.rpm,
> sysstat-3.3.3-3.i386.rpm, e-smith-monitor_en-1.0-01.noarch.rpm.


You also need to make the changes to line 171 ( as per Darrtl May's earlier
email )

"My 'guess' is the problem may be in /etc/e-smith/web/functions/monitor
where you have hardcoded eth0 on line 171 instead of using the $key
variable."


New summary :-)

Comment out the following lines

Line 70.   # $q->param(-name=>"dispred", value=>@dispRed);
Line 79.   # $q->param(-name=>"dispred", value=>@dispRed);
Line 85.   # $q->param(-name=>"dispred", value=>@dispRed);
Line 100  #my @dispRed = $q->param("dispred");
Line 148  #my @dispRed = $q->param("dispred");

Edit line 171 to look like this:

print "<td align=center><b>" . $q->a ({href => $q->url (-absolute => 1) ..
"?state=detailed&titlegraph=".$key."+traffic&typegraph=line&rrddb=".$key."&r
rdvar=".$key."&typevar=AVERAGE&refresh=60"}, $key) . "</b></td>",


Rod



--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org

Reply via email to