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 Well-Known Member

    2,721
    242
    63
    May 31, 2014
    Ratings:
    +433
    Local Time:
    9:38 PM
    Nginx-1.13.x
    MariaDB 10.1.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

    30,156
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    4:38 AM
    Nginx 1.13.x
    MariaDB 5.5
    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 Well-Known Member

    2,721
    242
    63
    May 31, 2014
    Ratings:
    +433
    Local Time:
    9:38 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Yes looking for any errors monitoring that will help me with a fast notification....
     
    Last edited: Oct 7, 2014