Ascend Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (ASCEND) SNMP Variable for Current Channels In Use?
What is the OID for current # of channels in use? Thanks.
From: Dave McFerren <davem@solve.net> AT Internet on
05/21/98 10:43 AM
To: ascend-users@max.bungi.com AT
Internet@ccMTA-SYM-CORP, s105571@exchange.sp.trw.com
AT Internet@ccMTA-SYM-CORP
cc: (bcc: Michael Medwid/Cupertino/Cal/SYMANTEC)
Subject: Re: (ASCEND) SNMP Variable for Current Channels
In Use?
>
>
> Hello all,
> Is there a single OID describing the maximum number of
channels in use? > The highwater mark is somewhat useful,
but it requires a 'set' each time
> I read it. I was looking for something a little more
dynamic.
>
> Kirk
>
Here is a script that I use to get the current number of
sessions using the snmp
from a sun box to a max 4004 running 5.0ap48. Hope it
helps...
----------------------------------
#!/usr/local/bin/perl
$num = `/usr/local/bin/snmpwalk -v 1 ascendbox1 public
.1.3.6.1.4.1.529.12.2.1.3
|
grep -v \\"\\" | cut -d\\" -f2 | wc -l`;
$num =~ s/\D//g;
print "$num\n";
-----------------------------
Dave McFerren davem@solve.net
System Administrator
Net Solutions, Inc.
816-220-0303 fax 816-220-0333
-----------------------------
"It never hurts to help!" Eek the Cat
++ Ascend Users Mailing List ++
To unsubscribe: send unsubscribe to
ascend-users-request@bungi.com
To get FAQ'd: <http://www.nealis.net/ascend/faq>
Received: from Mailer.symantec.com ([198.6.49.5]) by
smtp-ima.symantec.com with
SMTP
(IMA Internet Exchange 3.0 Enterprise) id 00060DC9; Thu,
21 May 98 09:56:11
-0700
Received: from max.bungi.com (max.bungi.com [207.126.97.7])
by Mailer.symantec.com (8.8.4/8.7.6) with ESMTP id JAA08527
for <MMedwid@symantec.com>; Thu, 21 May 1998 09:59:00 -0700
(PDT)
Received: (from majordom@localhost)
by max.bungi.com (8.8.7/8.8.7) id IAA24326
for ascend-users-outgoing; Thu, 21 May 1998 08:43:54 -0700
(PDT) X-Authentication-Warning: max.bungi.com: majordom set
sender to
owner-ascend-users using -f
Received: from solve.net (china.solve.net [207.140.52.11])
by max.bungi.com (8.8.7/8.8.7) with ESMTP id IAA24321
for <ascend-users@max.bungi.com>; Thu, 21 May 1998
08:43:49 -0700 (PDT)
Received: (from davem@localhost)
by solve.net (8.8.8/8.8.8) id KAA04261;
Thu, 21 May 1998 10:43:49 -0500 (CDT)
Date: Thu, 21 May 1998 10:43:49 -0500 (CDT)
From: Dave McFerren <davem@solve.net>
Message-Id: <199805211543.KAA04261@solve.net>
To: ascend-users@max.bungi.com, s105571@exchange.sp.trw.com
Subject: Re: (ASCEND) SNMP Variable for Current Channels In
Use?
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-MD5: SA+rq4cikhBrvYnNGXhMHA==
Sender: owner-ascend-users@max.bungi.com
Precedence: bulk
Follow-Ups: