{"action":"created","issue":{"url":"https://api.github.com/repos/NorthPage/telegraf-cookbook/issues/13","labels_url":"https://api.github.com/repos/NorthPage/telegraf-cookbook/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/NorthPage/telegraf-cookbook/issues/13/comments","events_url":"https://api.github.com/repos/NorthPage/telegraf-cookbook/issues/13/events","html_url":"https://github.com/NorthPage/telegraf-cookbook/pull/13","id":128347060,"number":13,"title":"outthentic integration tests for telegraf","user":{"login":"melezhik","id":988105,"avatar_url":"https://avatars.githubusercontent.com/u/988105?v=3","gravatar_id":"","url":"https://api.github.com/users/melezhik","html_url":"https://github.com/melezhik","followers_url":"https://api.github.com/users/melezhik/followers","following_url":"https://api.github.com/users/melezhik/following{/other_user}","gists_url":"https://api.github.com/users/melezhik/gists{/gist_id}","starred_url":"https://api.github.com/users/melezhik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melezhik/subscriptions","organizations_url":"https://api.github.com/users/melezhik/orgs","repos_url":"https://api.github.com/users/melezhik/repos","events_url":"https://api.github.com/users/melezhik/events{/privacy}","received_events_url":"https://api.github.com/users/melezhik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-23T19:18:39Z","updated_at":"2016-01-25T10:53:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/NorthPage/telegraf-cookbook/pulls/13","html_url":"https://github.com/NorthPage/telegraf-cookbook/pull/13","diff_url":"https://github.com/NorthPage/telegraf-cookbook/pull/13.diff","patch_url":"https://github.com/NorthPage/telegraf-cookbook/pull/13.patch"},"body":"Hi!\r\n\r\nThis is [outthentic integration tests](https://sparrowhub.org/info/outth-telegraf?v=0.000003) for telegraf service. A simple checks for output from telegraf client \r\n\r\nAt my kitchen environment it looks like this\r\n\r\n```\r\nC:\\Users\\melezal1\\projects\\telegraf-cookbook>kitchen verify centos-66\r\n-----> Starting Kitchen (v1.4.2)\r\nC:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/httpclient-2.6.0.1/lib/httpclient/webagent-cookie.rb:458: warning: already initialized constant HTTPClient::CookieManager\r\nC:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/httpclient-2.6.0.1/lib/httpclient/cookie.rb:8: warning: previous definition of CookieManager was here\r\n-----> Verifying <default-centos-66>...\r\n       Preparing files for transfer\r\n-----> Busser installation detected (busser)\r\n       Installing Busser plugins: busser-bash busser-serverspec\r\n       Plugin bash already installed\r\n       Plugin serverspec already installed\r\n       Removing /tmp/verifier/suites/serverspec\r\n       Removing /tmp/verifier/suites/bash\r\n       Transferring files to <default-centos-66>\r\n-----> Running bash test suite\r\n-----> [bash] outth_test.bash\r\n       project foo already exists - nothing to do here ...\r\n\r\n       checkpoint foo/tele already exists at /usr/local/share/perl5/Sparrow/Commands/CheckPoint.pm line 42\r\n        Sparrow::Commands::CheckPoint::check_add('foo', 'tele') called at /usr/local/bin/sparrow line 123\r\n       checkpoint - set plugin to public@outth-telegraf\r\n\r\n       [checkpoint foo/tele]\r\n\r\n       {\r\n          'install_dir' => 'public/outth-telegraf',\r\n          'plugin' => 'public@outth-telegraf',\r\n          'type' => 'public'\r\n        }\r\n\r\n\r\n       test suite ini file: not found\r\n       # running cd /root/sparrow/plugins/public/outth-telegraf && carton exec 'strun --root ./  ' ...\r\n\r\n       /tmp/.outthentic/14302/root/sparrow/plugins/public/outth-telegraf/cpu-metric/story.t ...\r\n       ok 1 - perl /root/sparrow/plugins/public/outth-telegraf/modules/make-config/story.pl succeeded\r\n       ok 2 - stdout saved to /tmp/.outthentic/14302/DyulbduYmd\r\n       ok 3 - output match 'OK'\r\n       ok 4 - perl /root/sparrow/plugins/public/outth-telegraf/cpu-metric/story.pl succeeded\r\n       ok 5 - stdout saved to /tmp/.outthentic/14302/lJn4GkmOBF\r\n       ok 6 - output match 'cpu'\r\n       ok 7 - output match /Plugin:\\s+cpu,\\s+Collection/\r\n       1..7\r\n       ok\r\n       /tmp/.outthentic/14302/root/sparrow/plugins/public/outth-telegraf/usage-mysql/story.t ..\r\n       ok 1 - perl /root/sparrow/plugins/public/outth-telegraf/usage-mysql/story.pl succeeded\r\n       ok 2 - stdout saved to /tmp/.outthentic/14302/fGX9qN9Q_P\r\n       ok 3 - output match 'Read metrics from one or many mysql servers'\r\n       1..3\r\n       ok\r\n       /tmp/.outthentic/14302/root/sparrow/plugins/public/outth-telegraf/version/story.t ......\r\n       ok 1 - perl /root/sparrow/plugins/public/outth-telegraf/version/story.pl succeeded\r\n       ok 2 - stdout saved to /tmp/.outthentic/14302/65ENtTENqj\r\n       ok 3 - output match /Telegraf - Version \\S+/\r\n       ok 4 - 'Telegraf - Version 0.2.4' match /Version (\\S+)/\r\n       1..4\r\n       ok\r\n       All tests successful.\r\n       Files=3, Tests=14,  0 wallclock secs ( 0.02 usr  0.01 sys +  0.21 cusr  0.05 csys =  0.29 CPU)\r\n       Result: PASS\r\n```"},"comment":{"url":"https://api.github.com/repos/NorthPage/telegraf-cookbook/issues/comments/174469154","html_url":"https://github.com/NorthPage/telegraf-cookbook/pull/13#issuecomment-174469154","issue_url":"https://api.github.com/repos/NorthPage/telegraf-cookbook/issues/13","id":174469154,"user":{"login":"melezhik","id":988105,"avatar_url":"https://avatars.githubusercontent.com/u/988105?v=3","gravatar_id":"","url":"https://api.github.com/users/melezhik","html_url":"https://github.com/melezhik","followers_url":"https://api.github.com/users/melezhik/followers","following_url":"https://api.github.com/users/melezhik/following{/other_user}","gists_url":"https://api.github.com/users/melezhik/gists{/gist_id}","starred_url":"https://api.github.com/users/melezhik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melezhik/subscriptions","organizations_url":"https://api.github.com/users/melezhik/orgs","repos_url":"https://api.github.com/users/melezhik/repos","events_url":"https://api.github.com/users/melezhik/events{/privacy}","received_events_url":"https://api.github.com/users/melezhik/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T10:53:50Z","updated_at":"2016-01-25T10:53:50Z","body":"Hi @tenyo , have you managed to take a look at links I sent you? Feel free to ask question if you have some. Thanks "}}