All my comments apply to Zenoss v2.0.2 and HttpMonitor v1.0.

There are a number of problems with the HTTPMonitor zenpack.

The "Use SSL" checkbox doesn't get translated to -ssl but to -S. Now check_http 
--help suggests they are equivalent. However, when I have entered equivalent 
'check_http's on the command line -ssl will return a "200 OK" message whilst -S 
returns a "404 Not found"!

If you regex includes spaces you will need to quote it (perhaps this is obvious 
to other people, but it wasn't to me) especially since it is the only way to 
enter a simple string you want to check for on the returned page.

When the check_http query is contructed, Zenoss does not add the -a option 
before the username/password combination! Although that code is in 
HttpMonitorDataSource.py, it is not in CheckHttpDataSource.py


Obviously you can make the changes to these source files or revert to using the 
Command option for the Template and enter the command line yourself.



amd64agent wrote:
> Now I get error 403 forbidden on port 80 because I don't run website on port 
> 80..and in zenoss when I change the port to 80 and have the check mark on 
> SSL..I get this error Cannot make SSL connection..I am not sure what is going 
> on but I know I need to have SSL check just like command line at the bottom 
> since it is SSL webpage.
> 
> I did this in command line like this 
> 
> /usr/local/zenoss/libexec/check_http --ssl -H xxx.xxx.xxxx.xxx
> 
> I get this back 
> 
> HTTP OK HTTP/1.1 200 OK - 4925 bytes in 0.322 seconds 
> |time=0.322279s;;;0.000000 size=4925B;;;0
> 
> but I am not sure why when I do this in zenoss UI..it gives me that error. I 
> check the url it is right url. I am not adding this right in zenoss..i hope 
> some else is having this problem..they need to update the zenoss template 
> tutorial.. :(


------------------------
 Rory




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=9947#9947

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to