I have a number of imageRunner 3570 and 2870 devices that are refusing to 
cooperate with ZenOSS.

What happens:
1-I add the device in ZenOSS, half way through the modelling, it stalls.
2-With the help of port-mirroring to a box with wireshark, I noted that the 
SNMP agent on the printer dies after a snmp getbulkrequest for ipAdEntAddr 
(1.3.6.1.2.1.4.20.1.1). 
3-When the modelling continues after a 10 seconds or so, I get this:

Code:
2008-05-04 10:23:31     WARNING         zen.SnmpClient  Device Canon timed out: 
are your SNMP settings correct?


4-When the modelling is complete, the snmp agent is dead-reported by ZenOSS and 
confirmed by wireshark.

Unsurprisingly, when the modelling completes, the information is incomplete; no 
compnent types are listed. If I try to manually add an interface to any device, 
I get a python traceback :


Code:

 Type: AttributeError
Value: getGraphDefs

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.ZenModelBase, line 64, in __call__
    * 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/viewIpInterface used for 
/zport/dmd/Devices/Printer/MFP/devices/Canon/os/interfaces/llanc0>
    * 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 677, in do_condition
    * 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 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 651, in do_loop_tal
    * Module Products.PageTemplates.TALES, line 206, in setRepeat
    * Module Products.PageTemplates.TALES, line 221, in evaluate
      URL: file:ZenModel/skins/zenmodel/viewPerformanceDetail.pt
      Line 79, Column 4
      Expression: <PythonExpr here.getDefaultGraphDefs(drange=drange)>
      Names:
      {'container': <ZentinelPortal at /zport>,
       'context': <IpInterface at 
/zport/dmd/Devices/Printer/MFP/devices/Canon/os/interfaces/llanc0>,
       'default': <Products.PageTemplates.TALES.Default instance at 
0x2aaab5c97878>,
       'here': <IpInterface at 
/zport/dmd/Devices/Printer/MFP/devices/Canon/os/interfaces/llanc0>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x6381908>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter 
instance at 0x2aaab5c97c68>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x6381908>,
       'request': <HTTPRequest, 
URL=http://zenmon:8080/zport/dmd/Devices/Printer/MFP/devices/Canon/os/interfaces/llanc0>,
       'root': <Application at >,
       'template': <FSPageTemplate at /zport/viewIpInterface used for 
/zport/dmd/Devices/Printer/MFP/devices/Canon/os/interfaces/llanc0>,
       'traverse_subpath': [],
       'user': jonathan.krishna}

    * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
      __traceback_info__: here.getDefaultGraphDefs(drange=drange)
    * Module Python expression "here.getDefaultGraphDefs(drange=drange)", line 
1, in <expression>
    * Module Products.ZenModel.RRDView, line 196, in getDefaultGraphDefs

AttributeError: getGraphDefs




I am running ZenOSS 2.1.91 (upgraded from 2.1.90) Fedora Core 8 x64 packages 
all the way, on Fedora Core 8 x64.

This is confusing me as other devices model correctly and do work. snmpwalking 
or manually executing snmpgetbulk of that OID is working fine without fail; I 
even looked the snmpgetbulk request serveral 1000 times to try and crash the 
snmp agent.

I have modelled it over 20 times in ZenOSS, rebooting the copier each time to 
restart the SNMP agent. Is there something fishy about Canon that I should be 
watching out for? I have one Xerox and one Canon (C4070) unit  which modelled 
correctly and just work. I also initially had one of the 3570s model correctly 
but then after that it just flat out refused to work.




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=19292#19292

-------------------- m2f --------------------



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

Reply via email to