Re: [tkined] Problem with ined retrieve command...

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Tue, 18 May 1999 13:01:50 +0200

>>>>> nagy l writes:

nagy> I have a problem with ined retrieve command :

nagy> If I'm not expand the groups then the retrieve dont return all
nagy> of the nodes on the map.

nagy> This is a bug or this is the 'normal' functionality ?

This is the way it currently works. The behaviour is probably a bit
strange, but changing the behaviour might break scripts...

nagy> If I got an snmp trap from a server then I want to flash the
nagy> server icon. But the ' ForeachIpNode id ip host [ined -noupdate
nagy> retrieve] { ' don't find the server machine...

nagy> I don't known how to search a machine in the collapsed group.

You can get the group members using `ined members $group'. You can
write a procedure which takes a list of objects and which recursively
expands groups. Use the expanded list in the ForeachIpNode call and
everything should be fine.
Juergen

-- 
Juergen Schoenwaelder  schoenw@ibr.cs.tu-bs.de http://www.cs.tu-bs.de/~schoenw
Technical University Braunschweig, Dept. Operating Systems & Computer Networks
Bueltenweg 74/75, 38106 Braunschweig, Germany.        (Tel. +49 531 / 391 3289)
--
!! 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.