Cloud Network

Networking | Support | Tricks | Troubleshoot | Tips

Buymecoffe

Buy Me A Coffee

Monday, March 27, 2017

How Do You Enable Two-Factor Authentication On Instagram | How to Turn On Two-Factor for Instagram

March 27, 2017
How Do You Enable Two-Factor Authentication On Instagram | How to Turn On Two-Factor for Instagram

Thursday, March 23, 2017

How to Share Multiple Photos & Videos in Just One Instagram Post

March 23, 2017
How to Share Multiple Photos & Videos in Just One Instagram Post

Super Mario Run is now available on Android

March 23, 2017
Super Mario Run is now available on Android

Wednesday, March 15, 2017

How to Take 'myAndroid Taste Test' is a New Way to Customize Android in ...

March 15, 2017
How to Take 'myAndroid Taste Test' is a New Way to Customize Android in ...

Tuesday, March 14, 2017

How to Turn On or Off Community Contributions for All Videos, Specific ...

March 14, 2017
How to Turn On or Off Community Contributions for All Videos,  Specific ...

Tuesday, October 4, 2016

How to Download & Install Google Allo - A Smart Messaging App in Android and iOS

October 04, 2016
How to Download & Install Google Allo - A Smart Messaging App in Android and iOS

Thursday, July 14, 2016

How to Install & Setup Monit (Linux Process and Services Monitoring) Redhat Linux, CentOS, Fedora & Ubuntu, Linux Mint & Debian

July 14, 2016
How to Install & Setup Monit (Linux Process and Services Monitoring)  Redhat Linux, CentOS, Fedora & Ubuntu, Linux Mint & Debian



How to Install and Setup Monit (Linux Process and Services Monitoring)
 
              Redhat Linux, CentOS, Fedora & Ubuntu, Linux Mint & Debian.


Installing Monit
Step1 :- yum install monit           --> [RedHat/CentOS/Fedora]
Step2 :- sudo  apt-get install monit --> [Ubuntu/Debian/Linux Mint]

Configuring Monit 
Step3 :-      vi /etc/monit.conf      --> [RedHat/CentOS/Fedora]
Step3 :- sudo vi /etc/monit/monitrc   --> [Ubuntu/Debian/Linux Mint]

Next, uncomment
add the IP address or domain name of your server
     set httpd port 2812 and

Start the Monit
Step4 :- sudo /etc/init.d/monit start


http://localhost:2812” or “http://example.com:2812“ or ip address also can use

Adding Monitoring Services
Step5 :-   vi /etc/monit.conf         --> [RedHat/CentOS/Fedora]
Step5 :- sudo vi /etc/monit/monitrc   --> [Ubuntu/Debian/Linux Mint]

Apache
Apache2
Nginx
MySQL
SSHD


Errors :- When you get message like “Control file syntax OK“,
Step6 :- monit -t        --> [RedHat/CentOS/Fedora]
        monit reload
       monit start all
Step6 :- sudo monit -t   --> [Ubuntu/Debian/Linux Mint]


start the monit service.
Step7 :- /etc/init.d/monit restart      --> [RedHat/CentOS/Fedora]
Step7 :- sudo /etc/init.d/monit restart --> [Ubuntu/Debian/Linux Mint]

checking log file
Step8 :- tail -f /var/log/monit          --> [RedHat/CentOS/Fedora]
Step8 :- sudo tail -f /var/log/monit.log --> [Ubuntu/Debian/Linux Mint]



--------------------------------------------------------