Skip to content

Instantly share code, notes, and snippets.

@mcallaway
Created July 1, 2013 21:48
Show Gist options
  • Save mcallaway/5904940 to your computer and use it in GitHub Desktop.
Save mcallaway/5904940 to your computer and use it in GitHub Desktop.
This is a sensu check result...
{
"level": "info",
"message": "publishing check result",
"payload": {
"check": {
"command": "PLENV_VERSION=5.14.1 /etc/sensu/plugins/elasticsearch/query-count.pl -u logstash-elasticsearch-1:9200 -p logstash-general,logstash-app -t 1m -m logstash.message_counts.permission_denied -q '@message:\"permission denied\"'",
"duration": 0.017,
"executed": 1372713467,
"handlers": [
"graphite"
],
"interval": 60,
"issued": 1372713467,
"name": "logstash_permission_denied_count_graphite",
"output": "Can't locate ElasticSearch.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /etc/sensu/plugins/elasticsearch/query-count.pl line 9.\nBEGIN failed--compilation aborted at /etc/sensu/plugins/elasticsearch/query-count.pl line 9.\n",
"sla": [],
"standalone": true,
"status": 2,
"subscribers": [],
"type": "metric"
},
"client": "sensu-check-runner.gsc.wustl.edu"
},
"timestamp": "2013-07-01T16:17:47.296893-0500"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment