Page MenuHomePhabricator

Remove specific nrpe::monitor_systemd_unit_state
Closed, ResolvedPublic

Description

The check is specific per-unit, although we have catch-all alerts nowadays, thus the alert is redundant

Event Timeline

Change 924901 had a related patch set uploaded (by Filippo Giunchedi; author: Filippo Giunchedi):

[operations/puppet@production] Deprecate nrpe::monitor_systemd_unit_state

https://gerrit.wikimedia.org/r/924901

Change 924901 abandoned by Filippo Giunchedi:

[operations/puppet@production] Deprecate nrpe::monitor_systemd_unit_state

Reason:

Not useful as-is

https://gerrit.wikimedia.org/r/924901

Change 997806 had a related patch set uploaded (by Filippo Giunchedi; author: Filippo Giunchedi):

[operations/puppet@production] graphite: remove nrpe::monitor_systemd_unit_state

https://gerrit.wikimedia.org/r/997806

Change 997807 had a related patch set uploaded (by Filippo Giunchedi; author: Filippo Giunchedi):

[operations/puppet@production] cache: remove nrpe::monitor_systemd_unit_state

https://gerrit.wikimedia.org/r/997807

Change 997807 merged by Filippo Giunchedi:

[operations/puppet@production] cache: remove nrpe::monitor_systemd_unit_state

https://gerrit.wikimedia.org/r/997807

Change 997814 had a related patch set uploaded (by Filippo Giunchedi; author: Filippo Giunchedi):

[operations/puppet@production] cassandra: remove nrpe::monitor_systemd_unit_state

https://gerrit.wikimedia.org/r/997814

Change 997815 had a related patch set uploaded (by Filippo Giunchedi; author: Filippo Giunchedi):

[operations/puppet@production] confd: remove nrpe::monitor_systemd_unit_state

https://gerrit.wikimedia.org/r/997815

Change 997816 had a related patch set uploaded (by Filippo Giunchedi; author: Filippo Giunchedi):

[operations/puppet@production] chartmuseum: remove nrpe::monitor_systemd_unit_state

https://gerrit.wikimedia.org/r/997816

Change 997817 had a related patch set uploaded (by Filippo Giunchedi; author: Filippo Giunchedi):

[operations/puppet@production] docker_registry: remove nrpe::monitor_systemd_unit_state

https://gerrit.wikimedia.org/r/997817

Change 997818 had a related patch set uploaded (by Filippo Giunchedi; author: Filippo Giunchedi):

[operations/puppet@production] envoy: remove nrpe::monitor_systemd_unit_state

https://gerrit.wikimedia.org/r/997818

Change 997819 had a related patch set uploaded (by Filippo Giunchedi; author: Filippo Giunchedi):

[operations/puppet@production] mediawiki: remove nrpe::monitor_systemd_unit_state

https://gerrit.wikimedia.org/r/997819

Change 997820 had a related patch set uploaded (by Filippo Giunchedi; author: Filippo Giunchedi):

[operations/puppet@production] etcd: remove nrpe::monitor_systemd_unit_state

https://gerrit.wikimedia.org/r/997820

Change 997821 had a related patch set uploaded (by Filippo Giunchedi; author: Filippo Giunchedi):

[operations/puppet@production] mariadb: remove nrpe::monitor_systemd_unit_state

https://gerrit.wikimedia.org/r/997821

Change 997814 merged by Filippo Giunchedi:

[operations/puppet@production] cassandra: remove nrpe::monitor_systemd_unit_state

https://gerrit.wikimedia.org/r/997814

Change 997818 merged by Filippo Giunchedi:

[operations/puppet@production] envoy: remove nrpe::monitor_systemd_unit_state

https://gerrit.wikimedia.org/r/997818

Change 997806 merged by Filippo Giunchedi:

[operations/puppet@production] graphite: remove nrpe::monitor_systemd_unit_state

https://gerrit.wikimedia.org/r/997806

Change 997821 merged by Marostegui:

[operations/puppet@production] mariadb: remove nrpe::monitor_systemd_unit_state

https://gerrit.wikimedia.org/r/997821

Change 997815 merged by Filippo Giunchedi:

[operations/puppet@production] confd: remove nrpe::monitor_systemd_unit_state

https://gerrit.wikimedia.org/r/997815

Change 997816 merged by Filippo Giunchedi:

[operations/puppet@production] chartmuseum: remove nrpe::monitor_systemd_unit_state

https://gerrit.wikimedia.org/r/997816

Change 997817 merged by Filippo Giunchedi:

[operations/puppet@production] docker_registry: remove nrpe::monitor_systemd_unit_state

https://gerrit.wikimedia.org/r/997817

Change 997819 merged by Filippo Giunchedi:

[operations/puppet@production] mediawiki: remove nrpe::monitor_systemd_unit_state

https://gerrit.wikimedia.org/r/997819

Change 997820 merged by Filippo Giunchedi:

[operations/puppet@production] etcd: remove nrpe::monitor_systemd_unit_state

https://gerrit.wikimedia.org/r/997820

We have made significant progress here, with only one instance left in modules/icinga/manifests/monitor/etcd_mw_config.pp

nrpe::monitor_systemd_unit_state { 'update-etcd-mw-config-lastindex':
    expected_state => 'periodic',
    lastrun        => '60',
}

Note checing for mw config lastindex might go away as a whole, depending on T322523: Check confd last index in a mw-on-k8s world

Change 998417 had a related patch set uploaded (by Filippo Giunchedi; author: Filippo Giunchedi):

[operations/puppet@production] icinga: use systemd::timer::job for 'update-etcd-mw-config-lastindex'

https://gerrit.wikimedia.org/r/998417

Change 998424 had a related patch set uploaded (by Filippo Giunchedi; author: Filippo Giunchedi):

[operations/puppet@production] nrpe: remove monitor_systemd_unit_state

https://gerrit.wikimedia.org/r/998424

Change 998417 merged by Filippo Giunchedi:

[operations/puppet@production] icinga: use systemd::timer::job for 'update-etcd-mw-config-lastindex'

https://gerrit.wikimedia.org/r/998417

Change 998424 merged by Filippo Giunchedi:

[operations/puppet@production] nrpe: remove monitor_systemd_unit_state

https://gerrit.wikimedia.org/r/998424

Change 998822 had a related patch set uploaded (by Filippo Giunchedi; author: Filippo Giunchedi):

[operations/puppet@production] nrpe: absent systemd_scripts

https://gerrit.wikimedia.org/r/998822

Change 998823 had a related patch set uploaded (by Filippo Giunchedi; author: Filippo Giunchedi):

[operations/puppet@production] nrpe: cleanup check_systemd_unit_state

https://gerrit.wikimedia.org/r/998823

Change 998822 merged by Filippo Giunchedi:

[operations/puppet@production] nrpe: absent systemd_scripts

https://gerrit.wikimedia.org/r/998822

Change 998823 merged by Filippo Giunchedi:

[operations/puppet@production] nrpe: cleanup check_systemd_unit_state

https://gerrit.wikimedia.org/r/998823

fgiunchedi claimed this task.

This is completed!