###########################################################################
##  Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3      ##
###########################################################################
 
check process mdadm with pidfile /var/run/mdadm/monitor.pid
   group system
   group mdadm
   depend mdadm_bin
   depend mdadm_rc
   depend mdadm_conf
   start program = "/etc/init.d/mdadm start"
   stop  program = "/etc/init.d/mdadm stop"
   # if 5 restarts with 5 cycles then timeout
 
check file mdadm_bin with path /sbin/mdadm
   group mdadm
   include /etc/monit/templates/rootbin
 
check file mdadm_conf with path /etc/mdadm/mdadm.conf
   group mdadm
   include /etc/monit/templates/rootrc
 
check file mdadm_rc with path "/etc/init.d/mdadm"
   group mdadm
   include /etc/monit/templates/rootbin

assets/monit/debian/templates/mdadm.txt ยท Last modified: 2024/11/02 00:52 by office

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.