Graphing Access Log Status with PNP4Nagios, part one 20

Posted by Peter Burkholder Mon, 25 Oct 2010 01:20:00 GMT

When I started at $WORK we had little by way of a comprehensive monitoring system, and rectifying that quickly became my top priority. I rolled out Nagios, and needing a way to trend historical performance data, added "pnp4nagios"http://docs.pnp4nagios.org/pnp-0.4/start" on top of that. Over time I had a real desire to see what were the breakdown of 200s, 403s, 404s, 500s and other status codes being logged by our various web servers. What I wanted were graphs like this (oops, no traffic on the 20th),

 

or something that illustrated that it was okay when our backend Day Communique CQ5.3 publisher was running 80% error rates late in the afternoon (because our front-ends had cached all the 200 OK objects, but the 404s were still getting passed to the backend; in the morning, the publications flushed the front-end cache, and most 200 would go to the backend again):

 

Anyhow, setting up PNP4Nagios to generate these lovely, zoomable graphs will be the focus of my next post.

Comments

Leave a comment

  1. bridesmaid dresses 2 months later:
    I was very pleased to find this site. This is an intelligent and well written article, you must have put a fair amount of research into writing this.
  2. localtime 2 months later:
    Why no traffic on the 20th? Servers is down?
  3. smart battery charger 3 months later:
    I must tell you that your post is totally cool I fantastically like your theme! Right now I have a lot of spare time to read your website because of which I added it to my bookmarks.
  4. darmowe krzyzowki 5 months later:
    I am often to blogging and i really appreciate your content. The article has really peaks my interest. I am going to bookmark your site and keep checking for new information.
  5. darmowe pozycjonowanie 5 months later:
    Thanks for this great post. Did you do it all on your own? This must've taken a lot of time
  6. mbt shoes 5 months later:
    Great!Thanks for sharing this!
  7. cheapjordans 5 months later:
    Wonderful content, I trust this really is a great weblog. Wish to see fresh content next time. cheapjordans2011
  8. ED Hardy underwear 5 months later:
    I enjoyed the articles and comments and will be back!
  9. programy 5 months later:
    I am not sure where you are getting your information, but great topic
  10. mbt sale 8 months later:
    Mbt is not just a pair of shoes,but healthy,comfortable bed for your feet,legs and your whole body,it improve your intrinsic cycle at every step,mbt sport shoes,make you get body-buildingat at any moment.The scientific design of MBT Shoes will make you relaxed,natural standing and walking.These mbt shoes clearance are genuinely cool to wear and their rewards makes the footwear line a common option.UK mbt shoes will make you feel like rocking movement that mbt sand.The shops you can soothe your feet.MBT shoes are specially designed to make you use all your muscle groups,to help you burn calories efficiently and minimize this kind of harmful stress.
  11. Sildenafil 9 months later:
    Merci pour cet excellent article qui va directement à l’essentiel. …
  12. Sildenafil 9 months later:
    Merci pour cet excellent article qui va directement à l’essentiel. …
  13. PSD to HTML about 1 year later:
    I suggest this site to my friends so it could be useful & informative for them also. Thanks!
  14. PSD to Wordpress about 1 year later:
    It is like you understand my mind! I certainly get irked while people consider worries that they just don’t know about. You are certainly somebody that has something to say that people need to hear.
  15. PSD to Wordpress about 1 year later:
    I doubt that the imagination can be suppressed. If you truly eradicated it in a child, he would grow up to be an eggplant.
  16. PSD to HTML about 1 year later:
    Its a great pleasure reading your post.Its full of information I am looking for and I love to post a comment that "The content of your post is awesome" Great work!
  17. send valentine day flower Venezuela about 1 year later:
    I am absolutely amazed at how terrific the stuff is on this site.send valentine day flower Venezuela
  18. freelance jobs about 1 year later:
    I used to work with Communique CQ5.3, but I never thought about using in for analysing traffic. You've made an interesting investigation here
  19. Toronto Dentist about 1 year later:
    I also experienced different errors. But never see such kind of research.
  20. andy421 about 1 year later:
Comments