[zenoss-users] Netgear FSM750S switch device modeling problem

Chet Luther cluther at zenoss.com
Thu Jan 3 08:23:00 EST 2008


> I have a similar issue with a Netgear FS726T switch.  I believe the  
> Netgear SNMP implementation is simply ignoring whatever you add for  
> interface descriptions via the switch management interface.
>
> I raised a ticket with Netgear about this, but they ignored that  
> too, so it's not likely this will ever be fixed by them.
>
> To give me some sensible info (I only have a couple of switches to  
> monitor) and as I was only interested in snmp trap events, I added  
> some code in the events to lookup the snmp port ID against a table  
> and add my own description.  Obviously this solution won't really  
> scale.
>
> It would be really helpful if Zenoss allowed me to set the  
> description for a particular interface manually.

This is a very good point. Currently the properties of an interface  
(like description) are only editable in the user interface if the  
interface was created manually by the user, but not if the interfaces  
was modeled. I've created a ticket to revisit the thinking behind this  
decision and potentially handle it better.

Ticket #2524: Revisit relevance of OSComponent.userCreatedFlag
http://dev.zenoss.org/trac/ticket/2524

You can currently set the description using zendmd if you really need  
to. Here's an example of how to do this.

for interface in find("device.name").os.interfaces():
	if interface.name() == 'eth0':
		interface.description = 'Your description for the eth0 interface  
goes here.'

commit()


More information about the zenoss-users mailing list