Hi,
I just checked my ipdevpoll.log and found exception listed bellow. It is a Cisco 3750 two members stack. This error was reported only two times today. I checked job statuses (all green) and ipdevpoll failure graphs and there are just a few of them. Is it normal?
2014-03-26 08:34:26,933 [ERROR jobs.jobhandler] [1minstats IP] Plugin nav.ipdevpoll.plugins.statsystem.StatSystem(IP') reported an unhandled failure Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 391, in errback self._startRunCallbacks(fail) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 458, in _startRunCallbacks self._runCallbacks() File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 545, in _runCallbacks current.result = callback(current.result, *args, **kw) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1095, in gotResult _inlineCallbacks(r, g, deferred) --- <exception caught here> --- File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks result = result.throwExceptionIntoGenerator(g) File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator return g.throw(self.type, self.value, self.tb) File "/usr/local/nav/lib/python/nav/ipdevpoll/plugins/statsystem.py", line 69, in handle cpu = yield self._collect_cpu() File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks result = result.throwExceptionIntoGenerator(g) File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator return g.throw(self.type, self.value, self.tb) File "/usr/local/nav/lib/python/nav/ipdevpoll/plugins/statsystem.py", line 118, in _collect_cpu load = yield self._get_cpu_loadavg(mib) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks result = result.throwExceptionIntoGenerator(g) File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator return g.throw(self.type, self.value, self.tb) File "/usr/local/nav/lib/python/nav/ipdevpoll/plugins/statsystem.py", line 129, in _get_cpu_loadavg load = yield mib.get_cpu_loadavg() File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks result = result.throwExceptionIntoGenerator(g) File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator return g.throw(self.type, self.value, self.tb) File "/usr/local/nav/lib/python/nav/mibs/cisco_process_mib.py", line 34, in get_cpu_loadavg TOTAL_1_MIN_REV, File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 545, in _runCallbacks current.result = callback(current.result, *args, **kw) File "/usr/lib/pymodules/python2.7/pynetsnmp/tableretriever.py", line 59, in saveResults for oid, value in values: exceptions.ValueError: too many values to unpack
2014-03-26 08:34:26,950 [ERROR jobs.jobhandler] [1minstats IP] Job '1minstats' for IP aborted: Job aborted due to plugin failure (cause=ValueError('too many values to unpack',))
On Wed, 26 Mar 2014 08:18:34 +0000 "Martin.Jaburek@cah.cz" Martin.Jaburek@cah.cz wrote:
I just checked my ipdevpoll.log and found exception listed bellow. It is a Cisco 3750 two members stack. This error was reported only two times today. I checked job statuses (all green) and ipdevpoll failure graphs and there are just a few of them. Is it normal?
[snip]
File "/usr/local/nav/lib/python/nav/mibs/cisco_process_mib.py", line 34, in get_cpu_loadavg TOTAL_1_MIN_REV, File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 545, in _runCallbacks current.result = callback(current.result, *args, **kw) File "/usr/lib/pymodules/python2.7/pynetsnmp/tableretriever.py", line 59, in saveResults for oid, value in values: exceptions.ValueError: too many values to unpack
It appears that the error occurs inside the pynetsnmp library, while processing a response from the device. Since it's in third party code, and seems to be only intermittent, I don't think there is much we can do about it.
Given that it happens only twice a day in the 1minstats job, it's not going to be much of a problem for you, though. You're not going to miss 2 out of 1440 daily data points for your 3750's CPU load average.