I have GNU/linux Box (linode VPS running Debian) with PHP, Apache, MySQL and Varnish (and app/site that use those) is there a tool that will save or monitor load times of web server responses?
|
|
Check out Apache's LogFormat directive. It allows to log the time taken to serve the request ( However, I am not aware of any tool which uses that information to create a report. |
|||
|
|
You'll want to be a little clearer about what you mean by "the time of a response". If you're interested in Apache's timings, you can use the Docs are here. |
|||
|
|
Nagios or Icinga can do this, as can a number of other tools (Munin comes to mind). |
|||||||||||||
|
|
We use zabbix in our shop, you can set it up to monitor a specific page, it will give you ping time, download speed, and response time. It is open source, and although complex, allows you to do fairly complex stuff, including SMS alerts. in built graph creation, and tripwire style security checks (ie. Notify you if the checksum of /etc/passwd changes) |
|||
|
|
|
You can use cacti too. There is a lot of templates and if i remember there are several to test/monitor/graph the load speed of a url. Regards! |
|||
|
|
|
you can use http://newrelic.com/ to monitor processing time with varnish you will need this: /etc/varnish/newrelic.h:
vcl_recv:
|
|||
|
|
|
It really depends on what you want to achieve. Internal monitoring can give you a rough idea on the overall performance of your machine and software. If you are asking about remote server monitoring options, then you have a lot of options. External monitoring really has its advantages and you can get response time per city (depending on the service you are using). There are a lot to choose from, both paid and free. All of them would give you a pretty good idea about the response times. For extra resolution, it is almost certain you'll need to go for a paid account, but you can always start with the free options. I personally use Websitepulse, but have also tried other services such as Pingdom and Site24x7. What I like about WSP is the number of remote locations I can test from. Another cool thing is their somewhat limited, but free server monitoring for life service. It's the third one down. If you like, I can run some test for you and let you know how your site performs, from a couple of locations I'm currently paying for. |
|||
|
|
|
There's also Mod Firstbyte which will measure the time that your server took to generate the page (not how long it took to generate and download to the browser which %D and %T do) |
|||
|
|
|
A couple of other services worth checking out are GTmetrix and Stella. They both monitor pages, graph performance, and track historical metrics. The nice thing about these services is that they don't just track page load times, they also track the load time of all the other assets on the page (images, css, js, etc.). I actually was coming to serverfault to ask if anyone knew of an open source equivalent for tracking loads times of pages and associated assets; then I ran across this thread. Still, if anyone knows of something similar that's open source, please post a comment on this answer. Thanks! |
|||
|
|
|
Smokeping might do what you're looking for - its obviously measuring the latency between your smokeping box and the webserver too, and maybe not so good if you're looking at the response times of your complex cgis (apache logs are better for that), but it's simple, and it makes fun charts. |
|||
|
|