Re: Proper way to write an original agent?

Jan-Peter Richter (richter@ro2.informatik.uni-hamburg.de)
Mon, 24 Jun 1996 11:03:46 +0200 (MET DST)

[snip]
> I needed to monitor an Ascend Pipeline Max 4000. I needed to monitor
> the number of open B channels and the number of modems in use.
> Looking at the Ascend MIB
> (ftp://ftp.ascend.com/pub/Doc/SNMP/MIBS/ascend.mib), I didn't find any
> SNMP variable that represents the number of open B channels or the
> number of modems in use. But I knew I can easily compute these
> numbers from other SNMP variables. So I wrote an SNMP agent in scotty
> which computes these numbers from other SNMP variables. But what SNMP
> variables should I use to return the computed numbers? Now I'm using
> ifMtu.1 to represent the number of open B channels and ifMtu.2 to
> represent the number of modems if use, and my tkined window has two
> graphs representing these two numbers. So it works for me, but is
> there more proper way of writing an SNMP agent like this?

As far as I understand SNMP network management philosophy, calculation
of derived measures should be done by the NM application, not the (or an
additional) agent. So the "proper way" would be to not write an agent
at all. (I may be wrong on this, and if I am, please correct me.)

enjoy
Jan-Peter Richter

------------------------------------------------------------------------------
Jan-Peter Richter Vogt-Koelln-Str.30
Universitaet Hamburg D-22527 Hamburg
Fachbereich Informatik Tel: +49 40 54715-344
Arbeitsbereich Rechnerorganisation Fax: +49 40 54715-328

e-mail: richter@informatik.uni-hamburg.de

NEW TELEPHONE NUMBER IN JUNE: from 6-28-96 the telephone number will be:

Tel.: +49 40 5494-2344
Fax.: +49 40 5494-2328
------------------------------------------------------------------------------