In order to solve the problem of not being able to find non-SNMP devices
from the Networks view, I want to add "fake" non-monitored interfaces using
the manageIp of the device (as described in the archives of this list).
However, since I have hundreds of such devices I want to do this
programmatically.
I've hacked together a few python tools based on zendmd to do various
tricks for me but so far I haven't been able to figure out how to add
to/associate
with a device a new IpInterface.
If I just do something like
device.os.addIpInterface('mip0','172.31.0.1')
I get an interface named mip0 but with no IP address and with
Monitor set to True.
I tried looking at the DTML to add in interface but my grasp on
the overall zope/zenoss system is still weak enough that I
can't find my way to the answer from there.
Clues greatly appreciated.
[ I know that there's a trac item open to make it possible to find devices
by manageIp, but I don't know if the scope of the solution will just be
the find() method or if the devices would also be visible in the /Networks
organizer views as if they had normal interfaces. ]
--
David Carmean Network Appliance, Inc
Infosystems Architect, 495 E. Java Drive
Java (Sunnyvale) Engineering Lab Services Sunnyvale, CA 94089
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users