Unix Log File Monitoring
Posted: Tue Nov 26, 2019 11:01 pm
Moderator Note: Content removed per request
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
command[check_file_content_dc1uat163]=/usr/local/nagios/libexec/check_filecontent_new.pl -f /apps/wildfly-11.0.0/standalone/log/security.log.`date --date='yesterday' +"%Y-%m-%d"` -i "ERROR" -i "FATAL"
command[check_file_content_dc1uat163]=/usr/local/nagios/libexec/check_filecontent_new.pl -f /apps/wildfly-11.0.0/standalone/log/server.log.`date --date='yesterday' +"%Y-%m-%d"` -i "ERROR" -i "FATAL"Code: Select all
command[check_file_content_dc1uat163_server]=/usr/local/nagios/libexec/check_filecontent_new.pl -f /apps/wildfly-11.0.0/standalone/log/server.log.`date --date='yesterday' +"%Y-%m-%d"` -i "ERROR" -i "FATAL"Great!Srinija544 wrote:Hi scottwilkerson,
Thank you so much.
I have changed the command. Now the alerts are fine.
We are good to close this request.
Thannks once again,
Srinija.