[tkined] tkined and default snmp community

fj (Francois.Junique@jet.uk)
Fri, 17 Apr 1998 10:43:48 +0100

--------------1018343222C3BE2BE92D08E1
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Dear all experts,

I tried to understand again how tkined/apps use community and
other snmp session parameters as my new installation with 1.4.7
did not work. I had to realise that I had to patch SnmpOpen in 1.4.5
to have it working. So I ask again the question, sorry...

I read the FAQ and the code ;-) and if I undertand it you can set
parameters in the following way:

1. define individual session parameters (PER ADDRESS!) in the
tkined.default file
2. define a config attribute for the tkined object
INCLUDING THE ADDRESS
3. define an alias in init.tcl or .scottyrc and an alias attribute for
the tkinde object but THE ALIAS NEEDS TO INCLUDE THE ADDRESS!

Now MY REQUEST is to have a set of general alias for community and retry

parameters that I can use for plenty of hosts. I cannot find a way to do

it as SnmpOpen does only:
if {$alias != ""} {
if {[catch {snmp session -alias $alias} s] == 0} {
return $s ...

Therefore I incompletely patched it in the past with:
if {$alias != ""} {
if {[catch {snmp session -alias $alias -address $ip} s] == 0} {
return $s ...

Should I repatch 1.4.7 or do you have a better suggestion?

Thanks

Francois
'

--
   * * *     mailto:Francois.Junique@jet.uk     Network Co-ordinator
 * Joint *          ext: 4463  blp: 1826        Computer Group
* European*         http://www.jet.uk           CODAS division (J2/A13)
 * Torus *          JET Joint Undertaking       Tel:+44 (01235) 46 4463
   * * *            ABINGDON, OX14 3EA, GB      Fax:+44 (01235) 46 4404

--------------1018343222C3BE2BE92D08E1 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit

Dear all experts,

I tried to understand again how tkined/apps use community and
other snmp session parameters as my new installation with 1.4.7
did not work. I had to realise that I had to patch SnmpOpen in 1.4.5
to have it working. So I ask again the question, sorry...

I read the FAQ and the code ;-) and if I undertand it you can set
parameters in the following way:

  1. define individual session parameters (PER ADDRESS!) in the tkined.default file
  2. define a config attribute for the tkined object INCLUDING THE ADDRESS
  3. define an alias in init.tcl or .scottyrc and an alias attribute for the tkinde object but THE ALIAS NEEDS TO INCLUDE THE ADDRESS!
Now MY REQUEST is to have a set of general alias for community and retry
parameters that I can use for plenty of hosts. I cannot find a way to do
it as SnmpOpen does only:
    if {$alias != ""} {
        if {[catch {snmp session -alias $alias} s] == 0} {
            return $s ...

Therefore I incompletely patched it in the past with:
    if {$alias != ""} {
        if {[catch {snmp session -alias $alias -address $ip} s] == 0} {
            return $s ...

Should I repatch 1.4.7 or do you have a better suggestion?

Thanks

Francois
    '

-- 
   * * *     mailto:Francois.Junique@jet.uk     Network Co-ordinator
 * Joint *          ext: 4463  blp: 1826        Computer Group
* European*         http://www.jet.uk           CODAS division (J2/A13)
 * Torus *          JET Joint Undertaking       Tel:+44 (01235) 46 4463
   * * *            ABINGDON, OX14 3EA, GB      Fax:+44 (01235) 46 4404
  --------------1018343222C3BE2BE92D08E1-- -- !! 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 . !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.