Welcome to Centmin Mod Community
Become a Member

Monitoring log files and get mail on errors?

Discussion in 'System Administration' started by pamamolf, Oct 6, 2014.

  1. pamamolf

    pamamolf Premium Member Premium Member

    4,069
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    7:41 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Hi


    Is there any easy way to monitor log files and when an error occurs to get a mail notification for nginx mariadb or phpfpm?

    Thanks
     
  2. eva2000

    eva2000 Administrator Staff Member

    53,535
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    2:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Depends on what errors you are looking for as they are many types of error messages for those 3 pieces of software - nginx, php-fpm and mariadb and you probably need to write a custom script to monitor those respective logs for specific types of error messages you are interested in.

    Otherwise, general monitoring could be done by some monitoring apps discussed at monitoring and alert tools? | Centmin Mod Community
     
  3. pamamolf

    pamamolf Premium Member Premium Member

    4,069
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    7:41 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Yes looking for any errors monitoring that will help me with a fast notification....
     
    Last edited: Oct 7, 2014