Last active
January 4, 2016 06:18
-
-
Save marianogg9/8580563 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$ curl http://localhost:4567 -d prueba.json | |
where localhost:4567 is my sensu-api address and prueba.json is: | |
{"timestamp":"2014-01-23T04:22:31.183892+0000","level":"info","message":"publishing check result","payload":{"client":"server01","check":{"name":"check_vmstat","issued":1390278111,"command":"/etc/sensu/plugins/check_ntp_time -H 0.amazon.pool.ntp.org -w 30 -c 60","handlers":["mailer-ses","mailer"],"interval":60,"occurrences":1,"refresh":1800,"flapping":true,"subscribers":["monitoring_server"],"executed":1390278145,"output":"NTP CRITICAL: No response from NTP server\n","status":2,"duration":5.702}}} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment