Project

General

Profile

Bug #12455

Replace Puppet last run check cron email notifications with an Icinga check

Added by intrigeri over 1 year ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Infrastructure
Target version:
-
Start date:
04/18/2017
Due date:
% Done:

100%

QA Check:
Feature Branch:
Type of work:
Sysadmin
Blueprint:
Starter:
Affected tool:

Description

Same rationale as #11598.


Related issues

Related to Tails - Feature #11598: Replace reboot-notifier cron email notification with an Icinga check Resolved 07/22/2016

History

#1 Updated by intrigeri over 1 year ago

  • Related to Feature #11598: Replace reboot-notifier cron email notification with an Icinga check added

#2 Updated by intrigeri 11 months ago

#3 Updated by intrigeri 8 months ago

  • Status changed from Confirmed to In Progress
  • % Done changed from 0 to 10

Here's a plan:

  1. deploy puppet:///modules/puppet/master/lastruncheck to /usr/lib/nagios/plugins/check_puppetmaster; that's the exact same script we're currently running via cron so our custom settings in /etc/default/check_puppetmaster will be honored
  2. add a checkcommand and service to run check_puppetmaster on our puppetmaster
  3. ensure the icinga2 check works
  4. set $puppet::master::lastruncheck_cron = false so we stop deploying the script and cronjob via the puppet module; the puppet module will then clean up behind itself (at least the code tries to) so we won't get double notifications

#4 Updated by intrigeri 8 months ago

  • Subject changed from Consider replacing Puppet last run check emails with an Icinga check to Replace Puppet last run check cron email notifications with an Icinga check
  • % Done changed from 10 to 20

intrigeri wrote:

  1. deploy puppet:///modules/puppet/master/lastruncheck to /usr/lib/nagios/plugins/check_puppetmaster; that's the exact same script we're currently running via cron so our custom settings in /etc/default/check_puppetmaster will be honored
  2. add a checkcommand and service to run check_puppetmaster on our puppetmaster

Done.

#5 Updated by intrigeri 8 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 20 to 100

Also available in: Atom PDF