Nagios in the Agile / DevOps /
Continuous Deployment World
          Kishore Jalleda
       Director of Operations
             IMVU, Inc
        kjalleda@imvu.com
About IMVU




             2012   2
About IMVU


  Avatar based Social Entertainment destination
  $50+ Million Annual Revenue
  100+ Million Registered Users
  10+ Million Items in Virtual Catalog




                        2012                      3
IMVU Engineering and Continuous Deployment


 ►Doing the Impossible 50 times a day
 ►Continuous deployment (CD) is real
 ►IMVU has been one of the pioneers of CD
 ►DevOps culture is big
 ►No approval needed to ship to 1% of customers


 Check out our engineering blog
  http://engineering.imvu.com/

                          2012                    4
What does this mean ?


 ►Things change quickly
 ►New features add up instantly
 ►Can break frequently
 ►Failures can cascade rapidly
 ►Things can fall through the cracks
 ►Many things change at the same time
 ►Etc



                         2012           5
Insights into Nagios @IMVU
Overview


 ►Nagios Core 3.2.0
 ►800+ Hosts
 ►18000+ Service Checks
 ►Single Nagios Instance
 ►8 cores, 8GB RAM




                      2012   7
Server Lifecycle Management




 Purchase &
   Asset      DHCP,   Preseed,                    Nagios,                           Decommiss
 Manageme             CFEngine   Opspush           Cacti,   CFEngine   Production
                                                                                       ion
               DNS                                 Istatd
     nt




                                           2012                                                 8
[ Operations ] Continuous
       Integration and Deployment




2012                           9
IMVU Asset Database ( AssetDB )


►Built internally by IMVU
►Simple but powerful concept
►Source of truth for everything asset related
►Has information on
  ►Class ( mysql, standard-http-server, redis )
  ►Role ( customer shard, clientdynweb )
  ►Tag (available, no-update )
  ►Attributes (cpu-cores, memory-size, mysql-role )
  ►Much more …

                             2012                     10
Auto generation of Nagios configuration files


#generate_nagios_conf.pl
( most configurations auto generated from AssetDB )




                           2012                       11
Ops Buildbot ( builds, builders/buildslaves )

# svn commit hosts.cfg hostgroups.cfg




                         2012                   12
Opspush ( Operations Push System )


# opspush --comment “xxxxxx” –role nagios

                                                             run “cfagent -v”
                                                             on the box
            --use-last-green-rev
                                                     green

                            check status
  opspush                   of “last build”
                                                                   yes

                                                      red
                                                             --oncall-
                                                             override ?

                                                                         No
                                                                    exit


                                              2012                              13
Product Development




  Ideation, UI                  Monitoring
    Design,                    and Alerting
                 Tech Design                  Production   Maintenance
    Usability                  Coverage..
  Testing, etc                   Nagios




                                   2012                                  14
Tech Designs & New Nagios Alert Requests




                     2012                  15
Nagios Alert Request Template




                     2012       16
Big Data / De-Sharding


 ► Data freshness is critical to help make the right
   business decisions
 ► Nagios used for ETL/DW status and error
   checking
 ► Nagios and Ops embeds can help empower
   your Data Infrastructure team




                         2012                          17
Things will FAIL




2012                      18
How we try to prevent and catch failures




                                        Automated                          3rd party like
     Local                                          Manual QA
                                          Cluster                          webmetrics,
  Acceptance   Hypo Builds   Buildbot               using roll-   Nagios
                                         Immunity                          customers,
     Tests                                             out
                                           (CI)                                 etc




                                          2012                                              19
Cluster Immune System

 Automated push monitoring and rollback !
   Push to               Monitor     Good
    X% of                Critical               Push to
   servers               Metrics                 rest



                          Bad

                                     Bad                   Monitor
                                                           Critical
              Auto Rollback                                Metrics



                                    w00t!, my
                                    change is       Good
                                      Live
Don’t just rely on Standard Metrics




                       2012
Demystifying P1s ( Priority 1 )


 P1: Priority 1 issue impacting live operations
 Phases
 ► Identification (Nagios )
 ► Communication and Declaration
 ► Resolution
 ► Postmortem / 5 Whys / Root Cause Analysis
 ► P1 follow up



                          2012                    22
5 Why / Postmortem (PM) / Root Cause Analysis


 ► 5 Why process
 ► Amazing culture of running blameless
   postmortems
 ► New Nagios checks are the most common
   action Items .
 ► A lot of monitoring and alerting on business
   and application level metrics was originally the
   outcome of PMs



                         2012                         23
