Question: this is linux tutorial could u please write all steps in detail. Provide the instructions to configure monit for the following. Explain what each instruction

this is linux tutorial could u please write all steps in detail. this is linux tutorial could u please write all steps in detail.

Provide the instructions to configure monit for the following. Explain what each instruction is doing in detail to explain the process, an example is above: - Provide the command to have monit check the configuration file for errors - Provide the command to stop and start monit - set the polling interval to one minute - Monit has a web interface that runs on port 2812, change it to 41561. Change the admin password to access the interface to WorklsHard - allow connections from the 10.1.1.0/24 subnet - Set the primary mail server to localhost (This will send all alert messages to the specified user on the local machine. The mail is stored in /var/mail/USERNAME) - Set all alerts to be send to root@localhost - Ensure it does not set alerts for instance or action to prevent it from sending mail for user-initiated actions - Have monit alert if CPU usages exceed 90% for 5 minutes - Have monit alert if RAM usage exceed 80% for 5 minutes - Have monit alert of storage usage of /dev/sda3 exceeds 70% for 5 minutes - Have monit monitor Apache for the following metrics and perform the specified actions if cpu usage exceed 90% for 3 minutes then alert if cpu usage exceeds 99% for one minute restart the service - Have monit monitor the SSH daemon and perform the specified actions If it cannot establish connection, then restart the service if after three restarts within 10 cycles then alert

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!