LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

nagios plugin check_md_raid: adapt to treat routine checks normally

Posted 08-14-2014 at 05:29 AM by catkin
Updated 08-14-2014 at 05:30 AM by catkin (Vertical spacing adjustment)

The problem

At least on Debian, md arrays are routinely checked monthly by /etc/cron.d/mdadm. During the check, the nagios plugin check_md_raid generates critical alerts.

The solution

In /usr/lib/nagios/plugins/check_md_raid, change
Code:
re_clean = re.compile('^clean(, no-errors)? $')
to
Code:
re_clean = re.compile('^clean(, (checking|no-errors))? $')
LQ 5k Club
Posted in Uncategorized
Views 1632 Comments 0 catkin is offline

  



All times are GMT -5. The time now is 04:53 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration