Created
April 5, 2011 22:00
-
-
Save flores/904673 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
l:~/agent-plugins# ./log_freshness.py | |
Usage: ./log_freshness.py <log file to check> | |
l:~/agent-plugins# ./log_freshness.py /var/log/apache2/access.log | |
status ok everything looks good, modified 163 seconds ago | |
l:~/agent-plugins# ./log_freshness.py /var/log/apache2/error.log | |
status err /var/log/apache2/error.log not modified in 2745 seconds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment