{"id":38505,"date":"2026-11-27T22:05:35","date_gmt":"2026-11-27T22:05:35","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=38505"},"modified":"2026-11-27T22:05:35","modified_gmt":"2026-11-27T22:05:35","slug":"zabbix-tutorials-example-of-zabbix_agentd-win-conf","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/zabbix-tutorials-example-of-zabbix_agentd-win-conf\/","title":{"rendered":"Zabbix Tutorials: Example of zabbix_agentd.win.conf"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><code>zabbix_agentd.win.conf<\/code> is the sample configuration file that comes with the classic Zabbix agent for Windows. The file above is the stock sample from a recent release, but its <code>Server<\/code>, <code>ServerActive<\/code>, <code>Hostname<\/code> and <code>LogFile<\/code> values are placeholders. This page explains the settings that matter, gives a minimal production-ready configuration, and shows how to install, test, secure and troubleshoot the agent on Windows.<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/devops-school\/0706d12e0421e26350751a1d178db524.js\"><\/script>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">What this file is and where it lives<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The Zabbix source tree ships the Windows agent sample as <code>conf\/zabbix_agentd.win.conf<\/code>. The MSI installer writes its own copy, normally named <code>zabbix_agentd.conf<\/code>, to <code>C:\\Program Files\\Zabbix Agent\\<\/code>, and the Windows service points at that file. The file name makes no difference to the agent. What matters is the path passed to the agent with <code>-c<\/code> (or <code>--config<\/code>) when the service is registered.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The format is one <code>Parameter=value<\/code> per line. Lines that start with <code>#<\/code> are comments, so every parameter the example above leaves commented out uses its built-in default. Only four lines are active in the sample: <code>LogFile<\/code>, <code>Server<\/code>, <code>ServerActive<\/code> and <code>Hostname<\/code>. That short list is the minimum needed for passive and active checks.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> This file is for the classic agent (<code>zabbix_agentd.exe<\/code>). Zabbix agent 2 (<code>zabbix_agent2.exe<\/code>) uses <code>zabbix_agent2.conf<\/code>. Many parameter names are the same, but plugin settings and a few options are different, so do not copy files between the two agents without checking each line.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The parameters you actually need to change<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Parameter<\/th><th>Value in the example<\/th><th>What to set and why<\/th><\/tr><\/thead><tbody><tr><td><code>Server<\/code><\/td><td><code>127.0.0.1<\/code><\/td><td>IP addresses, CIDR ranges or DNS names of the Zabbix server or proxy that runs <strong>passive<\/strong> checks. The agent refuses connections from any address not on this list. <code>127.0.0.1<\/code> works only if the server runs on the same Windows machine.<\/td><\/tr><tr><td><code>ServerActive<\/code><\/td><td><code>127.0.0.1<\/code><\/td><td>The server or proxy address (optionally with <code>:port<\/code>, default 10051) that the agent connects to for <strong>active<\/strong> checks. If you leave it unset, active checks are disabled.<\/td><\/tr><tr><td><code>Hostname<\/code><\/td><td><code>Windows host<\/code><\/td><td>Must match the host name configured in the Zabbix frontend exactly, and it is case-sensitive. Active checks fail if the two differ. If you comment it out, the value of <code>HostnameItem<\/code> is used (default <code>system.hostname<\/code>).<\/td><\/tr><tr><td><code>LogFile<\/code><\/td><td><code>c:\\zabbix_agentd.log<\/code><\/td><td>Put the log next to the agent, for example <code>C:\\Program Files\\Zabbix Agent\\zabbix_agentd.log<\/code>, rather than in the root of the system drive.<\/td><\/tr><tr><td><code>LogFileSize<\/code><\/td><td>default <code>1<\/code><\/td><td>Size in MB at which the log rotates. A value of <code>10<\/code> or more keeps enough history for troubleshooting.<\/td><\/tr><tr><td><code>Timeout<\/code><\/td><td>default <code>3<\/code><\/td><td>The maximum time in seconds the agent spends processing a check. Raise it if slow WMI queries, perf counters or PowerShell UserParameters time out.<\/td><\/tr><tr><td><code>Include<\/code><\/td><td>commented out<\/td><td>Loads extra <code>.conf<\/code> files so you can keep custom UserParameters separate from the main file.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">A minimal working configuration<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Replace the placeholder addresses and host name with your own. <code>192.0.2.10<\/code> stands for the Zabbix server or proxy, and <code>WIN-APP01<\/code> must match the host name in the frontend.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-comment\"># C:\\Program Files\\Zabbix Agent\\zabbix_agentd.conf<\/span>\nLogType=file\nLogFile=C:\\Program Files\\Zabbix Agent\\zabbix_agentd.log\nLogFileSize=<span class=\"hljs-number\">10<\/span>\nDebugLevel=<span class=\"hljs-number\">3<\/span>\n\n<span class=\"hljs-comment\"># Passive checks: who may poll this agent<\/span>\nServer=<span class=\"hljs-number\">192.0<\/span><span class=\"hljs-number\">.2<\/span><span class=\"hljs-number\">.10<\/span>\nListenPort=<span class=\"hljs-number\">10050<\/span>\n\n<span class=\"hljs-comment\"># Active checks: where to fetch the item list and send data<\/span>\nServerActive=<span class=\"hljs-number\">192.0<\/span><span class=\"hljs-number\">.2<\/span><span class=\"hljs-number\">.10<\/span>\nHostname=WIN-APP01\n\n<span class=\"hljs-comment\"># Optional: auto-registration metadata<\/span>\nHostMetadata=windows\n\nTimeout=<span class=\"hljs-number\">10<\/span>\n\n<span class=\"hljs-comment\"># Keep custom checks in separate files<\/span>\n<span class=\"hljs-keyword\">Include<\/span>=C:\\Program Files\\Zabbix Agent\\zabbix_agentd.d\\*.conf<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\"><code>HostMetadata=windows<\/code> is useful when the server has an auto-registration action that matches on host metadata. With that in place, new Windows hosts can be created and linked to a Windows template automatically. If you use <code>Include<\/code> with a wildcard, the directory must exist. Create it before you restart the service.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install, start and test the Windows service<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you installed the agent from the ZIP archive instead of the MSI, register the service yourself. Run the commands in an elevated PowerShell prompt.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\">cd <span class=\"hljs-string\">\"C:\\Program Files\\Zabbix Agent\"<\/span>\n\n<span class=\"hljs-comment\"># Register the service with an explicit config path<\/span>\n.\\zabbix_agentd.exe --config <span class=\"hljs-string\">\"C:\\Program Files\\Zabbix Agent\\zabbix_agentd.conf\"<\/span> --install\n\n<span class=\"hljs-comment\"># Start \/ stop \/ remove<\/span>\n.\\zabbix_agentd.exe --config <span class=\"hljs-string\">\"C:\\Program Files\\Zabbix Agent\\zabbix_agentd.conf\"<\/span> --start\n.\\zabbix_agentd.exe --config <span class=\"hljs-string\">\"C:\\Program Files\\Zabbix Agent\\zabbix_agentd.conf\"<\/span> --stop\n.\\zabbix_agentd.exe --config <span class=\"hljs-string\">\"C:\\Program Files\\Zabbix Agent\\zabbix_agentd.conf\"<\/span> --uninstall\n\n<span class=\"hljs-comment\"># After any config change<\/span>\nRestart-Service <span class=\"hljs-string\">\"Zabbix Agent\"<\/span>\n\n<span class=\"hljs-comment\"># Allow passive checks through Windows Firewall<\/span>\n<span class=\"hljs-keyword\">New<\/span>-NetFirewallRule -DisplayName <span class=\"hljs-string\">\"Zabbix Agent\"<\/span> -Direction Inbound -Protocol TCP -LocalPort <span class=\"hljs-number\">10050<\/span> -Action Allow<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">Test locally first. The <code>-t<\/code> option parses the config file and runs a single item. A syntax error in the file shows up here immediately.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"CSS\" data-shcb-language-slug=\"css\"><span><code class=\"hljs language-css\">.\\<span class=\"hljs-selector-tag\">zabbix_agentd<\/span><span class=\"hljs-selector-class\">.exe<\/span> <span class=\"hljs-selector-tag\">-c<\/span> \"<span class=\"hljs-selector-tag\">C<\/span>:\\<span class=\"hljs-selector-tag\">Program<\/span> <span class=\"hljs-selector-tag\">Files<\/span>\\<span class=\"hljs-selector-tag\">Zabbix<\/span> <span class=\"hljs-selector-tag\">Agent<\/span>\\<span class=\"hljs-selector-tag\">zabbix_agentd<\/span><span class=\"hljs-selector-class\">.conf<\/span>\" <span class=\"hljs-selector-tag\">-t<\/span> <span class=\"hljs-selector-tag\">agent<\/span><span class=\"hljs-selector-class\">.ping<\/span>\n# <span class=\"hljs-selector-tag\">agent<\/span><span class=\"hljs-selector-class\">.ping<\/span>                                    <span class=\"hljs-selector-attr\">&#91;u|1]<\/span>\n\n.\\<span class=\"hljs-selector-tag\">zabbix_agentd<\/span><span class=\"hljs-selector-class\">.exe<\/span> <span class=\"hljs-selector-tag\">-c<\/span> \"<span class=\"hljs-selector-tag\">C<\/span>:\\<span class=\"hljs-selector-tag\">Program<\/span> <span class=\"hljs-selector-tag\">Files<\/span>\\<span class=\"hljs-selector-tag\">Zabbix<\/span> <span class=\"hljs-selector-tag\">Agent<\/span>\\<span class=\"hljs-selector-tag\">zabbix_agentd<\/span><span class=\"hljs-selector-class\">.conf<\/span>\" <span class=\"hljs-selector-tag\">-t<\/span> \"<span class=\"hljs-selector-tag\">perf_counter<\/span><span class=\"hljs-selector-attr\">&#91;\\Processor(_Total)\\% Processor Time]<\/span>\"<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">CSS<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">css<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">Next, test from the Zabbix server or proxy with <code>zabbix_get<\/code>. A result of <code>1<\/code> means the network path, the firewall and the <code>Server<\/code> list are all correct.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-4\" data-shcb-language-name=\"CSS\" data-shcb-language-slug=\"css\"><span><code class=\"hljs language-css\"><span class=\"hljs-selector-tag\">zabbix_get<\/span> <span class=\"hljs-selector-tag\">-s<\/span> 192<span class=\"hljs-selector-class\">.0<\/span><span class=\"hljs-selector-class\">.2<\/span><span class=\"hljs-selector-class\">.50<\/span> <span class=\"hljs-selector-tag\">-p<\/span> 10050 <span class=\"hljs-selector-tag\">-k<\/span> <span class=\"hljs-selector-tag\">agent<\/span><span class=\"hljs-selector-class\">.ping<\/span>\n1<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-4\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">CSS<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">css<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h2 class=\"wp-block-heading\">Custom checks: UserParameter, PerfCounter and Alias<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Put custom keys in a file under the <code>Include<\/code> directory, for example <code>zabbix_agentd.d\\custom.conf<\/code>, and then restart the service. On Windows the agent runs UserParameter commands through <code>cmd.exe<\/code>, so call PowerShell explicitly.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-5\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-comment\"># Average CPU interrupts\/sec over the last 60 seconds<\/span>\nPerfCounter=interrupts,<span class=\"hljs-string\">\"\\Processor(_Total)\\Interrupts\/sec\"<\/span>,<span class=\"hljs-number\">60<\/span>\n\n<span class=\"hljs-comment\"># Short name for a long key<\/span>\nAlias=pg_usage:perf_counter&#91;\\Paging File(_Total)\\% Usage]\n\n<span class=\"hljs-comment\"># Value returned by a PowerShell script (script must print a single value)<\/span>\nUserParameter=app.queue.length,powershell -NoProfile -ExecutionPolicy Bypass -File <span class=\"hljs-string\">\"C:\\Program Files\\Zabbix Agent\\scripts\\queue_length.ps1\"<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-5\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">Run <code>typeperf -qx<\/code> to list the performance counter paths available on the host. Counter names are localised on non-English editions of Windows. Where that is a problem, the agent&#039;s <code>perf_counter_en<\/code> key accepts the English names.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> With the default <code>UnsafeUserParameters=0<\/code>, flexible UserParameter arguments (<code>[*]<\/code>) must not contain characters such as <code>\\<\/code>, <code>*<\/code>, <code>$<\/code> or quotes, and Windows paths contain <code>\\<\/code>. Do not switch the setting to 1 just to get around this. Hard-code paths in the script instead, because unsafe parameters can open a command-injection path.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Securing the agent<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Keep <code>Server<\/code> as narrow as possible: list exact server and proxy IPs, and never use <code>0.0.0.0\/0<\/code> in production.<\/li>\n\n\n<li>Leave remote commands disabled. <code>DenyKey=system.run[*]<\/code> is applied by default. If you need a specific command, allow only that exact key and put it before the deny rule, because the first matching rule wins.<\/li>\n\n\n<li>Prefer <code>AllowKey<\/code>\/<code>DenyKey<\/code> over the deprecated <code>EnableRemoteCommands<\/code>.<\/li>\n\n\n<li>Encrypt agent traffic with a pre-shared key (PSK) or certificates. Without TLS, item values cross the network in plain text.<\/li>\n\n\n<li>Restrict NTFS permissions on the config and PSK files to Administrators and SYSTEM.<\/li>\n<\/ul>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-6\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-comment\"># Allow one specific command, deny everything else<\/span>\nAllowKey=system.run&#91;C:\\Program Files\\Zabbix Agent\\scripts\\restart_app.bat]\nDenyKey=system.run&#91;*]\n\n<span class=\"hljs-comment\"># PSK encryption for both directions<\/span>\nTLSConnect=psk\nTLSAccept=psk\nTLSPSKIdentity=PSK-WIN-APP01\nTLSPSKFile=C:\\Program Files\\Zabbix Agent\\agent.psk<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-6\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">Generate a random 32-byte hex key in PowerShell. Then enter the same identity and key on the host&#039;s <strong>Encryption<\/strong> tab in the frontend.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-7\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\">$b = <span class=\"hljs-keyword\">New<\/span>-Object byte&#91;] <span class=\"hljs-number\">32<\/span>\n&#91;System.Security.Cryptography.RandomNumberGenerator]::Create().GetBytes($b)\n($b | <span class=\"hljs-keyword\">ForEach<\/span>-Object { $_.ToString(<span class=\"hljs-string\">'x2'<\/span>) }) -join <span class=\"hljs-string\">''<\/span> |\n  Set-Content -Encoding ascii <span class=\"hljs-string\">\"C:\\Program Files\\Zabbix Agent\\agent.psk\"<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-7\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">Once PSK is enforced, a plain <code>zabbix_get<\/code> call is rejected. Add the TLS options to test:<\/p>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">zabbix_get -s 192.0.2.50 -k agent.ping --tls-connect psk \\\n  --tls-psk-identity PSK-WIN-APP01 --tls-psk-file \/etc\/zabbix\/win-app01.psk<\/code><\/span><\/pre>\n\n\n<h2 class=\"wp-block-heading\">Common errors and fixes<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Symptom<\/th><th>Likely cause<\/th><th>Fix<\/th><\/tr><\/thead><tbody><tr><td>Agent log: <code>failed to accept an incoming connection: connection from &quot;x.x.x.x&quot; rejected, allowed hosts: &quot;127.0.0.1&quot;<\/code><\/td><td>The server&#039;s IP is not in <code>Server<\/code><\/td><td>Add the server or proxy IP to <code>Server<\/code> and restart the service<\/td><\/tr><tr><td><code>zabbix_get<\/code> times out or reports cannot connect<\/td><td>Windows Firewall, service stopped, or <code>ListenIP<\/code> bound to the wrong interface<\/td><td>Open TCP 10050, check <code>Get-Service &quot;Zabbix Agent&quot;<\/code>, and review <code>ListenIP<\/code><\/td><\/tr><tr><td>Agent log says the host was not found for active checks<\/td><td><code>Hostname<\/code> differs from the frontend host name, including letter case<\/td><td>Make the two names identical<\/td><\/tr><tr><td>Service starts and stops immediately<\/td><td>Invalid parameter, a missing <code>Include<\/code> directory, or an unreadable PSK file<\/td><td>Run <code>zabbix_agentd.exe -c &lt;file&gt; -t agent.ping<\/code> to see the parsing error<\/td><\/tr><tr><td>Item becomes unsupported with a timeout<\/td><td>A slow script or WMI query exceeds <code>Timeout<\/code><\/td><td>Raise <code>Timeout<\/code> or optimise the script<\/td><\/tr><tr><td>New UserParameter key shows as unsupported<\/td><td>Service not restarted, or the file is not matched by <code>Include<\/code><\/td><td>Restart the service and check the <code>Include<\/code> path and the <code>.conf<\/code> extension<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">While troubleshooting, set <code>DebugLevel=4<\/code> temporarily and restart the service. Set it back to <code>3<\/code> afterwards, because level 4 fills the log quickly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently asked questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Where is the Zabbix agent configuration file on Windows?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">With the MSI installer it is usually <code>C:\\Program Files\\Zabbix Agent\\zabbix_agentd.conf<\/code>. The file actually in use is whichever path was passed with <code>--config<\/code> when the service was installed. You can see it in the service&#039;s executable path in <code>services.msc<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What is the difference between Server and ServerActive?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><code>Server<\/code> lists the hosts allowed to connect to the agent on port 10050 for passive checks. <code>ServerActive<\/code> is the address the agent connects out to, on port 10051 by default, to fetch and send active checks.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Do I need to restart the agent after editing zabbix_agentd.conf?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. The Windows agent reads its configuration only at startup, so run <code>Restart-Service &quot;Zabbix Agent&quot;<\/code> after every change.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why does my Windows host show active checks as unavailable?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Usually the <code>Hostname<\/code> value does not exactly match the host name in the Zabbix frontend (it is case-sensitive), <code>ServerActive<\/code> is not set, or outbound traffic to port 10051 is blocked.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Can I use zabbix_agentd.win.conf with Zabbix agent 2?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">No. Agent 2 has its own <code>zabbix_agent2.conf<\/code> with plugin-specific settings. Core options such as <code>Server<\/code>, <code>ServerActive<\/code> and <code>Hostname<\/code> work the same way, but you should start from the agent 2 sample file.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Related tutorials<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/what-is-zabbix-and-how-it-works-an-overview-and-its-use-cases\/\">What is Zabbix and How it works? An Overview and Its Use Cases<\/a><\/li>\n\n\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/ansible-playbook-for-zabbix-agent-deployment\/\">Ansible Playbook for Zabbix Agent Deployment<\/a><\/li>\n\n\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/install-and-configure-zabbix-proxy-on-ubuntu-20-x\/\">Zabbix Tutorials: Install and Configure Zabbix Proxy on Ubuntu 20.x<\/a><\/li>\n\n\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/category\/monitoring-observability\/zabbix\/\">More Zabbix tutorials<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>zabbix_agentd.win.conf is the sample configuration file that comes with the classic Zabbix agent for Windows. The file above is the stock sample from a recent release, but&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[4897],"tags":[26273],"class_list":["post-38505","post","type-post","status-publish","format-standard","hentry","category-zabbix","tag-zabbix-agent"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/38505","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=38505"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/38505\/revisions"}],"predecessor-version":[{"id":80380,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/38505\/revisions\/80380"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=38505"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=38505"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=38505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}