{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/pulls/comments/71259266","id":71259266,"diff_hunk":"@@ -169,9 +171,49 @@ This is a known issue an occurs on first upload of Linux data into an OMS worksp\n * Connection to the OMS Service is blocked\n * OMS Agent for Linux data is backed up\n \n-### Resolutions\n+#### Resolutions\n * Check if onboarding the OMS Service was successful by checking if the following file exists: `/etc/opt/microsoft/omsagent/conf/omsadmin.conf`\n  * Re-onboard using the omsadmin.sh command line [instructions](https://github.com/Microsoft/OMS-Agent-for-Linux/blob/master/docs/OMS-Agent-for-Linux.md#onboarding-using-the-command-line)\n * If using a proxy, check proxy troubleshooting steps aboce\n * In some cases, when the OMS Agent for Linux cannot talk to the OMS Service, data on the Agent is backed up to the full buffer size: 50 MB. The OMS Agent for Linux should be restarted by running the following command `service omsagent restart` or `systemctl restart omsagent`.\n  * **Note:** This issue is fixed in Agent version >= 1.1.0-28\n+\n+### My portal side configuration for (Syslog/Linux Performance Counter) is not being applied\n+#### Probable Causes\n+* The OMS Agent for Linux Configuration Agent has not picked up the latest portal side configuration\n+* The changed settings in the portal were not applied\n+\n+#### Resolutions\n+\n+**Background:** `omsconfig` is the OMS Agent for Linux configuration agent that looks for new portal side configuration every 5 minutes. This configuration is then applied to the OMS Agent for Linux configuration files located at /etc/opt/microsoft/omsagent/conf/omsagent.conf. \n+\n+* In some cases the OMS Agent for Linux configuration agent might not be able to communicate with the portal configuration service resulting in latest configuration not being applied.\n+ * Check that the `omsconfig` agent is installed\n+  * `dpkg --list omsconfig` or `rpm -qi omsconfig`\n+  * If not installed, reinstall the latest version of the OMS Agent for Linux\n+\n+* Check that the `omsconfig` agent can communicate with the OMS Portal Service\n+  * Run the following command `sudo su omsagent -c 'python /opt/microsoft/omsconfig/Scripts/GetDscConfiguration.py'`","path":"docs/Troubleshooting.md","position":36,"original_position":36,"commit_id":"5cf7a585a8fe1998257b19746cf65c86813e43eb","original_commit_id":"5cf7a585a8fe1998257b19746cf65c86813e43eb","user":{"login":"robbiezhang","id":9003737,"avatar_url":"https://avatars.githubusercontent.com/u/9003737?v=3","gravatar_id":"","url":"https://api.github.com/users/robbiezhang","html_url":"https://github.com/robbiezhang","followers_url":"https://api.github.com/users/robbiezhang/followers","following_url":"https://api.github.com/users/robbiezhang/following{/other_user}","gists_url":"https://api.github.com/users/robbiezhang/gists{/gist_id}","starred_url":"https://api.github.com/users/robbiezhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbiezhang/subscriptions","organizations_url":"https://api.github.com/users/robbiezhang/orgs","repos_url":"https://api.github.com/users/robbiezhang/repos","events_url":"https://api.github.com/users/robbiezhang/events{/privacy}","received_events_url":"https://api.github.com/users/robbiezhang/received_events","type":"User","site_admin":false},"body":"Also run this command if the GetDscConfiguration.py doesn't return anything.\r\nsudo su omsagent -c /opt/microsoft/omsconfig/Scripts/PerformRequiredConfigurationChecks.py\r\nIt will talk to the DSC service to get the configuration, and apply locally.\r\n","created_at":"2016-07-19T01:18:40Z","updated_at":"2016-07-19T01:18:40Z","html_url":"https://github.com/Microsoft/OMS-Agent-for-Linux/pull/132#discussion_r71259266","pull_request_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/pulls/132","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/pulls/comments/71259266"},"html":{"href":"https://github.com/Microsoft/OMS-Agent-for-Linux/pull/132#discussion_r71259266"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/pulls/132"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/pulls/132","id":77896851,"html_url":"https://github.com/Microsoft/OMS-Agent-for-Linux/pull/132","diff_url":"https://github.com/Microsoft/OMS-Agent-for-Linux/pull/132.diff","patch_url":"https://github.com/Microsoft/OMS-Agent-for-Linux/pull/132.patch","issue_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/issues/132","number":132,"state":"open","locked":false,"title":"Adding Troubleshooting steps for Custom Log","user":{"login":"agup006","id":3642874,"avatar_url":"https://avatars.githubusercontent.com/u/3642874?v=3","gravatar_id":"","url":"https://api.github.com/users/agup006","html_url":"https://github.com/agup006","followers_url":"https://api.github.com/users/agup006/followers","following_url":"https://api.github.com/users/agup006/following{/other_user}","gists_url":"https://api.github.com/users/agup006/gists{/gist_id}","starred_url":"https://api.github.com/users/agup006/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agup006/subscriptions","organizations_url":"https://api.github.com/users/agup006/orgs","repos_url":"https://api.github.com/users/agup006/repos","events_url":"https://api.github.com/users/agup006/events{/privacy}","received_events_url":"https://api.github.com/users/agup006/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-18T23:34:37Z","updated_at":"2016-07-19T01:18:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2cdf78ce60d4a2abb744e9704df2458bee0b12cb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/pulls/132/commits","review_comments_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/pulls/132/comments","review_comment_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/issues/132/comments","statuses_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/statuses/5cf7a585a8fe1998257b19746cf65c86813e43eb","head":{"label":"Microsoft:anugup-docs","ref":"anugup-docs","sha":"5cf7a585a8fe1998257b19746cf65c86813e43eb","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":43709699,"name":"OMS-Agent-for-Linux","full_name":"Microsoft/OMS-Agent-for-Linux","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/OMS-Agent-for-Linux","description":"","fork":false,"url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux","forks_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/forks","keys_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/teams","hooks_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/events","assignees_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/tags","blobs_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/languages","stargazers_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/subscription","commits_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/merges","archive_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/downloads","issues_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/deployments","created_at":"2015-10-05T19:50:18Z","updated_at":"2016-07-14T18:36:20Z","pushed_at":"2016-07-18T23:41:12Z","git_url":"git://github.com/Microsoft/OMS-Agent-for-Linux.git","ssh_url":"git@github.com:Microsoft/OMS-Agent-for-Linux.git","clone_url":"https://github.com/Microsoft/OMS-Agent-for-Linux.git","svn_url":"https://github.com/Microsoft/OMS-Agent-for-Linux","homepage":"http://www.microsoft.com/oms","size":8770,"stargazers_count":47,"watchers_count":47,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":8,"forks":16,"open_issues":8,"watchers":47,"default_branch":"master"}},"base":{"label":"Microsoft:master","ref":"master","sha":"46ca22559066e5b87189f1c8cef513287ba71096","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":43709699,"name":"OMS-Agent-for-Linux","full_name":"Microsoft/OMS-Agent-for-Linux","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/OMS-Agent-for-Linux","description":"","fork":false,"url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux","forks_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/forks","keys_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/teams","hooks_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/events","assignees_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/tags","blobs_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/languages","stargazers_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/subscription","commits_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/merges","archive_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/downloads","issues_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/deployments","created_at":"2015-10-05T19:50:18Z","updated_at":"2016-07-14T18:36:20Z","pushed_at":"2016-07-18T23:41:12Z","git_url":"git://github.com/Microsoft/OMS-Agent-for-Linux.git","ssh_url":"git@github.com:Microsoft/OMS-Agent-for-Linux.git","clone_url":"https://github.com/Microsoft/OMS-Agent-for-Linux.git","svn_url":"https://github.com/Microsoft/OMS-Agent-for-Linux","homepage":"http://www.microsoft.com/oms","size":8770,"stargazers_count":47,"watchers_count":47,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":8,"forks":16,"open_issues":8,"watchers":47,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/pulls/132"},"html":{"href":"https://github.com/Microsoft/OMS-Agent-for-Linux/pull/132"},"issue":{"href":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/issues/132"},"comments":{"href":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/issues/132/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/pulls/132/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/pulls/132/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/OMS-Agent-for-Linux/statuses/5cf7a585a8fe1998257b19746cf65c86813e43eb"}}}}
{"actor":{"display_login":"robbiezhang"}}