Re: [mod-security-users] Error: apache-monitor.pl
Brought to you by:
victorhora,
zimmerletw
|
From: Ivan R. <iv...@we...> - 2004-12-06 15:45:07
|
> This email is with regard to the apache-monitor.pl found at > http://www.apachesecurity.net. > > I found the link via modsecurity.org and I believe the author is the same. Yep, that's me. > Sorry if this is off-topic and/or not apporpriate but I didn't know > where else to ask. You are right, the subject is slightly off-topic. Let's move to private communication after this. > I've installed the require perl modules and got the script to execute OK > but there is no data. > > First I kept getting this error: > > ./apache-monitor.pl /root/scripts/httpd/me > http://xxx.xxxxxxx.xxx/server-status > Illegal division by zero at ./apache-monitor.pl line 170. The script has very little error handling at the moment. After I add error handling (soon) I will make an official release. In my experiments the message above appears if you omit to append "?auto" to the URL. It should work properly if you execute it like this: ./apache-monitor.pl prefix http://www.apache.org/server-status/?auto Let me know if it doesn't work after this and I'll chase the problem for you. Otherwise use the current version until the official version is released (which will be accompanied by the proper documentation). Bye, Ivan |