Skip navigation
7487 Views 7 Replies Latest reply: Sep 30, 2010 9:28 AM by ketse RSS
bomek Rank: White Belt 29 posts since
Nov 10, 2009
Currently Being Moderated

Jul 21, 2010 1:49 AM

zenoss.snmp.InterfaceAliasMap on 3.0

Since i upgraded to 3.0, i get this error every night for every snmp device:

 

Traceback (most recent call last): File "/usr/local/zenoss/zenoss/Products/DataCollector/zenmodeler.py", line 613, in processClient datamaps = plugin.process(device, results, self.log) File "/usr/local/zenoss/zenoss/Products/DataCollector/plugins/zenoss/snmp/InterfaceAliasMap.py", line 50, in process return super(InterfaceAliasMap, self).process(device, results, log) TypeError: super(type, obj): obj must be an instance or subtype of type

 

Anyone know how to fix this?

 

Thanks,

 

Fred

  • jwilda Rank: White Belt 40 posts since
    May 7, 2009
    Currently Being Moderated
    1. Sep 15, 2010 11:32 AM (in response to bomek)
    Re: zenoss.snmp.InterfaceAliasMap on 3.0

    I get the same thing in version 3.0.1 and 3.0.2 i.e.

     

    2010-09-15 11:26:33,647 ERROR zen.ZenDisc: Problem while executing plugin zenoss.snmp.InterfaceAliasMap
    2010-09-15 11:26:33,648 ERROR zen.ZenDisc: Traceback (most recent call last):
      File "/opt/zenoss/Products/DataCollector/zenmodeler.py", line 613, in processClient
        datamaps = plugin.process(device, results, self.log)
      File "/opt/zenoss/Products/DataCollector/plugins/zenoss/snmp/InterfaceAliasMap.py", line 50, in process
        return super(InterfaceAliasMap, self).process(device, results, log)
    TypeError: super(type, obj): obj must be an instance or subtype of type
    

     

     

    any ideas?

  • Tijmen van den Brink ZenossMaster 324 posts since
    Jan 7, 2008
    Currently Being Moderated
    2. Sep 15, 2010 2:42 PM (in response to jwilda)
    Re: zenoss.snmp.InterfaceAliasMap on 3.0

    Got that one too! I already opened a case as we use Zenoss Enterprise. I'll keep you posted.

  • jwilda Rank: White Belt 40 posts since
    May 7, 2009
    Currently Being Moderated
    3. Sep 16, 2010 2:00 PM (in response to Tijmen van den Brink)
    Re: zenoss.snmp.InterfaceAliasMap on 3.0

    Cool.  Do you also see issues with NewDeviceMap?  We are also seeing the below.

     

    2010-09-16 00:24:51,255 ERROR zen.ZenModeler: Problem while executing plugin zenoss.snmp.NewDeviceMap
    2010-09-16 00:24:51,255 ERROR zen.ZenModeler: Traceback (most recent call last):
      File "/opt/zenoss/Products/DataCollector/zenmodeler.py", line 611, in processClient
        results = plugin.preprocess(results, self.log)
      File "/opt/zenoss/Products/DataCollector/plugins/CollectorPlugin.py", line 271, in preprocess
        getdata = self.snmpGetMap.mapdata(getdata)
      File "/opt/zenoss/Products/DataCollector/plugins/CollectorPlugin.py", line 320, in mapdata
        data[self.oidmap[oid]] = value
    KeyError: (1, 3, 6, 1, 2, 1, 1, 2, 0)

  • Tijmen van den Brink ZenossMaster 324 posts since
    Jan 7, 2008
    Currently Being Moderated
    4. Sep 23, 2010 8:25 AM (in response to bomek)
    Re: zenoss.snmp.InterfaceAliasMap on 3.0

    There is a fix provided in:

     

    http://dev.zenoss.com/trac/ticket/7344

  • ketse Rank: White Belt 8 posts since
    Jul 21, 2009
    Currently Being Moderated
    5. Sep 27, 2010 4:30 PM (in response to Tijmen van den Brink)
    Re: zenoss.snmp.InterfaceAliasMap on 3.0

    This fix doesn't address the zenmodeler.py issue. It only forrects the InterfaceAlias.py file. Does anyone know what needs to be fixed in the zenmodeler.py or possibly the CollectorPlugin.py. both files seem to have the errors as stated by the error message that jwilda published.

     

    Thanks for anyone's help.

     

    Ed

  • Tijmen van den Brink ZenossMaster 324 posts since
    Jan 7, 2008
    Currently Being Moderated
    6. Sep 28, 2010 6:09 PM (in response to ketse)
    Re: zenoss.snmp.InterfaceAliasMap on 3.0

    aren't these related?

  • ketse Rank: White Belt 8 posts since
    Jul 21, 2009
    Currently Being Moderated
    7. Sep 30, 2010 9:28 AM (in response to Tijmen van den Brink)
    Re: zenoss.snmp.InterfaceAliasMap on 3.0

    In your case they are but in jwilda's and my case we don't access the InterfaceAliasMap file at all. I understand that it is simmilar in the sense that the python codeing needs to be fixed but I don't know how to program in python so I wouldn't know where to begin trying to fix this issue. I am a newbie at this and any guidance would greatly be appreciated.

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points