zenoss / ZenPacks.zenoss.oVirt

Monitoring oVirt or Red Hat Enterprise Virtualization with Zenoss
2 stars 2 forks source link

Events: error parsing command output #10

Closed cluther closed 12 years ago

cluther commented 12 years ago

After letting oVirt monitoring run over the weekend I found 6 "error parsing command output" events in the event console each with a count varying from 2 to 5. The details show that the root of the problem is the following traceback in poll_ovirtcounts.py.

Traceback (most recent call last):
File "/z/git/private-zenpacks/ZenPacks.zenoss.oVirt/ZenPacks/zenoss/oVirt/poll_ovirtcounts.py",
    line 246, in counter.run()
File "/z/git/private-zenpacks/ZenPacks.zenoss.oVirt/ZenPacks/zenoss/oVirt/poll_ovirtcounts.py",
    line 205, in run saved_values = self._saved_values()
File "/z/git/private-zenpacks/ZenPacks.zenoss.oVirt/ZenPacks/zenoss/oVirt/poll_ovirtcounts.py",
    line 115, in _saved_values return self._saved(key='values')
File "/z/git/private-zenpacks/ZenPacks.zenoss.oVirt/ZenPacks/zenoss/oVirt/poll_ovirtcounts.py",
    line 100, in _saved os.unlink(tmpfile)
OSError: [Errno 2] No such file or directory: '/tmp/.zenoss_ovirt_values_8f1030c670c338b283074c5ee177e6dd'
eedgar commented 12 years ago

should be fixed in commit 61c2a2607a7d58a8a193eb0989f4f72a096fadd5 and commit 5360814fe62597d6ff27e08d30cde85a4dce6606