Changeset 14265 in hybrid


Ignore:
Timestamp:
Dec 19, 2018, 8:45:14 AM (4 years ago)
Author:
rick
Message:

Fix monit potentially mess up mounting conditions

Monit should not manage critical memory disks, since unmounting renders the
system unusable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-11/nanobsd/files/usr/local/etc/monitrc

    r14255 r14265  
    272272
    273273  check filesystem etc with path /dev/md0
    274     start program  = "/sbin/mount /etc"
    275     stop program  = "/sbin/umount /etc"
     274    if space usage > 99% then exec /sbin/reboot
    276275
    277276  check filesystem var with path /dev/md1
    278     start program  = "/sbin/mount /var"
    279     stop program  = "/sbin/umount /var"
    280277    if space usage > 99% then exec /sbin/reboot
    281278
    282279  check filesystem tmp with path /dev/md2
    283     start program  = "/sbin/mount /tmp"
    284     stop program  = "/sbin/umount /tmp"
     280    if space usage > 99% then exec /sbin/reboot
    285281
    286282#  check filesystem cfg with path /dev/ufs/WLIMGs3
Note: See TracChangeset for help on using the changeset viewer.