I have interfaces on a Nokia IPSO firewall that were modeled at
10Kbps. Obviously this would lead to threshold warnings as the
interfaces are actually gigabit. Is there a way to manually set the
speed of an interface if it has been discovered incorrectly and then
prevent a rediscovery from overriding that manual configuration?
There is a ticket in the system now for us to re-evaluate the decision
to make auto-discovered interfaces unmodifiable. In the mean time you
can still modify the speed of these interfaces from within zendmd (run
zendmd as the zenoss user to receive a Python shell with the full
Zenoss context available to you.)
You can run a script like the following example to globally change
interfaces of a certain name. In this case I was looking for interface
names that start with "Bond". The spacing for indentation levels is
important.
for dev in dmd.Devices.getSubDevices():
for interface in dev.os.interfaces():
if interface.id.startswith('Bond'):
interface.speed = 1000000000
interface.lockFromUpdates()
commit()
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users