Hi, try cacti. Best Regards.
On Jul 12, 1:36 pm, Mike Bailey <m...@bailey.net.au> wrote: > BINGO! :-) > > rrdtool graphs of bytes and pages per second are exactly what I need! > Plus an SMS from Nagios to tell me to look at them for good measure. :-) > > thanks Lindsay! > > - Mike > > > > On Mon, Jul 13, 2009 at 2:20 AM, Lindsay Holmwood<auxe...@gmail.com> wrote: > > > 2009/7/12 Gus Gollings <gus.golli...@gmail.com>: > >> On Mon, Jul 13, 2009 at 12:08 AM, Mike Bailey<m...@bailey.net.au> wrote: > > >>> How would you be detect a traffic spike? > > >> There is a crude munin plugin for httpd request rate[1] (uses ruby and > >> greps mod_status, ergh). By default it polls every 15 minutes, but you > >> could ratchet this down, I guess. > > > Another option is collectd's Apache plugin[0]. It munges mod_status's > > output to produce data on number of bytes transfered, requests per > > second, and the state of Apache workers. collectd stores the data in > > an RRD, so you can easily graph it (using collectd's bundled > > collection.cgi if you wish). > > > The Apache plugin also does its querying over a keepalive'd > > connection, so the overhead is kept to a minimum. collectd by default > > will query all of its plugins every 10 seconds, but i'd recommend > > cranking this up to every 20-30 seconds on production systems. > > > collectd provides a Nagios plugin for querying stats, creatively named > > collectd-nagios[1]. Add a Nagios check to query collectd's Apache > > stats, and you have a relatively simple way of being notified when > > your traffic spikes. > > > Cheers, > > Lindsay > > > P.S. collectd is network aware, so if you have a few machines you can > > easily aggregate the stats to one place and run the checks there. > > > [0]http://collectd.org/wiki/index.php/Plugin:Apache(pretty graphs > > for those inclined) > > [1]http://collectd.org/documentation/manpages/collectd-nagios.1.shtml --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~----------~----~----~----~------~----~------~--~---