can you suggest me to use PERL script to alert me when var/log/messages file got critical errores.
or any suggestions...
thanks in advance.
its very good idea to write a perl script, its a very powerfull tool for this kind of alerts.
its a simple script to write for these messages.
/var/log/samba : Samba messages
/var/log/mrtg : MRTG messages
/var/log/httpd : Apache webserver message
/var/log/maillog : Mail
/var/log/httpd/access_log : Apache web server page access logs
all the best..