On Monday 19 February 2007 11:01:13 am Bret Baptist wrote:
> I am trying to enable content checking on our webservers and am running
> into an issue.
>
> I can run the check_http script just fine from the command line and it
> outputs this information:
> /usr/local/zenoss/libexec/check_http -H
> fargoweb.iexposure.com -u /iedb.cfm -s "enable_persona_db$ok"
>
> HTTP OK HTTP/1.1 200 OK - 0.035 second response time |
> time=0.034603s;;;0.000000 size=389B;;;0
>
> I have followed the HowTo on the Wiki for setting up a Nagios Plugin in
> ZenOSS found here:
> http://dev.zenoss.org/trac/wiki/HowToNagiosCreateTemplate
>
> However, I am not getting any events registered even though I have put in
> content to check for that is not on the page.
>
> I am getting this message in the ZenCommand log:
> 2007-02-19 10:43:02 ERROR zen.PerformanceConf: device
> fargoweb.iexposure.com Traceback (most recent call last):
> File "/usr/local/zenoss/Products/ZenModel/PerformanceConf.py", line 167,
> in getDataSourceCommands
> cmdinfo = dev.getDataSourceCommands()
> File "/usr/local/zenoss/Products/ZenModel/Device.py", line 443, in
> getDataSourceCommands
> cmds = (super(Device, self).getDataSourceCommands())
> File "/usr/local/zenoss/Products/ZenModel/RRDView.py", line 328, in
> getDataSourceCommands
> result.append( (ds.usessh, ds.cycletime, ds.component,
> File "/usr/local/zenoss/Products/ZenModel/RRDDataSource.py", line 242, in
> getCommand
> res = compiled(getEngine().getContext(environ))
> File "usr/local/zenoss/lib/python/Products/PageTemplates/Expressions.py",
> line 224, in __call__
> v = var(econtext)
> File "usr/local/zenoss/lib/python/Products/PageTemplates/Expressions.py",
> line 185, in __call__
> return self._eval(econtext)
> File "usr/local/zenoss/lib/python/Products/PageTemplates/Expressions.py",
> line 173, in _eval
> ob = self._subexprs[-1](econtext)
> File "usr/local/zenoss/lib/python/Products/PageTemplates/Expressions.py",
> line 123, in _eval
> ob = vars[base]
> KeyError: 'ok'
>
> I am running ZenOSS 1.1.0 on ubuntu 6.06.1.
>
>
> Thank you very much.
I have setup ZenOSS 1.1.1 and am still getting this exact same error. Does
anyone have a clue at all?
2007-02-21 11:08:08 ERROR zen.PerformanceConf: device fargoweb.iexposure.com
Traceback (most recent call last):
File "/usr/local/zenoss/Products/ZenModel/PerformanceConf.py", line 167, in
getDataSourceCommands
cmdinfo = dev.getDataSourceCommands()
File "/usr/local/zenoss/Products/ZenModel/Device.py", line 443, in
getDataSourceCommands
cmds = (super(Device, self).getDataSourceCommands())
File "/usr/local/zenoss/Products/ZenModel/RRDView.py", line 328, in
getDataSourceCommands
result.append( (ds.usessh, ds.cycletime, ds.component,
File "/usr/local/zenoss/Products/ZenModel/RRDDataSource.py", line 242, in
getCommand
res = compiled(getEngine().getContext(environ))
File "usr/local/zenoss/lib/python/Products/PageTemplates/Expressions.py",
line 224, in __call__
v = var(econtext)
File "usr/local/zenoss/lib/python/Products/PageTemplates/Expressions.py",
line 185, in __call__
return self._eval(econtext)
File "usr/local/zenoss/lib/python/Products/PageTemplates/Expressions.py",
line 173, in _eval
ob = self._subexprs[-1](econtext)
File "usr/local/zenoss/lib/python/Products/PageTemplates/Expressions.py",
line 123, in _eval
ob = vars[base]
KeyError: 'ok'
--
Bret Baptist
Senior Network Administrator
[EMAIL PROTECTED]
Internet Exposure, Inc.
http://www.iexposure.com
(612)676-1946 x17
Providing Internet Services since 1995
Web Development ~ Search Engine Marketing ~ Web Analytics
Network Security ~ On Demand Tech Support ~ E-Mail Marketing
------------------------------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users