Re: SNMP communities and rate garphs

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Thu, 11 May 1995 19:12:56 +0200

Hi!

Malcolm> I was wondering what is the best way to use tkined's
Malcolm> snmp_monitor etc to manage devices with different
Malcolm> community strings. I tried just changing the
Malcolm> community under set parameters and starting a new
Malcolm> monitor - this worked fine, but when I reloaded the
Malcolm> map it stopped working.

There is no easy way to fix this right now. We need a configuration
model for the SNMP stuff. However, following the discussions on the
SNMPv2 working group, I do not expect a standard solution in the near
term. So I just decided to wait what will happen.

Malcolm> Another thing - I notice from the code that when you
Malcolm> monitor variables of type INTEGER you get an absolute
Malcolm> value, while COUNTER give rates - how do I go about
Malcolm> getting an rate graph for an INTEGER?

The only way is to change a few lines of code in snmp_monitor.tcl.
You can either hard code what you need in proc show_variable, or you
can check the value of a stripchart attribute to decide what to do.

Juergen