{"id":312,"date":"2017-11-27T12:19:06","date_gmt":"2017-11-27T14:19:06","guid":{"rendered":"http:\/\/docs.unitplatform.io\/?p=312"},"modified":"2019-04-10T13:52:12","modified_gmt":"2019-04-10T16:52:12","slug":"unit-platform-cloud-agent-advanced-options-windows","status":"publish","type":"post","link":"https:\/\/docs.unitplatform.io\/en\/unit-platform-cloud-agent-advanced-options-windows\/","title":{"rendered":"Unit Platform Cloud Agent advanced options (Windows)","raw":"Unit Platform Cloud Agent advanced options (Windows)"},"content":{"rendered":"<h2>How the agent works<\/h2>\n<p>The Cloud Agent is installed as a service on Windows, and can be started\/stopped\/restarted using the service list provided by the operating system (<code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">services.msc<\/code>).<\/p>\n<div id=\"attachment_323\" style=\"width: 656px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-323\" class=\"wp-image-323 size-full\" src=\"http:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/unit_agent_service.png\" alt=\"\" width=\"646\" height=\"505\" \/><p id=\"caption-attachment-323\" class=\"wp-caption-text\">Unit Platform Cloud Agent service<\/p><\/div>\n<p>The installation directory is at: <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">C:\\Program Files (x86)\\Netwall\\CloudAgent\\<\/code>. The file <code class=\"EnlighterJSRAW\">var\\CloudAgent.log<\/code> has all log messages generated by the agent. The <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">config\\<\/code> directory stores all configuration files.<\/p>\n<h2>Auto updates<\/h2>\n<p>Starting on version 6.0, o Unit Platform Cloud Agent comes with an additional service, responsible for updating the agent&#8217;s files. The updates are downloaded directly from Unit Platform.<\/p>\n<p>The update service can be managed using Windows&#8217;s service list (<code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">services.msc<\/code>):<\/p>\n<div id=\"attachment_1237\" style=\"width: 678px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1237\" class=\"size-full wp-image-1237\" src=\"http:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/update.png\" alt=\"\" width=\"668\" height=\"49\" srcset=\"https:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/update.png 668w, https:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/update-300x22.png 300w\" sizes=\"auto, (max-width: 668px) 100vw, 668px\" \/><p id=\"caption-attachment-1237\" class=\"wp-caption-text\">Unit Platform Cloud Agent Update Service<\/p><\/div>\n<p>The updates are enabled by default. If you don&#8217;t want the agent to update automatically, simply stop the service and disable it, so it will not start at boot. Click with the right mouse button on the update service, select properties, and on startup type select disabled:<\/p>\n<div id=\"attachment_1238\" style=\"width: 409px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1238\" class=\"size-full wp-image-1238\" src=\"http:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/update-disable.png\" alt=\"\" width=\"399\" height=\"461\" srcset=\"https:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/update-disable.png 399w, https:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/update-disable-260x300.png 260w\" sizes=\"auto, (max-width: 399px) 100vw, 399px\" \/><p id=\"caption-attachment-1238\" class=\"wp-caption-text\">Disabling the updates<\/p><\/div>\n<h2>Customizing the configuration<\/h2>\n<p>The main configuration file is specified at <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">config\\agent.conf<\/code>. In this file you can change the following items:<\/p>\n<ul>\n<li>Enable\/disable sending monitoring information.<\/li>\n<li>Enable\/disable sending inventory information.<\/li>\n<li>Change the interval on which the agent will send monitoring or inventory information to Unit Platform.<\/li>\n<li>Change the company key.<\/li>\n<li>Change the address the agent will send information to. Default: app.unitplatform.io. <em>Change this only if you are using Unit Platform on-premises.<\/em><\/li>\n<li>Configure the data collection timeout value.<\/li>\n<li>Enable\/disable showing more detailed debug messages in the log file.<\/li>\n<\/ul>\n<blockquote><p><strong>IMPORTANT:<\/strong> after making any changes in the <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">agent.conf<\/code> file, <strong>restart the agent service<\/strong> for the changes to take effect.<\/p><\/blockquote>\n<h3>Monitoring process and services<\/h3>\n<p>To monitor processes and services you should edit the <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">config\\process.conf<\/code> and <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">config\\services.conf<\/code> files.<\/p>\n<p>For processes, inform the process names in the file <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">process.conf<\/code>. The names must be listed one per line in the same way the Task Manager shows in the &#8220;Details&#8221; tab. See the example below:<\/p>\n<div id=\"attachment_294\" style=\"width: 685px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-294\" class=\"size-full wp-image-294\" src=\"http:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/process_conf.png\" alt=\"\" width=\"675\" height=\"343\" \/><p id=\"caption-attachment-294\" class=\"wp-caption-text\">Monitoring Windows processes<\/p><\/div>\n<p>To monitor Windows services, edit the <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">services.conf<\/code> file and inform the process names that should be monitored one per line. To discover the service name, open the service&#8217;s properties and look for the field &#8220;Service name&#8221;:<\/p>\n<div id=\"attachment_295\" style=\"width: 427px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-295\" class=\"size-full wp-image-295\" src=\"http:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/service_monitoring.png\" alt=\"\" width=\"417\" height=\"474\" \/><p id=\"caption-attachment-295\" class=\"wp-caption-text\">Service properties<\/p><\/div>\n<p>Configuration example:<\/p>\n<div id=\"attachment_298\" style=\"width: 687px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-298\" class=\"wp-image-298 size-full\" src=\"http:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/service_monitoring2-1.png\" alt=\"\" width=\"677\" height=\"345\" \/><p id=\"caption-attachment-298\" class=\"wp-caption-text\">Service monitoring configuration<\/p><\/div>\n<blockquote><p><strong>IMPORTANT:<\/strong> after making any changes in the <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">process.conf<\/code> or <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">services.conf<\/code> files, <strong>restart the agent service<\/strong> for the changes to take effect.<\/p><\/blockquote>\n<h2>Troubleshooting<\/h2>\n<p>These are the most common problems that may prevent the agent from sending information to the Unit Platform:<\/p>\n<h3>The device does not have internet access<\/h3>\n<p>The device being monitored must have access to the Unit Platform using HTTPS. By default the address the agent will send information to is https:\/\/app.unitplatform.io\/. Please check if there are any firewall rules denying access to the internet or the Unit Platform.<\/p>\n<h3>The agent&#8217;s service is not running<\/h3>\n<p>The agent&#8217;s service is configured to stop in case one of the following situations happen:<\/p>\n<ul>\n<li>The company key was not informed or is invalid.<\/li>\n<li>The monitoring\/inventory interval is invalid.<\/li>\n<\/ul>\n<p>If one of these errors occur, there will be messages detailing the errors in the log file (<code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">CloudAgent.log<\/code>). To correct these errors, edit the <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">agent.conf<\/code> file, and follow the instructions in the comments and restart the agent. As a last resort, uninstall the agent and reinstall it.<\/p>\n<h3>The device limit for your plan has been exceeded<\/h3>\n<p>In this case, revise your Unit Platform subscription and restart the agent.<\/p>\n","protected":false,"raw":"<h2>How the agent works<\/h2>\r\nThe Cloud Agent is installed as a service on Windows, and can be started\/stopped\/restarted using the service list provided by the operating system (<code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">services.msc<\/code>).\r\n\r\n[caption id=\"attachment_323\" align=\"alignnone\" width=\"646\"]<img class=\"wp-image-323 size-full\" src=\"http:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/unit_agent_service.png\" alt=\"\" width=\"646\" height=\"505\" \/> Unit Platform Cloud Agent service[\/caption]\r\n\r\nThe installation directory is at: <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">C:\\Program Files (x86)\\Netwall\\CloudAgent\\<\/code>. The file <code class=\"EnlighterJSRAW\">var\\CloudAgent.log<\/code> has all log messages generated by the agent. The <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">config\\<\/code> directory stores all configuration files.\r\n<h2>Auto updates<\/h2>\r\nStarting on version 6.0, o Unit Platform Cloud Agent comes with an additional service, responsible for updating the agent's files. The updates are downloaded directly from Unit Platform.\r\n\r\nThe update service can be managed using Windows's service list (<code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">services.msc<\/code>):\r\n\r\n[caption id=\"attachment_1237\" align=\"alignnone\" width=\"668\"]<img class=\"size-full wp-image-1237\" src=\"http:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/update.png\" alt=\"\" width=\"668\" height=\"49\" \/> Unit Platform Cloud Agent Update Service[\/caption]\r\n\r\nThe updates are enabled by default. If you don't want the agent to update automatically, simply stop the service and disable it, so it will not start at boot. Click with the right mouse button on the update service, select properties, and on startup type select disabled:\r\n\r\n[caption id=\"attachment_1238\" align=\"alignnone\" width=\"399\"]<img class=\"size-full wp-image-1238\" src=\"http:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/update-disable.png\" alt=\"\" width=\"399\" height=\"461\" \/> Disabling the updates[\/caption]\r\n<h2>Customizing the configuration<\/h2>\r\nThe main configuration file is specified at <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">config\\agent.conf<\/code>. In this file you can change the following items:\r\n<ul>\r\n \t<li>Enable\/disable sending monitoring information.<\/li>\r\n \t<li>Enable\/disable sending inventory information.<\/li>\r\n \t<li>Change the interval on which the agent will send monitoring or inventory information to Unit Platform.<\/li>\r\n \t<li>Change the company key.<\/li>\r\n \t<li>Change the address the agent will send information to. Default: app.unitplatform.io. <em>Change this only if you are using Unit Platform on-premises.<\/em><\/li>\r\n \t<li>Configure the data collection timeout value.<\/li>\r\n \t<li>Enable\/disable showing more detailed debug messages in the log file.<\/li>\r\n<\/ul>\r\n<blockquote><strong>IMPORTANT:<\/strong> after making any changes in the <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">agent.conf<\/code> file, <strong>restart the agent service<\/strong> for the changes to take effect.<\/blockquote>\r\n<h3>Monitoring process and services<\/h3>\r\nTo monitor processes and services you should edit the <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">config\\process.conf<\/code> and <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">config\\services.conf<\/code> files.\r\n\r\nFor processes, inform the process names in the file <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">process.conf<\/code>. The names must be listed one per line in the same way the Task Manager shows in the \"Details\" tab. See the example below:\r\n\r\n[caption id=\"attachment_294\" align=\"alignnone\" width=\"675\"]<img class=\"size-full wp-image-294\" src=\"http:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/process_conf.png\" alt=\"\" width=\"675\" height=\"343\" \/> Monitoring Windows processes[\/caption]\r\n\r\nTo monitor Windows services, edit the <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">services.conf<\/code> file and inform the process names that should be monitored one per line. To discover the service name, open the service's properties and look for the field \"Service name\":\r\n\r\n[caption id=\"attachment_295\" align=\"alignnone\" width=\"417\"]<img class=\"size-full wp-image-295\" src=\"http:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/service_monitoring.png\" alt=\"\" width=\"417\" height=\"474\" \/> Service properties[\/caption]\r\n\r\nConfiguration example:\r\n\r\n[caption id=\"attachment_298\" align=\"alignnone\" width=\"677\"]<img class=\"wp-image-298 size-full\" src=\"http:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/service_monitoring2-1.png\" alt=\"\" width=\"677\" height=\"345\" \/> Service monitoring configuration[\/caption]\r\n<blockquote><strong>IMPORTANT:<\/strong> after making any changes in the <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">process.conf<\/code> or <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">services.conf<\/code> files, <strong>restart the agent service<\/strong> for the changes to take effect.<\/blockquote>\r\n<h2>Troubleshooting<\/h2>\r\nThese are the most common problems that may prevent the agent from sending information to the Unit Platform:\r\n<h3>The device does not have internet access<\/h3>\r\nThe device being monitored must have access to the Unit Platform using HTTPS. By default the address the agent will send information to is https:\/\/app.unitplatform.io\/. Please check if there are any firewall rules denying access to the internet or the Unit Platform.\r\n<h3>The agent's service is not running<\/h3>\r\nThe agent's service is configured to stop in case one of the following situations happen:\r\n<ul>\r\n \t<li>The company key was not informed or is invalid.<\/li>\r\n \t<li>The monitoring\/inventory interval is invalid.<\/li>\r\n<\/ul>\r\nIf one of these errors occur, there will be messages detailing the errors in the log file (<code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">CloudAgent.log<\/code>). To correct these errors, edit the <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">agent.conf<\/code> file, and follow the instructions in the comments and restart the agent. As a last resort, uninstall the agent and reinstall it.\r\n<h3>The device limit for your plan has been exceeded<\/h3>\r\nIn this case, revise your Unit Platform subscription and restart the agent."},"excerpt":{"rendered":"<p>Advanced configurations and troubleshooting.<\/p>\n","protected":false,"raw":"Advanced configurations and troubleshooting."},"author":3,"featured_media":987,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_pt_post_content":"<h2>Funcionamento do agente<\/h2>\r\nO Cloud Agent \u00e9 instalado como um servi\u00e7o no Windows, e pode ser iniciado\/parado\/reiniciado atrav\u00e9s da tabela de servi\u00e7os (<code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">services.msc<\/code>).\r\n\r\n[caption id=\"attachment_323\" align=\"alignnone\" width=\"646\"]<img class=\"wp-image-323 size-full\" src=\"http:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/unit_agent_service.png\" alt=\"\" width=\"646\" height=\"505\" \/> Servi\u00e7o do Unit Platform Cloud Agent[\/caption]\r\n\r\nO local de instala\u00e7\u00e3o fica em: <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">C:\\Program Files (x86)\\Netwall\\CloudAgent\\<\/code>. No arquivo\u00a0<code class=\"EnlighterJSRAW\">var\\CloudAgent.log<\/code> estar\u00e3o os logs de erro do agente. Em\u00a0<code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">config\\<\/code> ficam os arquivos de configura\u00e7\u00e3o.\r\n<h2>Atualiza\u00e7\u00e3o autom\u00e1tica<\/h2>\r\nA partir da vers\u00e3o 6.0, o Unit Platform Cloud Agent possui um servi\u00e7o adicional que \u00e9 respons\u00e1vel por atualizar os arquivos do agente. Os updates s\u00e3o baixados direto da Unit Platform.\r\n\r\nO servi\u00e7o de atualiza\u00e7\u00e3o pode ser gerenciado usando a tabela de servi\u00e7os do Windows (<code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">services.msc<\/code>):\r\n\r\n[caption id=\"attachment_1237\" align=\"alignnone\" width=\"668\"]<img class=\"size-full wp-image-1237\" src=\"http:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/update.png\" alt=\"\" width=\"668\" height=\"49\" \/> Unit Platform Cloud Agent Update Service[\/caption]\r\n\r\nAs atualiza\u00e7\u00f5es s\u00e3o habilitadas por padr\u00e3o. Caso voc\u00ea deseje que o agente n\u00e3o atualize automaticamente, simplesmente pare o servi\u00e7o de atualiza\u00e7\u00e3o e desabilite o servi\u00e7o para que ele n\u00e3o inicie durante o boot (clique com o bot\u00e3o direito no nome do servi\u00e7o, escolha propriedades e em altere o tipo de inicializa\u00e7\u00e3o para desativado):\r\n\r\n[caption id=\"attachment_1238\" align=\"alignnone\" width=\"399\"]<img class=\"size-full wp-image-1238\" src=\"http:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/update-disable.png\" alt=\"\" width=\"399\" height=\"461\" \/> Desabilitando as atualiza\u00e7\u00f5es[\/caption]\r\n<h2>Personaliza\u00e7\u00e3o da configura\u00e7\u00e3o<\/h2>\r\nA configura\u00e7\u00e3o geral do agente \u00e9 especificada no arquivo <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">config\\agent.conf<\/code>. Nesse arquivo \u00e9 permitido alterar os seguintes itens:\r\n<ul>\r\n \t<li>Habilitar\/desabilitar o envio de informa\u00e7\u00f5es de monitoramento.<\/li>\r\n \t<li>Habilitar\/desabilitar o envio de informa\u00e7\u00f5es de invent\u00e1rio.<\/li>\r\n \t<li>Alterar o intervalo de envio de informa\u00e7\u00f5es de monitoramento e invent\u00e1rio para a Unit Platform.<\/li>\r\n \t<li>Alterar a chave da empresa.<\/li>\r\n \t<li>Alterar o endere\u00e7o para o qual as informa\u00e7\u00f5es de monitoramento devem ser enviadas. Por padr\u00e3o: app.unitplatform.io. <em>Apenas altere este campo se voc\u00ea estiver usando a Unit Platform on-premises.<\/em><\/li>\r\n \t<li>Configurar o tempo de timeout para a execu\u00e7\u00e3o dos comandos de coleta de dados.<\/li>\r\n \t<li>Habilitar\/desabilitar a exibi\u00e7\u00e3o de mensagens de debug no arquivo de log do agente.<\/li>\r\n<\/ul>\r\n<blockquote><strong>IMPORTANTE:<\/strong> ap\u00f3s fazer altera\u00e7\u00f5es nos arquivo <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">agent.conf<\/code>, <strong>reinicie o servi\u00e7o do agente<\/strong> para que as altera\u00e7\u00f5es entrem em efeito.<\/blockquote>\r\n<h3>Monitoramento de processos e servi\u00e7os<\/h3>\r\nO monitoramento de processos e servi\u00e7os deve ser configurado manualmente nos arquivos <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">config\\process.conf<\/code> e <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">config\\services.conf<\/code>.\r\n\r\nPara monitoramento de processos, informe no arquivo\u00a0<code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">process.conf<\/code> os nomes dos processos que devem ser monitorados. Os nomes devem ser preenchidos um por linha e da mesma forma que aparecem na aba \"Detalhes\" do Gerenciador de Tarefas do Windows. Veja o exemplo abaixo:\r\n\r\n[caption id=\"attachment_294\" align=\"alignnone\" width=\"675\"]<img class=\"size-full wp-image-294\" src=\"http:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/process_conf.png\" alt=\"\" width=\"675\" height=\"343\" \/> Configura\u00e7\u00e3o do monitoramento de processos[\/caption]\r\n\r\nPara monitorar servi\u00e7os do Windows, informe no arquivo\u00a0<code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">services.conf<\/code> os nomes dos servi\u00e7os que devem ser monitorados um por linha. Atente para o fato que o nome do servi\u00e7o que deve ser informado no arquivo \u00e9 o que aparece em \"Service name\" nas propriedades do servi\u00e7o:\r\n\r\n[caption id=\"attachment_295\" align=\"alignnone\" width=\"417\"]<img class=\"size-full wp-image-295\" src=\"http:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/service_monitoring.png\" alt=\"\" width=\"417\" height=\"474\" \/> Propriedades de um servi\u00e7o do Windows[\/caption]\r\n\r\nExemplo de configura\u00e7\u00e3o de monitoramento de servi\u00e7os:\r\n\r\n[caption id=\"attachment_298\" align=\"alignnone\" width=\"677\"]<img class=\"wp-image-298 size-full\" src=\"http:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/service_monitoring2-1.png\" alt=\"\" width=\"677\" height=\"345\" \/> Configura\u00e7\u00e3o do monitoramento de servi\u00e7os[\/caption]\r\n<blockquote><strong>IMPORTANTE:<\/strong> ap\u00f3s fazer as altera\u00e7\u00f5es nos arquivos <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">process.conf<\/code> e <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">services.conf<\/code>, <strong>reinicie o servi\u00e7o do agente<\/strong> para que as altera\u00e7\u00f5es entrem em efeito.<\/blockquote>\r\n<h2>Resolu\u00e7\u00e3o de problemas<\/h2>\r\nAbaixo est\u00e3o listados os problemas mais comuns que podem impedir o envio de informa\u00e7\u00f5es do dispositivo para a Unit Platform:\r\n<h3>O dispositivo n\u00e3o possui acesso \u00e0 internet<\/h3>\r\n\u00c9 necess\u00e1rio que o dispositivo tenha permiss\u00f5es para trafegar dados via HTTPS para o endere\u00e7o https:\/\/app.unitplatform.io\/.\u00a0 Revise as regras de firewall que possivelmente estejam impedindo o dispositivo de acessar a internet.\r\n<h3>O servi\u00e7o do agente n\u00e3o est\u00e1 rodando<\/h3>\r\nO servi\u00e7o do agente est\u00e1 configurado para parar automaticamente caso os seguintes erros de configura\u00e7\u00e3o ocorram:\r\n<ul>\r\n \t<li>A chave da empresa n\u00e3o foi informada ou \u00e9 inv\u00e1lida.<\/li>\r\n \t<li>Foi informado um intervalo de monitoramento\/invent\u00e1rio inv\u00e1lido.<\/li>\r\n<\/ul>\r\nSe algum desses erros estiver ocorrendo, haver\u00e3o mensagens de log em <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">CloudAgent.log<\/code>. Para corrigir esses erros, edite o arquivo <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">agent.conf<\/code>, siga as instru\u00e7\u00f5es nos coment\u00e1rios do arquivo e reinicie o agente. Em \u00faltimo caso, desinstale o agente e instale novamente.\r\n<h3>O limite de dispositivos contratados no plano foi excedido<\/h3>\r\nNeste caso, revise a sua configura\u00e7\u00e3o de assinatura da Unit Platform e reinicie o agente.","_pt_post_name":"configuracao-avancada-do-unit-platform-cloud-agent-windows","_pt_post_excerpt":"Personaliza\u00e7\u00e3o da instala\u00e7\u00e3o e resolu\u00e7\u00e3o de problemas.","_pt_post_title":"Configura\u00e7\u00e3o avan\u00e7ada do Unit Platform Cloud Agent (Windows)","_en_post_content":"<h2>How the agent works<\/h2>\r\nThe Cloud Agent is installed as a service on Windows, and can be started\/stopped\/restarted using the service list provided by the operating system (<code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">services.msc<\/code>).\r\n\r\n[caption id=\"attachment_323\" align=\"alignnone\" width=\"646\"]<img class=\"wp-image-323 size-full\" src=\"http:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/unit_agent_service.png\" alt=\"\" width=\"646\" height=\"505\" \/> Unit Platform Cloud Agent service[\/caption]\r\n\r\nThe installation directory is at: <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">C:\\Program Files (x86)\\Netwall\\CloudAgent\\<\/code>. The file <code class=\"EnlighterJSRAW\">var\\CloudAgent.log<\/code> has all log messages generated by the agent. The <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">config\\<\/code> directory stores all configuration files.\r\n<h2>Auto updates<\/h2>\r\nStarting on version 6.0, o Unit Platform Cloud Agent comes with an additional service, responsible for updating the agent's files. The updates are downloaded directly from Unit Platform.\r\n\r\nThe update service can be managed using Windows's service list (<code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">services.msc<\/code>):\r\n\r\n[caption id=\"attachment_1237\" align=\"alignnone\" width=\"668\"]<img class=\"size-full wp-image-1237\" src=\"http:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/update.png\" alt=\"\" width=\"668\" height=\"49\" \/> Unit Platform Cloud Agent Update Service[\/caption]\r\n\r\nThe updates are enabled by default. If you don't want the agent to update automatically, simply stop the service and disable it, so it will not start at boot. Click with the right mouse button on the update service, select properties, and on startup type select disabled:\r\n\r\n[caption id=\"attachment_1238\" align=\"alignnone\" width=\"399\"]<img class=\"size-full wp-image-1238\" src=\"http:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/update-disable.png\" alt=\"\" width=\"399\" height=\"461\" \/> Disabling the updates[\/caption]\r\n<h2>Customizing the configuration<\/h2>\r\nThe main configuration file is specified at <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">config\\agent.conf<\/code>. In this file you can change the following items:\r\n<ul>\r\n \t<li>Enable\/disable sending monitoring information.<\/li>\r\n \t<li>Enable\/disable sending inventory information.<\/li>\r\n \t<li>Change the interval on which the agent will send monitoring or inventory information to Unit Platform.<\/li>\r\n \t<li>Change the company key.<\/li>\r\n \t<li>Change the address the agent will send information to. Default: app.unitplatform.io. <em>Change this only if you are using Unit Platform on-premises.<\/em><\/li>\r\n \t<li>Configure the data collection timeout value.<\/li>\r\n \t<li>Enable\/disable showing more detailed debug messages in the log file.<\/li>\r\n<\/ul>\r\n<blockquote><strong>IMPORTANT:<\/strong> after making any changes in the <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">agent.conf<\/code> file, <strong>restart the agent service<\/strong> for the changes to take effect.<\/blockquote>\r\n<h3>Monitoring process and services<\/h3>\r\nTo monitor processes and services you should edit the <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">config\\process.conf<\/code> and <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">config\\services.conf<\/code> files.\r\n\r\nFor processes, inform the process names in the file <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">process.conf<\/code>. The names must be listed one per line in the same way the Task Manager shows in the \"Details\" tab. See the example below:\r\n\r\n[caption id=\"attachment_294\" align=\"alignnone\" width=\"675\"]<img class=\"size-full wp-image-294\" src=\"http:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/process_conf.png\" alt=\"\" width=\"675\" height=\"343\" \/> Monitoring Windows processes[\/caption]\r\n\r\nTo monitor Windows services, edit the <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">services.conf<\/code> file and inform the process names that should be monitored one per line. To discover the service name, open the service's properties and look for the field \"Service name\":\r\n\r\n[caption id=\"attachment_295\" align=\"alignnone\" width=\"417\"]<img class=\"size-full wp-image-295\" src=\"http:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/service_monitoring.png\" alt=\"\" width=\"417\" height=\"474\" \/> Service properties[\/caption]\r\n\r\nConfiguration example:\r\n\r\n[caption id=\"attachment_298\" align=\"alignnone\" width=\"677\"]<img class=\"wp-image-298 size-full\" src=\"http:\/\/docs.unitplatform.io\/wp-content\/uploads\/2017\/11\/service_monitoring2-1.png\" alt=\"\" width=\"677\" height=\"345\" \/> Service monitoring configuration[\/caption]\r\n<blockquote><strong>IMPORTANT:<\/strong> after making any changes in the <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">process.conf<\/code> or <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">services.conf<\/code> files, <strong>restart the agent service<\/strong> for the changes to take effect.<\/blockquote>\r\n<h2>Troubleshooting<\/h2>\r\nThese are the most common problems that may prevent the agent from sending information to the Unit Platform:\r\n<h3>The device does not have internet access<\/h3>\r\nThe device being monitored must have access to the Unit Platform using HTTPS. By default the address the agent will send information to is https:\/\/app.unitplatform.io\/. Please check if there are any firewall rules denying access to the internet or the Unit Platform.\r\n<h3>The agent's service is not running<\/h3>\r\nThe agent's service is configured to stop in case one of the following situations happen:\r\n<ul>\r\n \t<li>The company key was not informed or is invalid.<\/li>\r\n \t<li>The monitoring\/inventory interval is invalid.<\/li>\r\n<\/ul>\r\nIf one of these errors occur, there will be messages detailing the errors in the log file (<code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">CloudAgent.log<\/code>). To correct these errors, edit the <code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">agent.conf<\/code> file, and follow the instructions in the comments and restart the agent. As a last resort, uninstall the agent and reinstall it.\r\n<h3>The device limit for your plan has been exceeded<\/h3>\r\nIn this case, revise your Unit Platform subscription and restart the agent.","_en_post_name":"unit-platform-cloud-agent-advanced-options-windows","_en_post_excerpt":"Advanced configurations and troubleshooting.","_en_post_title":"Unit Platform Cloud Agent advanced options (Windows)","edit_language":"en","footnotes":""},"categories":[11,10,4,9],"tags":[],"class_list":["post-312","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-asset-management","category-multisite-monitoring","category-tutorials","category-unit-platform-cloud"],"_links":{"self":[{"href":"https:\/\/docs.unitplatform.io\/en\/wp-json\/wp\/v2\/posts\/312","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.unitplatform.io\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.unitplatform.io\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.unitplatform.io\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.unitplatform.io\/en\/wp-json\/wp\/v2\/comments?post=312"}],"version-history":[{"count":8,"href":"https:\/\/docs.unitplatform.io\/en\/wp-json\/wp\/v2\/posts\/312\/revisions"}],"predecessor-version":[{"id":341,"href":"https:\/\/docs.unitplatform.io\/en\/wp-json\/wp\/v2\/posts\/312\/revisions\/341"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.unitplatform.io\/en\/wp-json\/wp\/v2\/media\/987"}],"wp:attachment":[{"href":"https:\/\/docs.unitplatform.io\/en\/wp-json\/wp\/v2\/media?parent=312"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.unitplatform.io\/en\/wp-json\/wp\/v2\/categories?post=312"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.unitplatform.io\/en\/wp-json\/wp\/v2\/tags?post=312"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}