Thanks for getting back to me. I did change it to look like this:
{“timestamp”:“2014-04-02T11:56:23.168189-0400”,“level”:“info”,“message”:“handling event”,“event”:{“client”:{“name”:“testserver.local.net”,“address”:“10.1.2.3”,“subscriptions”:[“default”,“test”],“timestamp”:1396454165},“check”:{“command”:“/usr/bin/ruby /etc/sensu/community/plugins/processes/check-procs.rb -p jenntest -W 1”,“interval”:60,“subscribers”:[“test”],“handlers”:[“remediator”],“remediation”:{“light_remediation”:{“occurrences”:[1,2],“severities”:[1]},“medium_remediation”:{“occurrences”:[“3-10”],“severities”:[1]},“heavy_remediation”:{“occurrences”:[“1+”],“severities”:[2]}},“name”:“check_with_remediation”,“issued”:1396454183,“executed”:1396454183,“output”:“CheckProcs CRITICAL: Found 0 matching processes; cmd /jenntest/\n”,“status”:2,“duration”:0.104,“history”:[“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”]},“occurrences”:1212,“action”:“create”},“handler”:{“type”:“pipe”,“command”:“/etc/sensu/community/handlers/remediation/sensu.rb”,“name”:“remediator”}}
{“timestamp”:“2014-04-02T11:56:23.282658-0400”,“level”:“info”,“message”:“handler output”,“handler”:{“type”:“pipe”,“command”:“/etc/sensu/community/handlers/remediation/sensu.rb”,“name”:“remediator”},“output”:“REMEDIATION: Evaluating remediation: testserver.local.net {"light_remediation"=>{"occurrences"=>[1, 2], "severities"=>[1]}, "medium_remediation"=>{"occurrences"=>["3-10"], "severities"=>[1]}, "heavy_remediation"=>{"occurrences"=>["1+"], "severities"=>[2]}} #=1212 sev=2\n”}
{“timestamp”:“2014-04-02T11:56:23.282813-0400”,“level”:“info”,“message”:“handler output”,“handler”:{“type”:“pipe”,“command”:“/etc/sensu/community/handlers/remediation/sensu.rb”,“name”:“remediator”},“output”:“REMEDIATION: Matchdata: #<MatchData "1+" 1:"1">\n”}
{“timestamp”:“2014-04-02T11:56:23.282856-0400”,“level”:“info”,“message”:“handler output”,“handler”:{“type”:“pipe”,“command”:“/etc/sensu/community/handlers/remediation/sensu.rb”,“name”:“remediator”},“output”:“REMEDIATION: Triggering remediation check ‘heavy_remediation’ for ["testserver.local.net"]\n”}
{“timestamp”:“2014-04-02T11:56:23.282892-0400”,“level”:“info”,“message”:“handler output”,“handler”:{“type”:“pipe”,“command”:“/etc/sensu/community/handlers/remediation/sensu.rb”,“name”:“remediator”},“output”:“REMEDIATION: Recieved API Response (202): {"issued":1396454183}, exiting.\n”}
But I do not see the file on the server. Any help would be appreciated and I will send you beer or whatever