Score:0

Query apache for how many responses (of each status code) it has served out for better monitoring & graphing?

bg flag

I have several apache web servers installed from standard Ubuntu 18.04/20.04/etc. I want to monitor how many requests they are handeling. I am now looking into prometheus & grafana after 15+ years of just “putting up” with nagios & munin.

Is there anyway for apache to report “Since the server was started, I have handled X 200 requests, Y 404 requests, etc etc”? mod_status doesn't report this. I think if I can get access to these stats, then I can graph how many people are using the web server, and possibly detect some failures (by looking for lots of 500s).

Score:2
ug flag

You have to stream apache logs into an aggregator, like Elasticsearch. After that, you should to build your aggregations in your dashboard.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.