Opened on 04/17/2015 at 02:13:11 PM

Closed on 09/04/2017 at 10:05:51 AM

#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.

Attachments (0)

Change History (8)

comment:1 Changed on 04/17/2015 at 02:23:55 PM 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 on 04/17/2015 at 03:25:09 PM 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 on 04/17/2015 at 04:15:40 PM by matze

  • Blocked By 2341 added

comment:4 Changed on 01/31/2017 at 02:45:42 PM by matze

  • Ready set
  • Tester set to Unknown

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

comment:5 Changed on 02/07/2017 at 11:29:23 AM by matze

  • Cc ferris added
  • Owner changed from matze to paco

comment:6 Changed on 02/09/2017 at 05:19:16 PM by poz2k4444

  • Review URL(s) modified (diff)

comment:7 Changed on 02/09/2017 at 06:03:13 PM by abpbot

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

comment:8 Changed on 09/04/2017 at 10:05:51 AM by matze

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

Change Properties
Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from paco.
 
Note: See TracTickets for help on using tickets.