* Re: SNMP under program control?
[not found] <4hhgge$p90@amhux3.amherst.edu>
1996-03-06 5:00 ` SNMP under program control? Flemming Madsen
@ 1996-03-11 5:00 ` Robert Premuz
1 sibling, 0 replies; 3+ messages in thread
From: Robert Premuz @ 1996-03-11 5:00 UTC (permalink / raw)
In <4hhgge$p90@amhux3.amherst.edu> John W. Manly (jwmanly@unix.amherst.edu)
wrote:
: Hi there. I have a need to do some very basic SNMP Get-ing of information
: from some of our SNMP-managed devices, but I need to do this under program
: or shell control. That means that I either need some code that can
: demonstrate how to do basic SNMP GETs and SETs, or some higher level
: programming environment (like shell code or PERL or something) that can
: do the same thing.
: The easiest way to think about this problem is as follows: suppose you
: needed to write a program that did something when some counter on an
: SNMP-managed hub (the collision count on a particular port, say) reached
: a particular threshold, and the hub had no ability to do SNMP traps,
: how would you write a program or a script to obtain that particular
: piece of information, assuming the MIB files for the hub were available?
: Does anyone know if such programming/interface tools exist, for either
: VMS, DEC UNIX, or a PC or Mac programming system?
: Thanks much for any help, pointers, or suggestions.
: - John W. Manly <JWMANLY@AMHERST.EDU> (System Manager -- Amherst College)
Have a look at Scotty at the following URLs:
http://www.cs.tu-bs.de/ibr/projects/nm/scotty/welcome.html
ftp://ftp.ibr.cs.tu-bs.de/pub/local/tkined
I think there is a ftp mirror somewhere in the USA.
Scotty is an extension of Tcl/Tk scripting languages. So, you'll have
to get them too. All that is free software. I know it runs on UNIX
systems. For other systems, check what the scotty F.A.Q. says. It is
able to do exactly what you mentioned in your example. Tkined is a GUI
which can be used with scotty scripts but you can also run them in the
background without a controlling terminal.
After having compiled all that, you'll have to play with it for a
while to get the idea how it works. Unfortunately, the documentation
is rather poor due to, as far as I know, the fact that the package is
written by university people in Germany, i.e. it is made by a
non-profit organisation.
Good luck.
v
-- rpr. : Robert B. Premuz
Internet: rpremuz@malik.srce.hr * Voice at home: +385 (0)1 687564
^ permalink raw reply [flat|nested] 3+ messages in thread