Skip to content

Instantly share code, notes, and snippets.

@cronnelly
Forked from nstielau/client.sh
Last active August 29, 2015 14:05
Show Gist options
  • Save cronnelly/fc89f0964dbf903c3c21 to your computer and use it in GitHub Desktop.
Save cronnelly/fc89f0964dbf903c3c21 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo '{
"handlers": ["debug"],
"name": "push_woot_test",
"output": "woot!",
"status": 0
}' > /dev/udp/127.0.0.1/3030
tail -f /var/log/sensu/*.log | grep woot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment