Pretty Nagios Charts     Alexis Lê-Quôc (@alq)    http://dtdg.co/nagios2012
Pretty Nagios Charts     Alexis Lê-Quôc (@alq)    http://dtdg.co/nagios2012
@alqDev & OpsNagios user since2008Datadog co-founder
Survey
Compared to Nagios  World 2011...
Is your Nagios    doing...(a) Better(b) About the same(c) Worse
Why does it matter?
How do you find out?
MemoryAnalytics
First, the pipeline
Your Nagios logs are a treasure
Comprehensive  AccurateWritten for you
Hard to comprehend
Ingredients   Raw logsSimple parser ExtractSQL database Query      R        Analyzeggplot2 or d3.js               Present
nagios.logPostgreSQL    R  ggplot2Nice graphs
Python             Postgresnagios.lo              nagios.csv          nagios table   g                                    ...
Let’s play!
5 lines of R
Dataggplot(dd_by_day_raw,    aes(occurrence_doy, daily,       color=factor(notifying)))+ geom_line()                      ...
ggplot(dd_by_day_raw,    aes(occurrence_doy, daily))+ geom_line()+ geom_smooth()       Linear regression+ xlab("Day of yea...
ggplot(dd_by_day_raw,    aes(occurrence_doy, daily,       color=factor(notifying)))+ geom_line()+ geom_smooth()+ xlab("Day...
Tuesdays???
ggplot(dd_by_hod, aes(occurrence_dow, daily,group=occurrence_dow))+ geom_boxplot()+ scale_x_discrete(breaks=seq(0, 6),    ...
Fun with Nagios    stats...
Performance Metrics Nagios Traffic Other Sources          Real-time graphs + analytics
Play Stack:   Service Stack:•parser       •parser•postgres     •postgres•R            •Hadoop•ggplot2      •d3.js
Quick demo
Real-Time Graphing                     “Share what you see”     And more...                Metric-based Alerts  Correlation
Curious?http://datadoghq.com
Nagios Conference 2012 - Alexis Le Quoc - Pretty Nagios Charts (alq)
Nagios Conference 2012 - Alexis Le Quoc - Pretty Nagios Charts (alq)
Nagios Conference 2012 - Alexis Le Quoc - Pretty Nagios Charts (alq)
Nagios Conference 2012 - Alexis Le Quoc - Pretty Nagios Charts (alq)
Nagios Conference 2012 - Alexis Le Quoc - Pretty Nagios Charts (alq)
Nagios Conference 2012 - Alexis Le Quoc - Pretty Nagios Charts (alq)
Upcoming SlideShare
Loading in …5
×

Nagios Conference 2012 - Alexis Le Quoc - Pretty Nagios Charts (alq)

1,288 views

Published on

Alexis Le Quoc's presentation on making better Nagios Charts. The presentation was given during the Nagios World Conference North America held Sept 25-28th, 2012 in Saint Paul, MN. For more information on the conference (including photos and videos), visit: http://go.nagios.com/nwcna

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,288
On SlideShare
0
From Embeds
0
Number of Embeds
95
Actions
Shares
0
Downloads
6
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Nagios Conference 2012 - Alexis Le Quoc - Pretty Nagios Charts (alq)

  1. 1. Pretty Nagios Charts Alexis Lê-Quôc (@alq) http://dtdg.co/nagios2012
  2. 2. Pretty Nagios Charts Alexis Lê-Quôc (@alq) http://dtdg.co/nagios2012
  3. 3. @alqDev & OpsNagios user since2008Datadog co-founder
  4. 4. Survey
  5. 5. Compared to Nagios World 2011...
  6. 6. Is your Nagios doing...(a) Better(b) About the same(c) Worse
  7. 7. Why does it matter?
  8. 8. How do you find out?
  9. 9. MemoryAnalytics
  10. 10. First, the pipeline
  11. 11. Your Nagios logs are a treasure
  12. 12. Comprehensive AccurateWritten for you
  13. 13. Hard to comprehend
  14. 14. Ingredients Raw logsSimple parser ExtractSQL database Query R Analyzeggplot2 or d3.js Present
  15. 15. nagios.logPostgreSQL R ggplot2Nice graphs
  16. 16. Python Postgresnagios.lo nagios.csv nagios table g RPostgresql PDF R Data Frame ggplot2
  17. 17. Let’s play!
  18. 18. 5 lines of R
  19. 19. Dataggplot(dd_by_day_raw, aes(occurrence_doy, daily, color=factor(notifying)))+ geom_line() Geometry+ xlab("Day of year")+ ylab("Service Alerts")+ ggtitle("Notifying v. silent alerts per day") Chrome
  20. 20. ggplot(dd_by_day_raw, aes(occurrence_doy, daily))+ geom_line()+ geom_smooth() Linear regression+ xlab("Day of year")+ ylab("Service Alerts")+ ggtitle("Daily trends")
  21. 21. ggplot(dd_by_day_raw, aes(occurrence_doy, daily, color=factor(notifying)))+ geom_line()+ geom_smooth()+ xlab("Day of year")+ ylab("Service Alerts")+ ggtitle("Notifying v. silent alerts per day")
  22. 22. Tuesdays???
  23. 23. ggplot(dd_by_hod, aes(occurrence_dow, daily,group=occurrence_dow))+ geom_boxplot()+ scale_x_discrete(breaks=seq(0, 6), labels=c("Sun", "Mon", "Tue", "Wed", "Thu", "Fri","Sat"))+ xlab("Day of the week")+ ylab("Number of alerts")+ ggtitle("Daily distribution")
  24. 24. Fun with Nagios stats...
  25. 25. Performance Metrics Nagios Traffic Other Sources Real-time graphs + analytics
  26. 26. Play Stack: Service Stack:•parser •parser•postgres •postgres•R •Hadoop•ggplot2 •d3.js
  27. 27. Quick demo
  28. 28. Real-Time Graphing “Share what you see” And more... Metric-based Alerts Correlation
  29. 29. Curious?http://datadoghq.com

×