LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Blogs > catkin
User Name
Password

Notices

Rate this Entry

nagios plugin check_md_raid: adapt to treat routine checks normally

Posted 08-14-2014 at 06:29 AM by catkin
Updated 08-14-2014 at 06: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))? $')
Posted in Uncategorized
Views 216 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 07:37 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration