Most likely the $ZENHOME/etc/zenperfsnmp.conf file has the wrong
login information.
Let me know if this works and I will add to the FAQ.
-EAD
On Jul 17, 2006, at 5:50 PM, xspoon wrote:
hello,
I'm installing Zenoss on a Debian
every thing works fine until the first check of zenperfsnmp:
bash$ $ZENHOME/bin/zenperfsnmp run
returns
ERROR:zen.zenperfsnmp:Error: Traceback (most recent call last):
Failure: exceptions.AttributeError: Failure instance has no
attribute '__len__'
the user/password is set to admin/zenoss in $ZENHOME/etc/
zenperfsnmp.conf
so I applied the folowing patch from another post to get a more
informative error message
Index: Driver.py
===================================================================
--- Driver.py(revision 1848)
+++ Driver.py(working copy)
@@ -44,8 +44,11 @@
def next(self):
"Provide the result of the iterable as a value or exception"
- if isinstance(self.result, Exception):
- raise self.result
+ ex = self.result
+ if isinstance(self.result, failure.Failure):
+ ex = self.result.value
+ if isinstance(ex, Exception):
+ raise ex
return self.result
def _finish(self, result):
and now I get:
/usr/local/zenoss/bin$ ./zenperfsnmp run -v 10
ERROR:zen.zenperfsnmp:Error: Traceback (most recent call last):
Failure: twisted.internet.error.ConnectionRefusedError: Connection
was refused by other side: 111: Connection refused.
where can this come from ?
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users