If you have more than one server that you need …

Comment on Monitoring and restart server services (Apache, Mysql, Bind) with Monit to prevent server downtimes by admin.

If you have more than one server that you need to monitor, then you can use M/Monit– an extended version of Monit that provides a simple way to monitor multiple machines.

admin Also Commented

Monitoring and restart server services (Apache, Mysql, Bind) with Monit to prevent server downtimes
Also the monitrc config from my article is configured to check and report for “disk full” and low disk space on /dev/md0 which used to be a software mirror type RAID1. Therefore config in monitrc reads:


check device disk1 with path /dev/md0

On other non-RAIDed disks, usually the disk to monitor is /dev/sda1 or /dev/sdb1

Thus if you’re not using a hardware or software mirror probably this config section should be substituted with:
check device disk1 with path /dev/sda1, i.e.:


check device disk1 with path /dev/sda1


Monitoring and restart server services (Apache, Mysql, Bind) with Monit to prevent server downtimes
Also i’ve figured out later. This alerts as I configured in this article might be sometimes really annoying if you receive e-mails every few seconds. Hence it might be good idea to comment alerts in my monitrc sample conf:

To do so, remove or comment lines in Apache and MySQL monit config section:


## if cpu usage is greater than 80 percent for 3 cycles then alert


## if cpu is greater than 50% for 2 cycles then alert


Monitoring and restart server services (Apache, Mysql, Bind) with Monit to prevent server downtimes
Also as I just installed monit service on one host with Debian Squeeze I can confirm. Config is working fine with Debian Squeeze shipped monit version:

pcfreak:~# dpkg -l |grep ‘^ii monit’
ii monit 1:5.1.1-1 A utility for monitoring and managing daemons or similar programs


Recent Comments by admin

Fix eth changing network interface names from new Linux naming scheme ens, eno, em1 to legacy eth0, eth1, eth2 on CentOS Linux

test


Some of the most important Symbols for Orthodox Christians in The Eastern Orthodox Church – Symbols in the Eastern Orthodox Christian Faith (Eastern Orthodox Symbolism) and Christian Symbolism in the Roman Catholic Church (Symbolism in Western Catholicism)

test


How to debug failing service in systemctl and add a new IP network alias in CentOS Linux

test


How to debug failing service in systemctl and add a new IP network alias in CentOS Linux
test


Fix MySQL ibdata file size – ibdata1 file growing too large, preventing ibdata1 from eating all your server disk space

test


Share this on:

No Responses to “If you have more than one server that you need …”

  1. Mr WordPress says:
    Unknown Unknown Unknown Unknown

    Hi, this is a comment.
    To delete a comment, just log in and view the post's comments. There you will have the option to edit or delete them.

    View CommentView Comment