Example “5 Whys” Process




                      2012   24
Monitor Business & Application Level Metrics




                        2012                   25
Monitor Response Times


 Load Average is a meaningless number 




                         2012             26
Continuous Monitoring ( Istatd )


 ► Developed by IMVU
 ► Sub 10 sec resolution of data
 ► API to get average, SD, min, max sample count
   for each data point in a graph
 ► Ability to stack multiple graphs on the fly
 ► Long retention times
 ► Releasing as open source this week !!!
 https://github.com/imvu-open/istatd/wiki

                          2012                     27
Istatd: 10 Second Resolution of Data




                        2012           28
Istatd: Stacking graphs on the fly




                          2012       29
Have a “Strategy” for Monitoring
          and Alerting
Our (Nagios) Strategy


 ► Human element of Monitoring and Alerting (
   Nagios )
 ► Nagios & Test Driven Development ( TDD )
 ► Decouple ( Nagios )
 ► Aggregated Checks




                         2012                   31
Human Element of Monitoring and Alerting


 ► Have zero tolerance towards False Positives.
   You do not want your ops staff to walk into the
   office next AM looking like zombies ;)
 ► Do not let people develop immunity to pages as
   very soon real issues will be ignored
 ► All pages are Actionable policy: If there is no
   action, it should not be paging
 ► Automatic enabling of alerting/notifications for
   improperly silenced ones.
 ► Ownership and accountability of issues/alerts
                         2012                         32
Daily Triage of Nagios Alerts and Interrupts




                         2012                  33
Nagios & Test Driven Development (TDD)


 ► Write tests for your Nagios Infrastructure
 ► Adopted heavily by Ops ( imp to keep pace
   with eng, DevOps culture is awesome  )
 ► High degree of confidence in pushing changes
 ► Things will eventually change ( OS, libraries,
   logic, people, Nagios version, etc ). Tests will
   make the change much smoother.
 ► Functional testing can still be a challenge


                          2012                        34
Sample Nagios Test Output




                      2012   35
Decouple Nagios

 We do it using “Fact, Worker, Reporter & Aggregator” Model


         Worker
                              fact


                             fact
                                               Redis
        Reporter
                           fact status



                                fact status
        Aggregator




                                    2012                      36
Why Decouple ?


  For scalability and efficiency
  Our model was higher performing compared to
   NRPE
  Lets you make changes ( like thresholds ) in
   one place instead of on like a 1000 machines (
   if using NRPE )
  Lets you do aggregated checks, which is again
   a very simple but powerful concept to reduce
   paging levels by a ton


                         2012                       37
Closing Remarks
Closing Remarks


 ► Monitoring and Alerting (M&A) is mission critical for
   any business, invest properly and smartly in it
 ► Don’t limit the usage of Nagios to just Ops. The secret
   to wide spread adoption is to make things frictionless
 ► Bathroom breaks can take 5-10 minutes, so don’t fret
   too much about Nagios performance
 ► Build some form of predictive monitoring and alerting
   to catch and alert on change in trends
 ► Invest in configuration automation, validation and
   compliance
 ► Finally, Nagios has been like a Honda, very reliable !!!
                            2012                              39
Questions ?
Thank You !!!




                kjalleda@imvu.com
         We are Hiring: imvu.com/jobs
 Engineering Blog: http://engineering.imvu.com/

                         2012                     41

More Related Content

PDF
Slow Cool 20081009 Final
PDF
Dnv Improving Your Process Performances With Agile
PPSX
Agile testing isn't risking it! published
PDF
Accelerating Software Development
PDF
Private Clouds for Developers: Make Your Infrastructure Agile
PPTX
Lesson2 software process_contd2
PPTX
Agile User Experience
 
PPTX
Automated Management of Intelligent Devices
Slow Cool 20081009 Final
Dnv Improving Your Process Performances With Agile
Agile testing isn't risking it! published
Accelerating Software Development
Private Clouds for Developers: Make Your Infrastructure Agile
Lesson2 software process_contd2
Agile User Experience
 
Automated Management of Intelligent Devices

Similar to Nagios Conference 2012 - Kishore Jalleda - Nagios in the Agile DevOps Continuous Deployment World (20)

PPT
Nagios Conference 2012 - Nate Broderick - Bringing Nagios XI Into Your Business
PDF
Web 2.0 Performance and Reliability: How to Run Large Web Apps
PPTX
Nagios Conference 2012 - Nathan Vonnahme - Monitoring the User Experience
PDF
Multi Layer Monitoring V1
PDF
Proactive monitoring tools or services - Open Source
PPTX
Sccm 2012
PPT
Softchoice Webinar: IBM PureSystems launch
PDF
Practice and challenges from building IaaS
PDF
Buytaert kris tools
PDF
Devops, the future is here, it's just not evenly distributed yet.
PPTX
The CIBER / CA partnership & Why CIBER is moving to Nimsoft Monitor
PDF
7 tools for your devops stack
PDF
11 tools for your PHP devops stack
PPTX
IT Automation Assessment Report - sample
KEY
Don't touch that server
PPT
Cloud Computing with .Net
PDF
RedisConf18 - Common Redis Use Cases for Cloud Native Apps and Microservices
PPTX
Preventing the Next Deployment Issue with Continuous Performance Testing and ...
PPTX
Automatize everything
PPTX
SCOM 2012 & SCCM 2012
Nagios Conference 2012 - Nate Broderick - Bringing Nagios XI Into Your Business
Web 2.0 Performance and Reliability: How to Run Large Web Apps
Nagios Conference 2012 - Nathan Vonnahme - Monitoring the User Experience
Multi Layer Monitoring V1
Proactive monitoring tools or services - Open Source
Sccm 2012
Softchoice Webinar: IBM PureSystems launch
Practice and challenges from building IaaS
Buytaert kris tools
Devops, the future is here, it's just not evenly distributed yet.
The CIBER / CA partnership & Why CIBER is moving to Nimsoft Monitor
7 tools for your devops stack
11 tools for your PHP devops stack
IT Automation Assessment Report - sample
Don't touch that server
Cloud Computing with .Net
RedisConf18 - Common Redis Use Cases for Cloud Native Apps and Microservices
Preventing the Next Deployment Issue with Continuous Performance Testing and ...
Automatize everything
SCOM 2012 & SCCM 2012
Ad

More from Nagios (20)

PPTX
Nagios XI Best Practices
PDF
Jesse Olson - Nagios Log Server Architecture Overview
PDF
Trevor McDonald - Nagios XI Under The Hood
PDF
Sean Falzon - Nagios - Resilient Notifications
PDF
Marcus Rochelle - Landis+Gyr - Monitoring with Nagios Enterprise Edition
PDF
Janice Singh - Writing Custom Nagios Plugins
PDF
Dave Williams - Nagios Log Server - Practical Experience
PDF
Mike Weber - Nagios and Group Deployment of Service Checks
PDF
Mike Guthrie - Revamping Your 10 Year Old Nagios Installation
PDF
Bryan Heden - Agile Networks - Using Nagios XI as the platform for Monitoring...
PDF
Matt Bruzek - Monitoring Your Public Cloud With Nagios
PDF
Lee Myers - What To Do When Nagios Notification Don't Meet Your Needs.
PDF
Eric Loyd - Fractal Nagios
PDF
Marcelo Perazolo, Lead Software Architect, IBM Corporation - Monitoring a Pow...
PDF
Thomas Schmainda - Tracking Boeing Satellites With Nagios - Nagios World Conf...
PPTX
Nagios World Conference 2015 - Scott Wilkerson Opening
PDF
Nrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core
PDF
Nagios Log Server - Features
PDF
Nagios Network Analyzer - Features
PPTX
Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios
Nagios XI Best Practices
Jesse Olson - Nagios Log Server Architecture Overview
Trevor McDonald - Nagios XI Under The Hood
Sean Falzon - Nagios - Resilient Notifications
Marcus Rochelle - Landis+Gyr - Monitoring with Nagios Enterprise Edition
Janice Singh - Writing Custom Nagios Plugins
Dave Williams - Nagios Log Server - Practical Experience
Mike Weber - Nagios and Group Deployment of Service Checks
Mike Guthrie - Revamping Your 10 Year Old Nagios Installation
Bryan Heden - Agile Networks - Using Nagios XI as the platform for Monitoring...
Matt Bruzek - Monitoring Your Public Cloud With Nagios
Lee Myers - What To Do When Nagios Notification Don't Meet Your Needs.
Eric Loyd - Fractal Nagios
Marcelo Perazolo, Lead Software Architect, IBM Corporation - Monitoring a Pow...
Thomas Schmainda - Tracking Boeing Satellites With Nagios - Nagios World Conf...
Nagios World Conference 2015 - Scott Wilkerson Opening
Nrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core
Nagios Log Server - Features
Nagios Network Analyzer - Features
Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios
Ad

