Real Time Ascend Maling List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: (ASCEND) MRTG and Ascend




There is an OID that simply returns the # of active channels on your
PRI/CT1:

1.3.6.1.4.1.529.4.21.1.7.2 - WAN 1
1.3.6.1.4.1.529.4.21.1.7.3 - WAN 2
1.3.6.1.4.1.529.4.21.1.7.4 - WAN 3
1.3.6.1.4.1.529.4.21.1.7.5 - WAN 4

Works beautifully, though I recently switched to this short little script,
which seems to work quite a bit faster than SNMP.  You can add in additional
commands to exclude those channels that are in Answer mode (though it's
still a channel in use, which is the key bit of information we're looking
for).

#!/bin/sh
PATH="/bin:/usr/bin:"
MAX1=`finger -T @max1 | cut -f3 -d\ | grep : |wc -l`
# Note that this is only counting the 2nd PRI
MAX2=`finger -T @max2 | cut -f3 -d\ | grep 2: |wc -l`
MAX3=`finger -T @max3 | cut -f3 -d\ | grep : |wc -l`
COUNT=`expr $MAX1 + $MAX2 + $MAX3`
echo $COUNT
echo $COUNT
echo 0
echo My POP



** -----Original Message-----
** From: owner-ascend-users@max.bungi.com
** [mailto:owner-ascend-users@max.bungi.com]On Behalf Of William R.
** Charnock
** Sent: Tuesday, October 26, 1999 1:30 AM
** To: Hugo A. Uriona; Ascend List
** Subject: RE: (ASCEND) MRTG and Ascend
**
**
** I have used the following:
**
** 1.3.6.1.4.1.529.10.5.0
** 1.3.6.1.4.1.529.15.9.0
**
** One of these is channels, and the other is sessions (I think)
**
** --
** William R. Charnock
** Senior Backbone Engineer
** Allegiance Telecom, Inc.
** wcharnock@algx.net
**
** > -----Original Message-----
** > From: owner-ascend-users@max.bungi.com
** > [mailto:owner-ascend-users@max.bungi.com]On Behalf Of Hugo A. Uriona
** > Sent: Monday, October 25, 1999 4:38 PM
** > To: Ascend List
** > Subject: (ASCEND) MRTG and Ascend
** >
** >
** > Is anybody monitoring number of dial-up users on a TNT using MRTG?
** > I have MRTG up and running but I can't find the right MIBs to query.
** >
** >
** > Thanks,
** >
** > Hugo A. Uriona
** > Unete - Bolivia
** >
** >
** >
** >
** > ++ Ascend Users Mailing List ++
** > To unsubscribe:	send unsubscribe to ascend-users-request@bungi.com
** > To get FAQ'd:	<http://www.nealis.net/ascend/faq>
** >
** ++ Ascend Users Mailing List ++
** To unsubscribe:	send unsubscribe to ascend-users-request@bungi.com
** To get FAQ'd:	<http://www.nealis.net/ascend/faq>
**

++ Ascend Users Mailing List ++
To unsubscribe:	send unsubscribe to ascend-users-request@bungi.com
To get FAQ'd:	<http://www.nealis.net/ascend/faq>