On 03/01/2008, Chet Luther <[EMAIL PROTECTED]> wrote:
>
> > 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


Thanks for that Chet.

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()


Currently all the interface names are of the form "FS726T Fast Ethernet
Interface", so I can't do a blanket rename.  The snmp indexes don't even
line up with the physical switch port numbers, so that's a non-starter as
well.

I just want port 1 to appear as "Server01" or whatever in all events,
reports and status displays.

-- 
Regards,

Graham Bloice
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to