Ascend Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (ASCEND) MRTG




You might try something like the attached file....works well for
us.........

Jim Warren					Connecting America
jim@coam.net					www.coam.net
	   Phone: 702-648-0390	   Fax:  702-648-2712

On Thu, 4 Jun 1998, Phillip Heller wrote:

> Date: Thu, 4 Jun 1998 16:00:20 -0400 (EDT)
> From: Phillip Heller <phil@vortex.bd.psu.edu>
> To: "Leland E. Vandervort" <lelandv@innotts.co.uk>
> Cc: ascend-users@bungi.com
> Subject: Re: (ASCEND) MRTG
> 
> On Thu, 4 Jun 1998, Leland E. Vandervort wrote:
> 
> Well, I have configured MRTG to successfuly get the bytes in and bytes out
> on the ethernet interfaces and graph them, but the powers that be (the
> ones who sign my paycheck) want it to graph usage by how many people are
> on at a time.  So basically, I guess I need to know the id for how many
> current sessions.  .7 is for ethernet, what is for current sessions?
> 
> Thanks for the help.
> 
> # On Thu, 04 Jun 1998, Phillip Heller murmured something resembling:
> # >Does anyone have a MRTG config file for an Ascend Max they'd be willing to
> # >share?
> # 
> # I only use mrtg for the ethernet interface of the maxxen, but it still shows
> # total traffic (approx) through to the dialups.
> # 
> # If you want an example, let me know.
> # 
> # 
> #  --
> # Leland E. Vandervort                       | Network Engineer
> # leland@discpro.org / leland@innotts.com    | internet in nottingham, ltd
> # http://www.discpro.org/~leland/            | http://www.innotts.co.uk/
> # Undernet NA Routing-Com Secretary          | +44 (0)115 956-2288
> # ------------------------------------------------------------------------
> #       UK KDE Web Site Mirror Maintainer:  http://kde.innotts.com/
> #         IRC Operator: (Undernet)  Baltimore, London, Ann-Arbor
> # IRC Operator/Admin/Services Coder: (KidsWorld) Notts.UK.EU.KidsWorld.Org
> # ++ Ascend Users Mailing List ++
> # To unsubscribe:	send unsubscribe to ascend-users-request@bungi.com
> # To get FAQ'd:	<http://www.nealis.net/ascend/faq>
> # 
> 
> Regards,
>   Phil
> 
> ----------------------------------------------------------------
> Phillip A. Heller	  		(814) 898-6506
> pheller@csonline.net		http://www.csonline.net/pheller/
> ----------------------------------------------------------------
> 
> ++ Ascend Users Mailing List ++
> To unsubscribe:	send unsubscribe to ascend-users-request@bungi.com
> To get FAQ'd:	<http://www.nealis.net/ascend/faq>
> 
#!/bin/csh

set host=$1
set SNMPQUERY="/usr/bin/snmpwalk"


set online=`$SNMPQUERY $host public .1.3.6.1.4.1.529.12.2.1.2 | grep "= 2" | wc -l`

set total = 46

set time=`$SNMPQUERY $host public system.sysUpTime | cut -c 43-80`


echo $online
echo $total
echo $time
echo $host

References: