{"action":"created","issue":{"url":"https://api.github.com/repos/mperham/inspeqtor/issues/103","labels_url":"https://api.github.com/repos/mperham/inspeqtor/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/mperham/inspeqtor/issues/103/comments","events_url":"https://api.github.com/repos/mperham/inspeqtor/issues/103/events","html_url":"https://github.com/mperham/inspeqtor/issues/103","id":95496761,"number":103,"title":"inspeqtorctl start deploy is on, still get alerts","user":{"login":"allaire","id":304461,"avatar_url":"https://avatars.githubusercontent.com/u/304461?v=3","gravatar_id":"","url":"https://api.github.com/users/allaire","html_url":"https://github.com/allaire","followers_url":"https://api.github.com/users/allaire/followers","following_url":"https://api.github.com/users/allaire/following{/other_user}","gists_url":"https://api.github.com/users/allaire/gists{/gist_id}","starred_url":"https://api.github.com/users/allaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allaire/subscriptions","organizations_url":"https://api.github.com/users/allaire/orgs","repos_url":"https://api.github.com/users/allaire/repos","events_url":"https://api.github.com/users/allaire/events{/privacy}","received_events_url":"https://api.github.com/users/allaire/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-16T18:33:41Z","updated_at":"2015-07-21T02:01:03Z","closed_at":null,"body":"`start deploy` is not working in both Capistrano and via ssh in cmd (`sudo inspeqtorctl start deploy`).\r\n\r\nGetting a swap host email alert:\r\n`swap is greater than than 20% for stg`\r\n\r\nthe doc says it should not trigger any actions during deploy: https://github.com/mperham/inspeqtor/wiki/Commands#supported-commands\r\n\r\n```\r\napp@stg:~$ sudo inspeqtor -v\r\nInspeqtor 0.8.1\r\nCopyright © 2015 Contributed Systems LLC\r\nLicensed under the GNU Public License 3.0\r\n```"},"comment":{"url":"https://api.github.com/repos/mperham/inspeqtor/issues/comments/123128312","html_url":"https://github.com/mperham/inspeqtor/issues/103#issuecomment-123128312","issue_url":"https://api.github.com/repos/mperham/inspeqtor/issues/103","id":123128312,"user":{"login":"allaire","id":304461,"avatar_url":"https://avatars.githubusercontent.com/u/304461?v=3","gravatar_id":"","url":"https://api.github.com/users/allaire","html_url":"https://github.com/allaire","followers_url":"https://api.github.com/users/allaire/followers","following_url":"https://api.github.com/users/allaire/following{/other_user}","gists_url":"https://api.github.com/users/allaire/gists{/gist_id}","starred_url":"https://api.github.com/users/allaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allaire/subscriptions","organizations_url":"https://api.github.com/users/allaire/orgs","repos_url":"https://api.github.com/users/allaire/repos","events_url":"https://api.github.com/users/allaire/events{/privacy}","received_events_url":"https://api.github.com/users/allaire/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T02:01:03Z","updated_at":"2015-07-21T02:01:03Z","body":"@sorentwo \r\n\r\nHere's the status:\r\n\r\n```\r\nInspeqtor 0.8.1, uptime: 5h10m55.765117427s, pid: 26255\r\n\r\nHost: stg\r\n  cpu                                 2.6%\r\n  cpu:iowait                          0.2%\r\n  cpu:steal                           0.2%\r\n  cpu:system                          1.1%\r\n  cpu:user                            1.1%\r\n  disk:/                              41.0%           90%\r\n  load:1                              0.08\r\n  load:15                             0.05\r\n  load:5                              0.03            10\r\n  swap                                20.0%           20%\r\n\r\nService: app-web-1 [Up/6381]\r\n  cpu:system                          0.0%\r\n  cpu:total_system                    0.0%\r\n  cpu:total_user                      0.0%\r\n  cpu:user                            0.0%\r\n  memory:rss                          9.00m\r\n  memory:total_rss                    1010.38m        1g\r\n\r\nService: app-worker-1 [Up/27186]\r\n  cpu:system                          0.1%\r\n  cpu:total_system                    0.0%\r\n  cpu:total_user                      0.0%\r\n  cpu:user                            0.1%\r\n  memory:rss                          266.44m\r\n  memory:total_rss                    266.44m         600m\r\n```\r\n\r\nHere's my host config:\r\n\r\n```\r\n#\r\n# Inspeqtor's default host check.\r\n#\r\n# .inq files represent a thing to monitor and verify.\r\n# Inspeqtor MUST, at minimum, have a \"check host\" recipe\r\n# in /etc/inspeqtor/host.inq\r\n#\r\ncheck host\r\n\r\n  #\r\n  # Typically you want to use all your RAM but not go into swap.\r\n  # We'll trigger an alert if the system uses more than 20% swap.\r\n  #\r\n  if swap > 20% then alert\r\n\r\n  #\r\n  # Verify the machine isn't overloaded.  This is a rough rule,\r\n  # edit as necessary for your machine.\r\n  #\r\n  if load:5 > 10 then alert\r\n\r\n  #\r\n  # Running out of disk space will not make you look good to the boss.\r\n  # Alert if the root partition is running out of space.\r\n  #\r\n  # You can add any mount point, e.g.\r\n  #    if disk:/backups > 90% then alert\r\n  #\r\n  if disk:/ > 90% then alert\r\n```\r\n\r\nThis problem occurs on my staging environment."}}