HiveBrain v1.2.0
Get Started
← Back to all entries
patternMinor

Automatic periodic conditional checks

Submitted by: @import:stackexchange-devops··
0
Viewed 0 times
checksautomaticconditionalperiodic

Problem

I need a simple tool that will carry out some conditional checks periodically and give me a red/green status that I can use as an indication that something is wrong.

These are examples of checks that I would like to monitor automatically:

  • Does a row exist in a database that meets a certain criteria?



  • Does a file, with a maximum age, exist on some network share?



  • Does the response-body of a HTTP-request match a specific regex?



So basically, it would free me from checking these various indicators manually and just have a red/green dashboard that I could monitor.

I'm thinking something like this has got to exist in a ready-made solution.

Solution

All in all any monitoring tool would do for this case, monit, nagios, shinken, icinga, centreon, or even a crontab in bash could do...

Context

StackExchange DevOps Q#2429, answer score: 9

Revisions (0)

No revisions yet.