Recently uploaded (20)

PDF
sustainability-14-14877-v2.pddhzftheheeeee
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
DOCX
search engine optimization ppt fir known well about this
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
PDF
CloudStack 4.21: First Look Webinar slides
PDF
The influence of sentiment analysis in enhancing early warning system model f...
PDF
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
PDF
1 - Historical Antecedents, Social Consideration.pdf
PPTX
Build Your First AI Agent with UiPath.pptx
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
Getting started with AI Agents and Multi-Agent Systems
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
How IoT Sensor Integration in 2025 is Transforming Industries Worldwide
PPT
Module 1.ppt Iot fundamentals and Architecture
PPTX
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
PDF
Architecture types and enterprise applications.pdf
PPTX
Microsoft Excel 365/2024 Beginner's training
PDF
Enhancing plagiarism detection using data pre-processing and machine learning...
PPTX
Benefits of Physical activity for teenagers.pptx
sustainability-14-14877-v2.pddhzftheheeeee
A contest of sentiment analysis: k-nearest neighbor versus neural network
search engine optimization ppt fir known well about this
NewMind AI Weekly Chronicles – August ’25 Week III
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
CloudStack 4.21: First Look Webinar slides
The influence of sentiment analysis in enhancing early warning system model f...
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
1 - Historical Antecedents, Social Consideration.pdf
Build Your First AI Agent with UiPath.pptx
Developing a website for English-speaking practice to English as a foreign la...
Getting started with AI Agents and Multi-Agent Systems
Final SEM Unit 1 for mit wpu at pune .pptx
How IoT Sensor Integration in 2025 is Transforming Industries Worldwide
Module 1.ppt Iot fundamentals and Architecture
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
Architecture types and enterprise applications.pdf
Microsoft Excel 365/2024 Beginner's training
Enhancing plagiarism detection using data pre-processing and machine learning...
Benefits of Physical activity for teenagers.pptx

