[mrtg] Re: Ascend users monitoring

Silvio L. Nisgoski silvio at softone.com.br
Mon Jul 5 20:40:22 MEST 1999


By the way, did you manage to get the traffic load in the Max ?
With the standard configs, mrtg keeps complaining the interface speed
is 0 kb/s, and doesn't get data.

Richard Vander Reyden wrote:
> 
> Hi All,
> 
>         I found some interesting OIU's for the Ascend equipment for
> monitoring modems, isdn's, etc.
> 
>         This is the entry I have in our config file:
> 
>                 Target[MAX4000]:
> .1.3.6.1.4.1.529.11.5.0&.1.3.6.1.4.1.529.4.26.0:public at max4000
> 
>         This measures the total analog connections and total incoming
> calls.
> 
>         Here is some of the MIB info, I used.
> 
> .1.3.6.1.4.1.
> 
>     ascend              OBJECT IDENTIFIER ::= {  enterprises 529 }
> 
>           eventGroup          OBJECT IDENTIFIER ::= { ascend 10 }
> 
>                     eventCurrentActiveCalls     OBJECT-TYPE
>                         SYNTAX                  INTEGER
>                         ACCESS                  read-only
>                         STATUS                  mandatory
>                         DESCRIPTION             "The number of calls
> currently active."
>                         ::= { eventGroup 5 }
> 
>                     eventCurrentActiveSessions  OBJECT-TYPE
>                         SYNTAX                  INTEGER
>                         ACCESS                  read-only
>                         STATUS                  mandatory
>                         DESCRIPTION             "The number of sessions
> currently active."
>                         ::= { eventGroup 6 }
> 
>             advancedAgent       OBJECT IDENTIFIER ::= { ascend 4 }
>                     wanAvailableChannels OBJECT-TYPE
>                         SYNTAX  INTEGER
>                         ACCESS  read-only
>                         STATUS  mandatory
>                         DESCRIPTION
>                           "The sum of wanLineAvailableChannels for all
> lines."
>                        ::= { advancedAgent 23 }
> 
>                     wanSwitchedChannels OBJECT-TYPE
>                         SYNTAX  INTEGER
>                         ACCESS  read-only
>                         STATUS  mandatory
>                         DESCRIPTION
>                           "The sum of wanLineSwitchedChannels for all
> lines."
>                        ::= { advancedAgent 24 }
> 
>                     wanDisabledChannels OBJECT-TYPE
>                         SYNTAX  INTEGER
>                         ACCESS  read-only
>                         STATUS  mandatory
>                         DESCRIPTION
>                           "The sum of wanLineDisabledChannels for all
> lines."
>                        ::= { advancedAgent 25 }
> 
>                     wanActiveChannels OBJECT-TYPE
>                         SYNTAX  INTEGER
>                         ACCESS  read-only
>                         STATUS  mandatory
>                         DESCRIPTION
>                           "The sum of wanLineActiveChannels for all
> lines."
>                        ::= { advancedAgent 26 }
> 
>                     wanNailedChannels OBJECT-TYPE
>                         SYNTAX  INTEGER
>                         ACCESS  read-only
>                         STATUS  mandatory
>                         DESCRIPTION
>                           "The sum of wanLineNailedChannels for all
> lines."
>                        ::= { advancedAgent 27 }
> 
>                     wanOutOfServiceChannels OBJECT-TYPE
>                         SYNTAX  INTEGER
>                         ACCESS  read-only
>                         STATUS  mandatory
>                         DESCRIPTION
>                           "The sum of wanLineOutOfChannels for all
> lines."
>                        ::= { advancedAgent 28 }
> 
>             callStatusGroup     OBJECT IDENTIFIER ::= { ascend 11 }
>                     callStatusHighWaterMark OBJECT-TYPE
>                         SYNTAX          INTEGER
>                         ACCESS          read-write
>                         STATUS          mandatory
>                         DESCRIPTION     "The highest number of channels
> ever used on the
>                                          wide area network since power
> up. Nailed channels,
>                                      if any, are also included in this
> count. Its value can
>                                          be set to zero with a SET
> command."
>                         ::= { callStatusGroup 3 }
> 
>                     callCurrentAnalogIncoming OBJECT-TYPE
>                         SYNTAX          INTEGER
>                         ACCESS          read-only
>                         STATUS          mandatory
>                         DESCRIPTION     "The number of current analog
> incoming calls
>                                      is returned."
>                         ::= { callStatusGroup 5 }
> 
>                     callCurrentDigitalIncoming OBJECT-TYPE
>                         SYNTAX          INTEGER
>                         ACCESS          read-only
>                         STATUS          mandatory
>                         DESCRIPTION     "The number of current digital
> incoming calls
>                                      is returned."
>                         ::= { callStatusGroup 7 }
> 
>             lanModemGroup       OBJECT IDENTIFIER ::= { ascend 15 }
>                     availLanModem       OBJECT-TYPE
>                         SYNTAX          INTEGER
>                         ACCESS          read-only
>                         STATUS          mandatory
>                         DESCRIPTION     "The number of lan modems in the
> availLanModemTable."
>                         ::= { lanModemGroup 1 }
> 
>                     suspectLanModem     OBJECT-TYPE
>                         SYNTAX          INTEGER
>                         ACCESS          read-only
>                         STATUS          mandatory
>                         DESCRIPTION     "The number of lan modems in the
> suspectLanModemTable."
>                         ::= { lanModemGroup 3 }
> 
>                     disabledLanModem    OBJECT-TYPE
>                         SYNTAX          INTEGER
>                         ACCESS          read-only
>                         STATUS          mandatory
>                         DESCRIPTION     "The number of lan modems in the
> disabledLanModemTable."
>                         ::= { lanModemGroup 5 }
> 
>                     deadLanModem        OBJECT-TYPE
>                         SYNTAX          INTEGER
>                         ACCESS          read-only
>                         STATUS          mandatory
>                         DESCRIPTION     "The number of lan modems in the
> deadLanModemTable."
>                         ::= { lanModemGroup 7 }
> 
>                     busyLanModem       OBJECT-TYPE
>                         SYNTAX          INTEGER
>                         ACCESS          read-only
>                         STATUS          mandatory
>                         DESCRIPTION     "The number of lan modems in the
> busyLanModemTable."
>                         ::= { lanModemGroup 9 }
> 
> Richard
> 
> Richard Vander Reyden
> Snr Network Engineer
> 
> E-mail: richardv at zircon.com.au
> Phone: 61 2 96673100   Fax: 61 2 93175856
> Customer Service: 1800 628 453
> 925 Botany Road  Mascot  NSW  2020
> Web: www.zircon.com.au
> 
> > -----Original Message-----
> > From: Shue, Nicholas [mailto:Nicholas.Shue at ps.net]
> > Sent: Tuesday, 22 June 1999 23:11
> > To: 'MRTG Mailing List'
> > Subject: [MRTG] Ascend users monitoring
> >
> >
> >
> > I posted a question about this about a week ago, and didn't
> > find anything that helped me.  I've been testing monitoring
> > the number of users on my Ascend Max4000 box, and am having
> > no luck getting the script/mrtg files to work.  The script
> > grabs the numbers correctly, and the mrtg.cfg file creates
> > the files, and the HTML docs show the # of users below the
> > gif's. but the gif's are just flatlined.  No activity ever shows.
> >
> > I've deleted all of the logs, all of the gif's and started
> > over, still nothing.  If anyone can look at these files and
> > see what I might be missing, I would highly appreciate it.
> >
> > I've not put this into production with cron yet, just running
> > it manually to test it.  All of my other devices graph just
> > fine.  As another question, if I just cared about total users
> > (which is really all I DO care about) and not digital vs.
> > analog vs. total, how would I get MRTG to work with just a
> > single total user output.  The original script was like that,
> > but MRTG didn't like the fact that it was only getting a
> > single number back.  Any ideas??
> >
> > == Ascend Script File ==
> >
> > #!/usr/bin/perl
> > #
> > # $Id : maxsession,v 1.1 1998/07/25 18:49:18 leland Exp $
> > #
> > # $Log: maxsession, v $
> > # Revision 1.1 1998/07/25 18:49:18 leland
> > # Initial revision
> > #
> > #
> > # MRTG plugin to graph the number of users across any
> > # number of Ascend MAX terminal servers.
> > # Leland Vandervort
> > # leland- at innotts.net
> > # May be freely useds/abused :P
> > # Requires CMU snmp toolkit
> > #############################################################
> > #
> >
> > $allCurrentAnalogIncoming = ".1.3.6.1.4.1.529.11.5";
> > $allCurrentDigitalIncoming = ".1.3.6.1.4.1.529.11.7";
> > $allCurrentFRIncoming = ".1.3.6.1.4.1.529.11.9";
> > $community = "khnet-read";
> >
> > $totalusers = 0;
> > $totalanalog = 0;
> > $totaldigital = 0;
> >
> > foreach $host ('204.235.183.254')
> >
> > {
> >
> >         $temp1 = `snmpwalk $host $community
> > $allCurrentAnalogIncoming`;
> >         ($dummy,$analog) = split(/ = /, $temp1);
> >         $temp1 = `snmpwalk $host $community
> > $allCurrentDigitalIncoming`;
> >         ($dummy,$digital) = split (/ = /, $temp1);
> >         $temp1 = `snmpwalk $host $community $allCurrentFRIncoming`;
> >         ($dummy,$frame) = split (/ = /, $temp1);
> >
> >         $totalusers = $totalusers + $analog + $digital + $frame;
> >         $totalanalog = $totalanalog + $analog;
> >
> > # I added this line to as it only usned to
> > # output total connections and I wanted
> > # to get seperate totals :)
> >
> >         $totaldigital = $totaldigital + $digital;
> >
> > }
> >
> > print "$totalusers\n";
> > print "$totalanalog\n";
> >
> > == End of file ==
> > == Ascend mrtg cfg file ==
> >
> > WorkDir: /home/httpd/html/
> >
> > Legend2[Ascend]: <FONT Size=+2></FONT>Total calls on Ascend
> > MAX4000</A>
> > Title[Ascend]: Lucas/Varity Livonia Ascend Usage
> > PageTop[Ascend]: <H1>Lucas/Varity Livonia Ascend Usage</H1>
> > MaxBytes[Ascend]: 48
> > Options[Ascend]: gauge, absolute
> >
> > Target[Ascend]: `/root/mrtg-2.7.4/run/ascend`
> >
> > RouterUptime[Ascend]: khnet-read at 204.235.183.254
> > WithPeak[Ascend]: dwmy
> >
> > YLegend[Ascend]: Ports in use
> > ShortLegend[Ascend]: Ports Online
> >
> > LegendI[Ascend]:
> > LegendO[Ascend]: &nbsp;Total:
> >
> > XSize[Ascend]: 600
> > YSize[Ascend]: 200
> >
> > == End of File ==
> > Thanks for the help in advance....
> >
> >
> > Nick Shue
> > Network Engineer
> > Perot Systems / LucasVarity Account
> > 734.266.5456
> > 734.266.5715 fax
> > nicholas.shue at ps.net
> >
> > --
> > * To unsubscribe from the mrtg mailing list, send a message with the
> >   subject: unsubscribe to mrtg-request at list.ee.ethz.ch
> > * The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
> >
> 
> --
> * To unsubscribe from the mrtg mailing list, send a message with the
>   subject: unsubscribe to mrtg-request at list.ee.ethz.ch
> * The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg

-- 
----------------------------------------------------------------------
Silvio L. Nisgoski
Network Engineer.
Soft One Consultores Associados



More information about the mrtg mailing list