Hi,
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.
Sorry if this is off-topic and/or not apporpriate but I didn't know
where else to ask.
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.
After I hacked the script a little I got it work but no data.
For example:
RRDupdate(/root/scripts/httpd/me.rrd)=1102232242:::::0:0:0::::::::::::
RRDupdate(/root/scripts/httpd/me.rrd)=1102232547:::::0:0:0::::::::::::
RRDupdate(/root/scripts/httpd/me.rrd)=1102232659:::::0:0:0::::::::::::
RRDupdate(/root/scripts/httpd/me.rrd)=1102232670:::::0:0:0::::::::::::
RRDupdate(/root/scripts/httpd/me.rrd)=1102232672:::::0:0:0::::::::::::
Seems like it's always ::::0:0:0:::::::
If you could help that would be awesome. These scripts look very useful,
I'd like to use them.
Many thanks.
Regards,
Rudi
|