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

RE: (ASCEND) P50, MRTG, and, uh, a problem :)



Hi

<snip>

> >caused it, as far as I can guess, is a power failure, and when power came
> back
> >on, the interface was at a different number.
> >
> >Now, my understandings of MRTG and SNMP is fairly minimal.  But this is
> >bizarre.
> >
> >Anyone know what's going on?
>
>    Yup. My P130 does the same thing, and the Max 4k's I've worked with did
> it too.
> Every time the line drops and comes back up, it apparently gets assigned to
> what
> appears to be a random interface number. (Makes monitoring difficult)
>
>    What I did was make a static cfg for the ethernet IF, hacked up a copy
> of cfgmaker
> so the output looked like what I wanted, then every 5 minutes, run a script
> that
> executes the mod'd cfgmaker, copies the cfg's together, then runs mrtg.
> It's not
> real pretty, but it works, even if the line goes down and back up.
>
>
>
>

We had the same problems. We have lots of 4000's and 1800's and a couple of 
50/75's and 2000's.

I have a script I could send to anyone if they like.

Real hack, but it works.

Just does an snmpwalk of the max at the time (a little intensive I know...) and 
'greps' for the IF address anda  few other things and that gives you the 
interface number.

For REAL dynamic boxes such as Linux / BSD terminal servers and things like 
that, we nice lenthy for x in .. loop does the job

Regards

adam


--------------------------------------------------
                  IPAX Systems
              Melbourne, Australia
            National Systems Manager
            Ops Tel:   1800 894 894
            Ops Fax:  03 - 9801-8533
        Web Site http://www.ipax.com.au
--------------------------------------------------

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