{"action":"created","issue":{"url":"https://api.github.com/repos/sensu/sensu/issues/1190","repository_url":"https://api.github.com/repos/sensu/sensu","labels_url":"https://api.github.com/repos/sensu/sensu/issues/1190/labels{/name}","comments_url":"https://api.github.com/repos/sensu/sensu/issues/1190/comments","events_url":"https://api.github.com/repos/sensu/sensu/issues/1190/events","html_url":"https://github.com/sensu/sensu/issues/1190","id":140662918,"number":1190,"title":"Sensu client could not find a temporary directory","user":{"login":"masterkorp","id":223763,"avatar_url":"https://avatars.githubusercontent.com/u/223763?v=3","gravatar_id":"","url":"https://api.github.com/users/masterkorp","html_url":"https://github.com/masterkorp","followers_url":"https://api.github.com/users/masterkorp/followers","following_url":"https://api.github.com/users/masterkorp/following{/other_user}","gists_url":"https://api.github.com/users/masterkorp/gists{/gist_id}","starred_url":"https://api.github.com/users/masterkorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masterkorp/subscriptions","organizations_url":"https://api.github.com/users/masterkorp/orgs","repos_url":"https://api.github.com/users/masterkorp/repos","events_url":"https://api.github.com/users/masterkorp/events{/privacy}","received_events_url":"https://api.github.com/users/masterkorp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-14T12:39:59Z","updated_at":"2016-03-15T13:59:21Z","closed_at":null,"body":"Sensu clients fails to find a tmp directory. \r\n\r\n```\r\n/opt/sensu/embedded/lib/ruby/2.0.0/tmpdir.rb:34:in `tmpdir': could not find a temporary directory (ArgumentError)\r\n        from /opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-settings-3.1.0/lib/sensu/settings/loader.rb:336:in `create_loaded_tempfile!'\r\n        from /opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-settings-3.1.0/lib/sensu/settings/loader.rb:140:in `set_env!'\r\n        from /opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-settings-3.1.0/lib/sensu/settings.rb:27:in `load'\r\n        from /opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-settings-3.1.0/lib/sensu/settings.rb:38:in `get'\r\n        from /opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-0.20.3/lib/sensu/daemon.rb:85:in `load_settings'\r\n        from /opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-0.20.3/lib/sensu/daemon.rb:47:in `initialize'\r\n        from /opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-0.20.3/lib/sensu/client/process.rb:29:in `initialize'\r\n        from /opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-0.20.3/lib/sensu/client/process.rb:17:in `new'\r\n        from /opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-0.20.3/lib/sensu/client/process.rb:17:in `run'\r\n        from /opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-0.20.3/bin/sensu-client:10:in `<top (required)>'\r\n        from /opt/sensu/bin/sensu-client:23:in `load'\r\n```\r\n\r\n```\r\n$ /opt/sensu/bin/sensu-client --version \r\n0.20.3\r\n```"},"comment":{"url":"https://api.github.com/repos/sensu/sensu/issues/comments/196833448","html_url":"https://github.com/sensu/sensu/issues/1190#issuecomment-196833448","issue_url":"https://api.github.com/repos/sensu/sensu/issues/1190","id":196833448,"user":{"login":"roobert","id":226654,"avatar_url":"https://avatars.githubusercontent.com/u/226654?v=3","gravatar_id":"","url":"https://api.github.com/users/roobert","html_url":"https://github.com/roobert","followers_url":"https://api.github.com/users/roobert/followers","following_url":"https://api.github.com/users/roobert/following{/other_user}","gists_url":"https://api.github.com/users/roobert/gists{/gist_id}","starred_url":"https://api.github.com/users/roobert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roobert/subscriptions","organizations_url":"https://api.github.com/users/roobert/orgs","repos_url":"https://api.github.com/users/roobert/repos","events_url":"https://api.github.com/users/roobert/events{/privacy}","received_events_url":"https://api.github.com/users/roobert/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T13:59:21Z","updated_at":"2016-03-15T13:59:21Z","body":"Alternatively set `TMP`, `TEMP`, or `TEMPDIR`[1] values in the `sensu-client` environment to a writeable directory.\r\n\r\n1. from the source for `tmpdir()` here: http://ruby-doc.org/stdlib-2.0.0/libdoc/tmpdir/rdoc/Dir.html#method-c-tmpdir"}}