> > Command invoked cannot execute, permissions problem or command is not an > executable >
For this you have to do from the command line: Code: sudo chmod +x RestMonitor.sh I played a little bit with check_http in ZenOss. I saw that alerts are catched by ZenOss (like pattern not found) without doing something. My need is to: - get "Critical" alerts when HTTP status is not 200 OK - graph response time - get "Critical" alerts when a special pattern is not found in body As I am not interested in the size variable, I changed "size=..." to "status=..." directly in check_http.c . I also modified the alert levels in the C code directly to fit to my needs. Lastly I added the searched pattern to the "pattern not found message" (now it's "CRITICAL - pattern <MyPattern> not found") That's a very bad but quick solution ------------------------ unset -------------------- m2f -------------------- Read this topic online here: http://community.zenoss.com/forums/viewtopic.php?p=6693#6693 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
