Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
..
Failed to load latest commit information.
README initial, directory changes, log events
monitor.sh echo line removed

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.