I am attemping to manually add routes to a Cisco PIX 515e device in Zenoss.
The PIX does not give out route tables via SNMP, so the only wayt to get them
into zenoss is by added them manually.
I have installed 2.0.90 as a clean install and didn;t upgrade my existing
installation, so there shouldn;t be any strange data conversion problems.
Everytime I try to enter a route I get the following error:
Zenoss Error
An error was encountered while publishing this resource. Please use the form
below to submit details of this error to Zenoss, Inc. This information helps us
identify and fix issues with the software, though we are unable to respond
individually to all submissions.
The Zenoss community forums are very active and a good resource for solving
problems and answering questions. Zenoss also provides commercial services and
support packages.
Type: AttributeError
Value: 'NoneType' object has no attribute 'getLink'
Traceback (innermost last):
* Module ZPublisher.Publish, line 114, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 40, in call_object
* Module Products.ZenModel.OperatingSystem, line 444, in addIpRouteEntry
* Module Products.ZenModel.ZenModelBase, line 138, in callZenScreen
* Module Shared.DC.Scripts.Bindings, line 311, in __call__
* Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
* Module Products.CMFCore.FSPageTemplate, line 195, in _exec
* Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
* Module Products.PageTemplates.PageTemplate, line 104, in pt_render
<FSPageTemplate at /zport/deviceOsDetail used for
/zport/dmd/Devices/Network/Router/devices/nrbn0.becon.org/os>
* Module TAL.TALInterpreter, line 206, in __call__
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 711, in do_useMacro
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 711, in do_useMacro
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 734, in do_defineSlot
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 734, in do_defineSlot
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 690, in do_defineMacro
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 711, in do_useMacro
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 734, in do_defineSlot
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 653, in do_loop_tal
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 609, in do_insertStructure_tal
* Module Products.PageTemplates.TALES, line 221, in evaluate
URL: file:ZenModel/skins/zenmodel/deviceOsDetail.pt
Line 535, Column 9
Expression: <PythonExpr
route.interface().getLink(text=route.getInterfaceName(),
attrs={'class':'tablevalues'})>
Names:
{'container': <ZentinelPortal at /zport>,
'context': <OperatingSystem at
/zport/dmd/Devices/Network/Router/devices/nrbn0.becon.org/os>,
'default': <Products.PageTemplates.TALES.Default instance at 0xb744a90c>,
'here': <OperatingSystem at
/zport/dmd/Devices/Network/Router/devices/nrbn0.becon.org/os>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x8dfec8c>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0xb745096c>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x8dfec8c>,
'request': <HTTPRequest,
URL=/zport/dmd/Devices/Network/Router/devices/nrbn0.becon.org/os/deviceOsDetail>,
'root': <Application at >,
'template': <FSPageTemplate at /zport/deviceOsDetail used for
/zport/dmd/Devices/Network/Router/devices/nrbn0.becon.org/os>,
'traverse_subpath': [],
'user': admin}
* Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
__traceback_info__:
route.interface().getLink(text=route.getInterfaceName(),
attrs={'class':'tablevalues'})
* Module Python expression
"route.interface().getLink(text=route.getInterfaceName(),
attrs={'class':'tablevalues'})", line 1, in <expression>
AttributeError: 'NoneType' object has no attribute 'getLink'
The following fields are optional. This information will only be used to
contact you if further information is needed regarding this error.
------------------------
Matt Watson
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=10952#10952
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users