Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Monitoring tomCAT with dataDOG

Jamf
October 24, 2018

Monitoring tomCAT with dataDOG

Presentation from JNUC 2018, the world's largest rally of Apple IT administrators.

Session:
Monitoring tomCAT with dataDOG

Presented by:
Steven Russell, Beaverton School District
Matt Anderson, Jamf

View all session slides, recordings and more at https://www.jamf.com/events/jamf-nation-user-conference/2018/.

Jamf

October 24, 2018
Tweet

More Decks by Jamf

Other Decks in Technology

Transcript

  1. © JAMF Software, LLC
    Steven Russell
    System Administrator

    Beaverton School District
    Matt Anderson
    Solutions Architect

    Jamf

    View full-size slide

  2. © JAMF Software, LLC
    Overview
    • Why monitor your on-prem Jamf Pro servers?

    • How monitoring helped our school district

    • How to install the monitoring agents for Datadog

    • How to customize and configure widgets

    • Sharing your dashboard

    View full-size slide

  3. © JAMF Software, LLC
    Like a human doctor, diagnosing a
    problem is difficult...
    • Being a server doctor can be just as hard, but
    usually less life-threatening

    • A doctor would need to gather as much
    information as possible (observe)

    • Interview the patient to learn about the issue
    (reading logs)

    View full-size slide

  4. © JAMF Software, LLC
    Credit: Matt Groening, The Simpsons

    © 20th Century Fox Television

    Servers can be difficult to diagnose...

    View full-size slide

  5. © JAMF Software, LLC
    Why monitor your on-prem Jamf Pro
    servers?
    • Historical data can help see performance
    issues over time

    • Seeing real-time metrics across all servers
    helps troubleshoot issues

    • Providing metric data to Jamf Support can
    expedite resolutions

    View full-size slide

  6. © JAMF Software, LLC
    How monitoring helped us
    • Started noticing performance issues

    • Used monitoring tool to discover errors on
    the load balancer

    • Lead us to find out we had firewall issues
    We needed to add a load balancer

    View full-size slide

  7. © JAMF Software, LLC
    Introducing Datadog
    Datadog is a web-
    based monitoring tool
    designed to make it
    easy to add agents to
    your hosts and monitor
    the services they run

    View full-size slide

  8. © JAMF Software, LLC
    Datadog integrates with services…
    Including some of the
    most popular ones for
    jamfPro admins

    View full-size slide

  9. © JAMF Software, LLC
    The price is right
    The best part is that
    Datadog has a free tier
    of service.
    For most on-prem
    environments, 5 hosts is
    enough!

    View full-size slide

  10. © JAMF Software, LLC
    Typical Environment
    • mySQL server

    • Load balancer (haproxy, nginx, pound)

    • Multiple Tomcat instances
    Config for mid to large Jamf Pro instances

    View full-size slide

  11. © JAMF Software, LLC
    How to set up Datadog
    Create an account
    at datadoghq.com

    View full-size slide

  12. © JAMF Software, LLC
    Installing the agent on Ubuntu

    View full-size slide

  13. © JAMF Software, LLC

    View full-size slide

  14. © JAMF Software, LLC
    Installing the agent on Windows Server

    View full-size slide

  15. © JAMF Software, LLC

    View full-size slide

  16. © JAMF Software, LLC
    Setting up your Dashboard
    • Timeboard vs Screenboard

    • Screenboards are the most flexible

    View full-size slide

  17. © JAMF Software, LLC
    Example of Timeboard

    View full-size slide

  18. © JAMF Software, LLC

    View full-size slide

  19. © JAMF Software, LLC
    Example of Screenboard

    View full-size slide

  20. © JAMF Software, LLC

    View full-size slide

  21. © JAMF Software, LLC
    Configuring Services for Datadog
    • Default agent grabs all system stats

    • CPU, memory, disk, IO, network

    • JMX (Tomcat)

    • mySQL

    • Load balancer

    View full-size slide

  22. © JAMF Software, LLC
    Customize Widgets on Dashboard
    Setup JMX for monitoring Tomcat

    View full-size slide

  23. © JAMF Software, LLC
    Customize Widgets on Dashboard
    Create read-only Datadog mySQL account

    View full-size slide

  24. © JAMF Software, LLC
    Verify your services are working
    • Log into your Datadog account and verify your
    servers are calling in (this can take a few
    minutes)

    View full-size slide

  25. © JAMF Software, LLC
    Widgets
    Creating CPU and Memory Widgets

    View full-size slide

  26. © JAMF Software, LLC

    View full-size slide

  27. © JAMF Software, LLC
    Widgets
    Creating Memory usage widget

    View full-size slide

  28. © JAMF Software, LLC

    View full-size slide

  29. © JAMF Software, LLC
    Sharing your Dashboards (Private or Public)
    • Give a link to Jamf Support to help them get a
    perspective on your environment

    • Share the dashboards with co-workers

    • Present the dashboard on TV for help desk

    • Link to my public dashboard: goo.gl/VFgXhC
    Why Share the Dashboard?

    View full-size slide

  30. © JAMF Software, LLC
    Questions?

    View full-size slide

  31. © JAMF Software, LL
    THANK YOU!

    View full-size slide