Opened 5 years ago

Closed 2 years ago

#2338 closed change (fixed)

Integrate RAID check with Nagios for servers with software-raid

Reported by: matze Assignee: paco
Priority: P3 Milestone:
Module: Infrastructure Keywords:
Cc: fred, ferris Blocked By: #2341
Blocking: Platform: Unknown
Ready: yes Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

https://codereview.adblockplus.org/29374832/

Description

Our Nagios setup for generic-hosts does not include checks for software RAIDs, although package monitoring-plugins-standard is installed and provides check_linux_raid anyway. Thus we want to update the Nagios config to apply this check to all servers with a software RAID.

Change History (8)

comment:1 Changed 5 years ago by matze

The only (Puppet-managed) servers without a software raid are server_10 and server_15:

mhennig@w540:~/AdblockPlus/infrastructure$ ./run.py -r $PUPPETMASTER -t \* -i /usr/lib/nagios/plugins/check_linux_raid 2>&1 | grep -B1 ^UNKNOWN
Running on server_10.adblockplus.org...
UNKNOWN
--
Running on server_15.adblockplus.org...
UNKNOWN

While server_10 does not have a RAID at all, server_15 seems to rely on the hardware RAID controller:

mhennig@w540:~/AdblockPlus/infrastructure$ ./run.py -r $PUPPETMASTER -t server10 -t server15 -i 'lspci -vv | grep -i raid || echo "(none)"'
Running on server_15.adblockplus.org...
00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
Running on server_10.adblockplus.org...
(none)

comment:2 Changed 5 years ago by matze

Update: server_10 is a virtual host, server_15 is misconfigured - it should have had a software RAID. The latter one should get fixed before (or at least while) this ticket is tackled.

comment:3 Changed 5 years ago by matze

  • Blocked By 2341 added

comment:4 Changed 3 years ago by matze

  • Ready set
  • Tester set to Unknown

See also /etc/cron.daily/mdadm on precise and jessie, respectively

comment:5 Changed 3 years ago by matze

  • Cc ferris added
  • Owner changed from matze to paco

comment:6 Changed 3 years ago by poz2k4444

  • Review URL(s) modified (diff)

comment:7 Changed 3 years ago by abpbot

A commit referencing this issue has landed:
Issue 2338 - Create /etc/crontab from Puppet template

comment:8 Changed 2 years ago by matze

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.