From: Darrell May <[EMAIL PROTECTED]>
To: Jaime Nebrera Herrera <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, August 07, 2001 9:29 AM
Subject: Re: [e-smith-devinfo] Server monitoring module ready for download
>
> Installed:
> sysstat-3.3.5-3.i386.rpm
> rrdtool-1.0.33-1.i386.rpm
> e-smith-monitor_en-1.0-01.noarch.rpm
>
> Edited line 218 of /etc/e-smith/web/functions/monitor doing search and
> replace on Alto (High) Medio (Medium) and Bajo (Low).
>
> Everything works fine but only eth0 title/graph is generated. I see
> in /var/lib/rrd that data is being collected for:
Same result for me
>
> [root@e-smith rrd]# ll /var/lib/rrd
> total 280
> -rw-r--r-- 1 root root 48100 Aug 6 18:19 eth0.rrd
> -rw-r--r-- 1 root root 48100 Aug 6 18:19 eth1.rrd
> -rw-r--r-- 1 root root 48100 Aug 6 16:54 ippp0.rrd
> -rw-r--r-- 1 root root 14980 Aug 6 18:15 mainhd.rrd
> -rw-r--r-- 1 root root 48100 Aug 6 16:54 ppp0.rrd
> -rw-r--r-- 1 root root 24388 Aug 6 18:19 usedcpu.rrd
> -rw-r--r-- 1 root root 24388 Aug 6 18:19 usedram.rrd
> -rw-r--r-- 1 root root 24388 Aug 6 18:19 usedswap.rrd
>
> 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.
Tried the suggested changes. Still no eth1 graph.
Could manually get the detailed graph by editing the URL ( changing eth0 to
eth1 ). But no multiple interface graphs.
I suspect that the problem is either the intial detection of the multiple
interfaces or the reading/writing to the array.
Don't know enough about perl to comment further. I might have to RTFM :-)
rgds
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