Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
README
monitor.sh

README

Monitor streams for specific byte sequences and react
usage: monitor.sh keyword command

examples:
	tail -f /var/log/access.log | ./monitor.sh "admin" "./alertme.sh"
	ssh me@server "tail -f /var/log/error.log" | ./monitor.sh "invalid" 'echo "Alert!" | mail ...'
Something went wrong with that request. Please try again.