DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
View Events Video Library
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Mobile Database Essentials: Assess data needs, storage requirements, and more when leveraging databases for cloud and edge applications.

Full-Stack Observability Essentials: Explore the fundamentals of system-wide observability and key components of the OpenTelemetry standard.

Monitoring and Observability for LLMs: Datadog and Google Cloud discuss how to achieve optimal AI model performance.

Automated Testing: The latest on architecture, TDD, and the benefits of AI and low-code tools.

Related

  • How To Use Docker Volume To Build Angular Application With Jenkins Pipeline
  • GitLab vs Jenkins: Which Is the Best CI/CD Tool?
  • Streamlining Your Workflow With the Jenkins HTTP Request Plugin: A Guide to Replacing CURL in Scripts
  • 1,000 Jenkins Jobs: A DevOps Journey to Nirvana

Trending

  • Supercharge Your Communication With Twilio and Ballerina
  • SQL Query Performance Tuning in MySQL
  • JWT Token Revocation: Centralized Control vs. Distributed Kafka Handling
  • Exploring Different Continuous Integration Servers: Streamlining Software Development
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Deployment
  4. Status Checks and SQL Statements via Jenkins

Status Checks and SQL Statements via Jenkins

Eric Genesky user avatar by
Eric Genesky
·
Feb. 02, 12 · Interview
Like (0)
Save
Tweet
Share
14.28K Views

Join the DZone community and get the full member experience.

Join For Free

Does your ops tam have trouble running status updates and SQL statements?  At a recent conference, John Vincent was asked this very question, and wrote a useful tutorial in response.  For those of you who don't know, Vincent is a well-known member of the DevOps community and the creator of NOAH, a nifty application inspired by Apache Zookeeper; you can check it out on GitHub here.  In his tutorial, John Vincent tries to meet the needs of DBA's out there who are looking for a lowtech monitoring method. His approach: Jenkins.

Jenkins is a Java-based open source continuous integration tool that, as Vincent points out, works like cron, another popular time-based job scheduler.  For a simple database health check system, there are three needs, according to Vincent: 

  • performing scheduled tasks
  • running a given command
  • reporting the success or failure of a given command.

He suggests that . . .

. . . there have been numerous posts about people replacing individual cron jobs with a centralized model based on Jenkins. This makes perfect sense and is something of a holy grail.  --John Vincent


Vincent also provides a small disclaimer by indicating that a Jenkins job is a low-friction way of accomplishing the requested task, and that "it may or may not be scalable in the long run."  The tutorial itself provides a cursory look at the Jenkins menus, and then goes on to provide a solution to the problem of status checks by using a "test case" MySQL database running on a Linux VM.  Luckily for users, the tutorial includes ample code snippets and illustrative images.  At the end, he also provides some "Additional plugins and tips" for the curious developer.   Hopefully, you'll find the tutorial useful - please provide your comments below. 

Source: Lowtech Monitoring With Jenkins by John Vincent

Jenkins (software)

Opinions expressed by DZone contributors are their own.

Related

  • How To Use Docker Volume To Build Angular Application With Jenkins Pipeline
  • GitLab vs Jenkins: Which Is the Best CI/CD Tool?
  • Streamlining Your Workflow With the Jenkins HTTP Request Plugin: A Guide to Replacing CURL in Scripts
  • 1,000 Jenkins Jobs: A DevOps Journey to Nirvana

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: