Project

General

Profile

Bug #9874

Create check_mk sensor for the gen-pwdgrp.sh logs

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

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

0%

Estimated time:
2.00 h
Duration: 1

Description

Once 9873 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 - Bug #9873: Add logs for /usr/libexec/gums/pwdgp-gen/gen-pwdgrp.shResolved08/21/2015

History

#1 Updated by Gerard Bernabeu Altayo about 4 years ago

  • Follows Bug #9873: Add logs for /usr/libexec/gums/pwdgp-gen/gen-pwdgrp.sh added

#2 Updated by Merina Albert over 3 years ago

  • Status changed from New to Resolved

Updated script to have execution time and created check_mk sensor for gen-pwdgrp.sh logs



Also available in: Atom PDF