I tried doing the way of adding 127.0.0.1 to Zenoss, then selecting "Rename
Device" to name it apiclient. I am now trying to manually test the plugin
(because my graph is not populated under perf) but I'm getting the following
error:
Code:
[zen...@server ~]$ zentestcommand -v10 -d apiclient --datasource=create_user
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenRRD/zentestcommand.py", line 109, in ?
tr.run()
File "/opt/zenoss/Products/ZenRRD/zentestcommand.py", line 91, in run
d = self.getCommand(device, dsName)
File "/opt/zenoss/Products/ZenRRD/zentestcommand.py", line 61, in getCommand
return dataSource.getCommand(device)
File "/opt/zenoss/Products/ZenModel/RRDDataSource.py", line 196, in getCommand
res = compiled(getEngine().getContext(environ))
File "/opt/zenoss/lib/python/Products/PageTemplates/Expressions.py", line
224, in __call__
v = var(econtext)
File "/opt/zenoss/lib/python/Products/PageTemplates/Expressions.py", line
185, in __call__
return self._eval(econtext)
File "/opt/zenoss/lib/python/Products/PageTemplates/Expressions.py", line
173, in _eval
ob = self._subexprs[-1](econtext)
File "/opt/zenoss/lib/python/Products/PageTemplates/Expressions.py", line
123, in _eval
ob = vars[base]
KeyError: 'device'
Any thoughts?
-------------------- m2f --------------------
Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=30930#30930
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users