[tkined] Setting a SNMP-variable

Ulmer Albert (Albert.Ulmer@swf.feldkirch.com)
Mon, 7 Jun 1999 17:56:20 +0200

Hello!

I'm using tkined 1.4.10 and I'm working on an extension to MoJoAction.
The idea is this: If something is wrong on machine A (i.e. a threshold
is exceeded), I want to set a variable on machine B via SNMP. Machine B
has 10.2.7.153 as an IP-address.

I have the necessary MIB included in init.tcl and I can set the variable
fine using the SNMP-Browser, but I am having a very hard time setting
the variable from MoJoAction.

According to Walk-MIB, the path of the variable is
"internet.private.enterprises.knuerr.rms.output.outputTable.outputEntry.
outputEffect.1" and it can be accesses "read-write", but I can also
monitor it in SNMP-Monitor using just "outputEffect.1", which gives me
"on" (or "off" respectively).

Now, I'm looking for the absolutely simplest way to change the value of
this variable in MoJoAction. So far I have tried manually starting SNMP
sessions and accessing them from SnmpEditScalars, but to no avail...

I really would be grateful for any assistance whatsoever.

Best regards,
Albert.

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.