Thanks, for the quick answer but it hit the wall as you predicted...

Some variable definition...

2007-11-07 15:06:51     INFO    zen.Device      Executing command:
/opt/zenoss/bin/zenmodeler run --now -F -d swtbbalmo1.net.inet
--weblog
2007-11-07 15:06:54     INFO    zen.ZenModeler  starting collector loop
2007-11-07 15:06:54     INFO    zen.ZenModeler  collecting for device
swtbbalmo1.net.inet
2007-11-07 15:06:54     INFO    zen.ZenModeler  no cmd plugins found for
swtbbalmo1.net.inet
2007-11-07 15:06:55     INFO    zen.ZenModeler  snmp collection device
swtbbalmo1.net.inet
2007-11-07 15:06:55     INFO    zen.ZenModeler  plugins:
zenoss.snmp.PassportInterfaceMap, zenoss.snmp.DeviceMap,
zenoss.snmp.RouteMap
2007-11-07 15:06:55     INFO    zen.ZenModeler  no portscan plugins found for
swtbbalmo1.net.inet
2007-11-07 15:07:00     INFO    zen.SnmpClient  snmp client finished
collection for swtbbalmo1.net.inet
2007-11-07 15:07:00     INFO    zen.ApplyDataMap        processing
zenoss.snmp.PassportInterfaceMap for device swtbbalmo1.net.inet
2007-11-07 15:07:00     ERROR   zen.ApplyDataMap        plugin
zenoss.snmp.PassportInterfaceMap device swtbbalmo1.net.inet
Traceback (most recent call last): File
"/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 94, in
processClient datamaps = plugin.process(device, results, log) File
"/opt/zenoss/Products/DataCollector/plugins/zenoss/snmp/PassportInterfaceMap.py",
line 74, in process for vlan_id, vlan_row in vlanTable.items():
NameError: global name 'vlanTable' is not defined
2007-11-07 15:07:00     INFO    zen.ZenModeler  scan time: 5.44 seconds
2007-11-07 15:07:00     INFO    zen.ZenModeler  stopping...

e-mail me on private so we can exchange MSN contacts to make the debug
more easily.

On Nov 7, 2007 12:29 AM, Chet Luther <[EMAIL PROTECTED]> wrote:
> > But that involves a tweak in the actual InterfaceMap collector plugin
> > or develop a new one based on that one, which due to my "zeroness" in
> > python programming will take me a huge effort. Is there any chance
> > anyone can help me on that (a patch, a new InterfaceMap.py modeller
> > script)?
>
> That's a lot of good information. I don't have one of these Passport
> devices available to test against, but I took a first pass at a
> modeler plugin to get this information. I doubt it will work, but it
> is something to run with. You can get it from: 
> http://chet.crashed.net/PassportInterfaceMap.py
>
> Place it into $ZENHOME/Products/DataCollector/plugins/zenoss/snmp/
> then run "zopectl restart" to load it into Zope. You can then remove
> the InterfaceMap plugin from your Nortel Passport device class and add
> PassportInterfaceMap instead.
> _______________________________________________
> zenoss-users mailing list
> zenoss-users@zenoss.org
> http://lists.zenoss.org/mailman/listinfo/zenoss-users
>
_______________________________________________
zenoss-users mailing list
zenoss-users@zenoss.org
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to