On Sep 3, 2008, at 12:14 PM, elmerfud wrote:
I haven't found a way to manually set the interface speed in Zenoss.

Really, setting it in Zenoss is the incorrect way of handling it. The bandwidth speed is grabbed from the snmp modeling process. The correct fix would be having the device populate its snmp tables correctly, or allowing you to set the bandwidth parameter to a custom value.

My take is it's a bug with the device, but it would be a feature request for Zenoss.

An enhancement request actually already exists for this. Check it out at the link below. In the meantime, you can override the speed of your interfaces, just not from the web interface. Run zendmd from the command line as the zenoss user and use it to do something like the following.

device = find("NAME_OF_DEVICE")
for iface in device.os.interfaces():
   if iface.name() == "FastEthernet0/1":
       iface.speed = 2000000
       iface.lockFromUpdates()

commit()

This speed value is in bits/sec. Of course you're replace the device and interface names with the ones you were actually interested in. The lockFromUpdates() call keeps zenmodeler from resetting the speed on its next pass through.

Ticket #2524: Revisit relevance of OSComponent.userCreatedFlag
http://dev.zenoss.org/trac/ticket/2524
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to