Ina Patricia Lopez wrote:

> hi!
>   im trying to get the average i/o rate of my router (e.g. s0 and s1)
> using expect script.  the script is working but it echoes the command
> on the terminal. how do i disable it so that it would only display the
> required result?

using *expect*  is not advisable if snmp can do the job for you for security (you
are using telnet there) and network management purposes. use only expect if you
want to query something that snmp variables dont have.


> and how do i display the particular lines that says
> "5 minute input rate...." and "5 minute output rate..." ?
>

mrtg will take care of the rest when you query your router for every five minutes
in your crontab.

fooler.


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to