Nagios Conference 2012 - Kishore Jalleda - Nagios in the Agile DevOps Continuous Deployment World

  • 1. Nagios in the Agile / DevOps / Continuous Deployment World Kishore Jalleda Director of Operations IMVU, Inc kjalleda@imvu.com
  • 2. About IMVU 2012 2
  • 3. About IMVU Avatar based Social Entertainment destination $50+ Million Annual Revenue 100+ Million Registered Users 10+ Million Items in Virtual Catalog 2012 3
  • 4. IMVU Engineering and Continuous Deployment ►Doing the Impossible 50 times a day ►Continuous deployment (CD) is real ►IMVU has been one of the pioneers of CD ►DevOps culture is big ►No approval needed to ship to 1% of customers Check out our engineering blog http://engineering.imvu.com/ 2012 4
  • 5. What does this mean ? ►Things change quickly ►New features add up instantly ►Can break frequently ►Failures can cascade rapidly ►Things can fall through the cracks ►Many things change at the same time ►Etc 2012 5
  • 7. Overview ►Nagios Core 3.2.0 ►800+ Hosts ►18000+ Service Checks ►Single Nagios Instance ►8 cores, 8GB RAM 2012 7
  • 8. Server Lifecycle Management Purchase & Asset DHCP, Preseed, Nagios, Decommiss Manageme CFEngine Opspush Cacti, CFEngine Production ion DNS Istatd nt 2012 8
  • 9. [ Operations ] Continuous Integration and Deployment 2012 9
  • 10. IMVU Asset Database ( AssetDB ) ►Built internally by IMVU ►Simple but powerful concept ►Source of truth for everything asset related ►Has information on ►Class ( mysql, standard-http-server, redis ) ►Role ( customer shard, clientdynweb ) ►Tag (available, no-update ) ►Attributes (cpu-cores, memory-size, mysql-role ) ►Much more … 2012 10
  • 11. Auto generation of Nagios configuration files #generate_nagios_conf.pl ( most configurations auto generated from AssetDB ) 2012 11
  • 12. Ops Buildbot ( builds, builders/buildslaves ) # svn commit hosts.cfg hostgroups.cfg 2012 12
  • 13. Opspush ( Operations Push System ) # opspush --comment “xxxxxx” –role nagios run “cfagent -v” on the box --use-last-green-rev green check status opspush of “last build” yes red --oncall- override ? No exit 2012 13
  • 14. Product Development Ideation, UI Monitoring Design, and Alerting Tech Design Production Maintenance Usability Coverage.. Testing, etc Nagios 2012 14
  • 15. Tech Designs & New Nagios Alert Requests 2012 15
  • 16. Nagios Alert Request Template 2012 16
  • 17. Big Data / De-Sharding ► Data freshness is critical to help make the right business decisions ► Nagios used for ETL/DW status and error checking ► Nagios and Ops embeds can help empower your Data Infrastructure team 2012 17
  • 19. How we try to prevent and catch failures Automated 3rd party like Local Manual QA Cluster webmetrics, Acceptance Hypo Builds Buildbot using roll- Nagios Immunity customers, Tests out (CI) etc 2012 19
  • 20. Cluster Immune System Automated push monitoring and rollback ! Push to Monitor Good X% of Critical Push to servers Metrics rest Bad Bad Monitor Critical Auto Rollback Metrics w00t!, my change is Good Live
  • 21. Don’t just rely on Standard Metrics 2012
  • 22. Demystifying P1s ( Priority 1 ) P1: Priority 1 issue impacting live operations Phases ► Identification (Nagios ) ► Communication and Declaration ► Resolution ► Postmortem / 5 Whys / Root Cause Analysis ► P1 follow up 2012 22
  • 23. 5 Why / Postmortem (PM) / Root Cause Analysis ► 5 Why process ► Amazing culture of running blameless postmortems ► New Nagios checks are the most common action Items . ► A lot of monitoring and alerting on business and application level metrics was originally the outcome of PMs 2012 23
  • 24. Example “5 Whys” Process 2012 24
  • 25. Monitor Business & Application Level Metrics 2012 25
  • 26. Monitor Response Times Load Average is a meaningless number  2012 26
  • 27. Continuous Monitoring ( Istatd ) ► Developed by IMVU ► Sub 10 sec resolution of data ► API to get average, SD, min, max sample count for each data point in a graph ► Ability to stack multiple graphs on the fly ► Long retention times ► Releasing as open source this week !!! https://github.com/imvu-open/istatd/wiki 2012 27
  • 28. Istatd: 10 Second Resolution of Data 2012 28
  • 29. Istatd: Stacking graphs on the fly 2012 29
  • 30. Have a “Strategy” for Monitoring and Alerting
  • 31. Our (Nagios) Strategy ► Human element of Monitoring and Alerting ( Nagios ) ► Nagios & Test Driven Development ( TDD ) ► Decouple ( Nagios ) ► Aggregated Checks 2012 31
  • 32. Human Element of Monitoring and Alerting ► Have zero tolerance towards False Positives. You do not want your ops staff to walk into the office next AM looking like zombies ;) ► Do not let people develop immunity to pages as very soon real issues will be ignored ► All pages are Actionable policy: If there is no action, it should not be paging ► Automatic enabling of alerting/notifications for improperly silenced ones. ► Ownership and accountability of issues/alerts 2012 32
  • 33. Daily Triage of Nagios Alerts and Interrupts 2012 33
  • 34. Nagios & Test Driven Development (TDD) ► Write tests for your Nagios Infrastructure ► Adopted heavily by Ops ( imp to keep pace with eng, DevOps culture is awesome  ) ► High degree of confidence in pushing changes ► Things will eventually change ( OS, libraries, logic, people, Nagios version, etc ). Tests will make the change much smoother. ► Functional testing can still be a challenge 2012 34
  • 35. Sample Nagios Test Output 2012 35
  • 36. Decouple Nagios We do it using “Fact, Worker, Reporter & Aggregator” Model Worker fact fact Redis Reporter fact status fact status Aggregator 2012 36
  • 37. Why Decouple ?  For scalability and efficiency  Our model was higher performing compared to NRPE  Lets you make changes ( like thresholds ) in one place instead of on like a 1000 machines ( if using NRPE )  Lets you do aggregated checks, which is again a very simple but powerful concept to reduce paging levels by a ton 2012 37
  • 39. Closing Remarks ► Monitoring and Alerting (M&A) is mission critical for any business, invest properly and smartly in it ► Don’t limit the usage of Nagios to just Ops. The secret to wide spread adoption is to make things frictionless ► Bathroom breaks can take 5-10 minutes, so don’t fret too much about Nagios performance ► Build some form of predictive monitoring and alerting to catch and alert on change in trends ► Invest in configuration automation, validation and compliance ► Finally, Nagios has been like a Honda, very reliable !!! 2012 39
  • 41. Thank You !!! kjalleda@imvu.com We are Hiring: imvu.com/jobs Engineering Blog: http://engineering.imvu.com/ 2012 41