Project

General

Profile

Feature #9872

Need check_mk sensor that looks at update_manual_mappings log

Added by Gerard Bernabeu Altayo over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
Start date:
08/24/2015
Due date:
08/24/2015
% Done:

0%

Estimated time:
2.00 h
Duration: 1

Description

Once 9871 is done, a check_mk sensor that checks the log needs to be deployed.

There are similar scripts out there already, for example:

https://ecfmon1.fnal.gov/dcsomon/check_mk/index.py?start_url=%2Fdcsomon%2Fcheck_mk%2Fview.py%3Fview_name%3Dservice%26service%3Dgcso_voms_loader_runtime%26host%3Dvoms1

The sensor should:

1. Report the script runtime as performance data
2. Calculate the meantime for the script to run, if it's deviated by 50% issue a WARNING, if it's deviated by 200% issue a Critical
3. Make sure that the script runs x3 it's frequency, this is, if the script takes 5 minutes to run, the cron should run every 15 minutes.


Related issues

Follows (1 day) GUMS - Feature #9871: Improve logging in /var/log/update_manual_mappings.logNew08/21/2015

History

#1 Updated by Gerard Bernabeu Altayo over 4 years ago

  • Follows Feature #9871: Improve logging in /var/log/update_manual_mappings.log added


Also available in: Atom PDF