Zabbix Windows Server monitoring templates

Zabbix ships official Windows agent and SNMP templates for server monitoring. This page covers how to deploy them, what they collect, and where community templates take over.

On this page

How Zabbix monitors Windows servers with the official templates

The supported way to watch Windows servers with Zabbix is the Windows by Zabbix agent template, the Windows by Zabbix agent active template and the Windows by SNMP template. The two agent templates require Zabbix agent 7.4 or newer on the monitored host, so a team with older agents on its Windows fleet has an upgrade step before any template work begins. The agent template uses passive checks, where the server or proxy polls the host, and the agent active template uses active checks, where the agent initiates the connection and pulls its item list. The SNMP template is for Windows hosts where an SNMP service is already running or where agent installation is not allowed.

Each agent template has a distinct job. The passive template suits hosts that the Zabbix server or proxy can reach on the agent port, while the active template suits hosts behind firewalls or in segments where inbound connections are blocked, which is common in regulated networks. Both collect CPU, memory, swap and physical disk performance counters, and both discover Windows services. The SNMP template covers similar ground through a different protocol, so the choice between agent and SNMP is usually a question of what your security team allows on the host, not of which data is richer. Confirm the SNMP version, community or user configuration, and the agent deployment method with your Windows and security teams before you pick one.

Before you commit to a template, check the official integration page for the exact item list and the current template versions, and compare them with the metrics your operations team actually needs. Ask whether your Windows estate runs any other agent that already consumes the same counters, and confirm that the proxy or server can reach each host on the required ports from every network segment. Templates that the official page lists as community or third-party integrations, such as Active Directory, are outside this support boundary, and you should plan their review and ownership separately.

What you need before importing the Windows templates

The Windows templates depend on a short list of components that must line up before the first host is added. Confirm each one in your own environment, because a mismatch in agent version, network path or credentials shows up as missing data rather than as a clear error.

Zabbix agent 7.4 or newer

The Windows by Zabbix agent templates require Zabbix agent 7.4 or newer on each Windows host. Older agent builds can import the template without error and then fail to return the items it expects. Confirm the agent version on every target, and plan the agent upgrade as a separate change when a fleet is running older builds. Check the version after installation, not only the package name in your deployment tool.

Windows integration page

Zabbix server or proxy path

Decide whether each Windows host reports directly to the Zabbix server or through a proxy. A proxy suits sites with limited WAN links or segmented networks, and it reduces the number of firewall rules that reach the central server. Confirm which component holds the host definition, which one polls the agent, and that the chosen component runs a version compatible with the agent 7.4 requirement.

Windows hosts and service accounts

Identify the Windows Server versions, roles and domain membership of the hosts you will monitor. Decide which account the agent runs under, since the default service account and any account used for WMI queries need read access to performance counters, service status and disk information. Confirm with your Windows team that the chosen account is allowed by your privileged access policy and that it does not gain rights beyond monitoring.

Agent and SNMP network paths

Map the network flows before the first poll. Passive agent checks use the agent listening port from the Zabbix server or proxy to each host, while active checks use the reverse direction from the host to the server or proxy. SNMP polling uses UDP port 161 from the poller to the device. Confirm each path with your network and firewall owners, and test it from the poller before importing templates.

SNMP community or v3 credentials

The Windows by SNMP template needs SNMP enabled on the Windows host with the SNMP service and its management information base configured. Choose between SNMP v2c community strings and SNMP v3 users before deployment. Community strings are simpler but send a shared secret in weaker form, while v3 users carry per-user authentication and encryption. Record the chosen method, store the credentials in your secrets process, and confirm your security team approves it.

Template ownership and source check

Confirm which templates your team will use and where each came from before importing anything. The official Windows templates cover the agent, agent active and SNMP cases, while Active Directory and other Windows templates listed on the integration page are community or third-party and are not verified by Zabbix. Record the template name, version and source in your change record so later upgrades can be reviewed against the same baseline.

Official Windows templates

What the agent templates collect: counters, services and triggers

The Windows agent templates read CPU, memory, swap and physical disk performance counters through the Zabbix agent, so the first thing to check on a new server is that these items return values rather than errors. Each counter group feeds its own items and triggers, and the thresholds that come with the template are generic starting points. Before you accept them, confirm with your operations team what sustained CPU load, available memory and swap use mean on each server role, because a file server, a domain controller and an application host rarely share the same normal range. The templates are built for the Zabbix agent version the official integration page lists, so confirm your agent version before importing anything, since the agent templates require Zabbix agent 7.4 or newer.

Service discovery is the part of the template that most often creates alerts nobody asked for. The template discovers Windows services and creates an item for each one, and it raises a trigger when a discovered service has not been in the Running state for the last three checks. The three-check rule filters out brief restarts, but it applies to every discovered service in the same way. A print spooler, a backup agent and a vendor utility all get the same treatment, so a service that is supposed to be stopped on some hosts will alert on those hosts. Review the discovered service list on a sample of each server role and decide which services should alert, then narrow discovery with filters or disable the trigger for the rest. Record that decision in your configuration notes so the next template update does not silently change it.

Triggers that come from discovery belong to the host and inherit the template's logic, so a change to the service filter affects every server that uses it. Plan that change through the template rather than editing each host by hand. Also confirm that the check interval and the three-check window suit the service. A service that restarts on a schedule may need a longer window or a maintenance period, which is covered in the alerting section. Ask the team that owns the Windows estate which services are business critical, and make sure the answer is reflected in the discovery filter before go-live.

What WMI is used for and when to pick agent active or SNMP

The Windows by Zabbix agent template is the passive option. The Zabbix server or a proxy opens the connection to the agent on the Windows host and requests values on the schedule defined by the items. The template requires Zabbix agent 7.4 or newer, so confirm the agent version on every host before you import it. It collects CPU, memory, swap and physical disk performance counters and discovers services, with a trigger when a service is not Running for the last three checks.

  • Direction: inbound from the server or proxy to the Windows host, so the host firewall must allow that path.
  • Best fit: hosts in network segments the poller already reaches, where inbound monitoring rules are acceptable.
  • Discovery: services are found through low-level discovery, so new services appear as items without manual setup.
  • Trade-off: if the poller cannot reach a host during an outage, data has gaps; confirm how your proxy design covers that.
  • Scope: the agent's counters and WMI queries run on the host, so the agent's service account matters as much as the network rule.

Check the agent version, the inbound firewall rule and the account the agent service runs under before the first import.

How to configure Windows monitoring in Zabbix step by step

This sequence takes a Windows server from an uninstalled agent to a monitored host with official templates, discovered services and verified values. Each step ends with a check you can run before moving on.

  1. Confirm the agent version and install it

    Check which Zabbix agent version your server and proxies run, then install a Zabbix agent on the Windows host that matches a release line you plan to keep. The official Windows agent templates require Zabbix agent 7.4 or newer, so the agent on the host must be at least that version. Confirm the install with the agent's version query from an elevated command prompt, and confirm the Zabbix Agent service exists and is set to start automatically. Done when the version output shows 7.4 or later and the service is running.

  2. Set server, proxy and active server addresses

    Edit the agent configuration file, zabbix_agentd.conf, and set the Server parameter to the Zabbix server or proxy that performs passive checks, and ServerActive to the server or proxy that receives active check requests. Set Hostname to the exact name you will create in the frontend, because active checks match on it. Open TCP port 10050 for passive checks and 10051 for the server side where your design requires it, and confirm the rules with your network team. Restart the agent service. Done when the agent log shows no configuration errors and the host can reach its assigned server or proxy.

  3. Create the host and import the official templates

    In the Zabbix frontend, create the host with the same Hostname you set in the agent, add the agent interface on port 10050, and choose the group that matches your ownership model. Import the official Windows by Zabbix agent and Windows by Zabbix agent active templates from the Zabbix Windows integration page, and import the Windows by SNMP template only if you monitor the host over SNMP. Import the files into the version of Zabbix you run, because template contents differ between releases. Done when the templates appear in the template list without import errors.

  4. Link templates and choose the collection method

    Link the agent template to the host for passive checks, or the agent active template when the host should send data to the server or proxy, and avoid linking both to the same host without a reason. Use the active template when the host sits behind a firewall that blocks inbound connections from the server. Review the macros the templates expose, such as thresholds for CPU, memory and disk, and set values that match your baseline. Done when the host shows the linked template and its availability icon turns green after the next check cycle.

  5. Run low-level discovery for services and disks

    Let the template discovery rules run, or trigger them manually from the template's discovery rules, so Zabbix creates item and trigger prototypes for Windows services and physical disks. Review the discovery filters before accepting them, because a broad filter creates many items on busy servers. The service discovery trigger fires when a service is not Running for the last three checks, so decide which services matter for this host and tune the filter accordingly. Done when the discovered services and disks appear as items under the host without errors in the discovery rule's state column.

  6. Verify counter values in latest data

    Open Monitoring, then Latest data, and filter by the host. Confirm that CPU, memory, swap, physical disk counter and logical processor items return numeric values rather than unsupported or empty results. Items that depend on WMI queries, such as the logical processor count, will show errors if the agent account cannot run those queries, so check the item error text and the agent's permissions where needed. Done when each core item shows a current value and a recent timestamp.

  7. Test a trigger with a stopped service

    Choose a non-critical test service on the host, stop it, and wait for the discovery-based trigger to fire after the three checks it needs. Confirm the problem appears under Monitoring, then Problems, with the expected severity. Start the service again and confirm the problem recovers. Record the service name and the result, because this is the evidence your operations team will ask for when reviewing alert behavior. Done when the trigger fires on stop, recovers on start, and both events appear in the event history.

  8. Document the host baseline and open gaps

    Record the agent version, server and proxy addresses, linked templates, macro overrides, discovery filters and test results in your configuration documentation. List any Active Directory or other Windows integrations you need, because the Windows integration page lists them as community or third-party templates that Zabbix does not verify. Ask your Zabbix administrator or partner to review the community templates against your own testing before production use. Done when the baseline is stored where the operations team can find it and the open items have owners.

Mapping Windows counters, services and WMI to Zabbix items

This table shows which Windows data source feeds which kind of Zabbix item, and what each mapping depends on in the host configuration. Read it as a checklist when you review a template before attaching it to production hosts. The main takeaway is that agent counters, service discovery, WMI and SNMP each need different host-side prerequisites, so confirm item keys and dependencies in your own template version.

Windows sourceZabbix item roleHost prerequisiteWhat to confirm
CPU, memory, swap and physical disk countersAgent performance counter items that feed CPU, memory, swap and disk triggersWindows by Zabbix agent on the host, with the agent version the template requires (7.4 or newer)Exact counter item keys and update intervals in your template version
Windows servicesLow-level discovery creates one item per discovered service, with a trigger when a service is not Running for the last three checksAgent can read the service list, and discovery filters are set to the services you actually care aboutFilter patterns, which services are excluded by default, and how often discovery runs
WMI queries, such as logical processor countAgent items that run WMI queries to return values the performance counters do not supply directlyAgent access to the WMI namespace on the host, with the service account permissions your security team approvesWhich WMI-backed items your template version uses and what permissions each one needs
SNMP data for the Windows by SNMP templateSNMP items polled from the host through the Zabbix server or proxySNMP enabled on the Windows host, a community or SNMPv3 credential, and network access from the pollerWhich OIDs the template queries and whether your SNMP setup meets your security baseline
Trigger logicProblem expressions combine item values, such as sustained high CPU or a service stuck outside RunningThresholds and evaluation windows set for your workload, not the template defaults aloneTrigger names, severity and recovery expressions, and whether they suit your maintenance practice
Host fields the mapping depends onHost interface type, host macros and template links determine which items are created and how they are polledCorrect agent or SNMP interface, reachable from the server or proxy, with macros set per host group where neededHost macro names the template expects and whether discovery inherits them from host groups

How Windows data reaches the Zabbix server

The flow starts with Windows performance counters and WMI on the monitored host, which the Zabbix agent reads locally. The agent either waits for the server or proxy to poll it (passive) or connects out to request its item list and push results (active). The trust boundary sits between the monitored host network and the monitoring network, so the firewall rules for each direction must be confirmed. Data then lands in the database through the server, and the web frontend reads it back from there.

Windows data paths from the host to the database, with the trust boundary marked.

Where official templates stop and community templates begin

Zabbix ships official Windows templates, but it lists Active Directory and other Windows templates as community or third-party integrations it does not verify. The cards below cover what that boundary means in scope, verification, maintenance and testing, so you can decide what to import and what to build or validate yourself.

Scope of official coverage

The official set covers the Windows by Zabbix agent, the Windows by Zabbix agent active and the Windows by SNMP templates. They collect CPU, memory, swap and physical disk performance counters, discover services and use WMI queries for items such as the logical processor count. Anything beyond that, such as Active Directory replication or DNS health, falls outside the official set. Before you start, list the roles your servers hold and mark which ones the official templates cover.

Minimum agent version
7.4
Windows integration page

Verification status of community templates

Zabbix lists Active Directory and other Windows templates as community or third-party integrations that Zabbix does not verify. That means no Zabbix quality review and no compatibility commitment for those templates. A template can be well written and still break on your Windows build, your domain functional level or your agent version. Treat each community template as unverified code that you own once imported.

Reviewing a template before import

Open the template file and read every item, trigger, discovery rule and script before it reaches production. Look for custom scripts, external calls and remote commands, which run with the permissions of the Zabbix server or agent. Check each item key against the agent's supported keys, confirm which credentials or macros it expects, and note how often it polls. Record the reviewer, the version reviewed and the date.

Testing and ownership after import

Test community templates on a non-production host group first, with a representative Windows build and a limited set of hosts. Confirm that triggers fire on a controlled fault, that discovery does not create duplicate or runaway hosts, and that polling does not load domain controllers. Name an internal owner for each community template who approves upgrades and decides when to retire it, because nobody upstream will fix it for you.

Why Windows items stay unsupported or triggers never fire

This table lists the failures that most often leave Windows items unsupported or stop service triggers from firing, with the cause, a check and the fix for each. Work down the rows in order, since an agent older than 7.4 or an unreachable port blocks everything below it. Confirm each check against your own Zabbix server, proxy and Windows hosts before changing settings.

FailureLikely causeCheck and fix
Templates will not applyZabbix agent older than 7.4 on the Windows host, since the agent templates require 7.4 or newerCheck the agent version reported on the host and in the item errors. Upgrade the agent to 7.4 or newer, then re-link the template and wait for the next poll.
Items show unsupported on active checksWindows host cannot reach the Zabbix server or proxy on the active check port, or the host name does not match the configured hostConfirm the agent's ServerActive target and that the host name matches the Zabbix host exactly. Test the path from the host to the server or proxy port, then fix firewall rules or the configuration.
Items show unsupported on passive checksServer or proxy cannot reach the agent listen port, or the Server setting on the agent does not include the poller's addressTest connectivity from the Zabbix server or proxy to the agent port. Correct the Server setting on the agent and the host interface address, and check any host-based firewall between them.
WMI-based items return errorsAgent service account lacks rights to the WMI namespace or the relevant classes, so queries such as the logical processor count failRun the same WMI query under the agent's service account on the host. Grant read access to the needed namespace and classes, or adjust the service account, then restart the agent.
SNMP templates return no dataCommunity string or SNMP version on the host does not match the Windows SNMP service, or the SNMP service is not installedCompare the community and version configured on the Zabbix host with the Windows SNMP service settings. Confirm the source address is permitted, then test with an SNMP walk from the server or proxy.
Service discovery finds nothingDiscovery rule is disabled, its interval has not run, or its filter excludes the services you expectCheck the discovery rule status and last run in the host's discovery view. Widen or correct the filter, then trigger a manual rule run and confirm the discovered services appear.
Service trigger never firesService is not in the state the trigger watches, or it stops for less time than the trigger needs to see three failed checksConfirm the service name and startup type on the host. Review the trigger expression and the item's last values, then adjust the expression or the service list so the condition can be met.
Items fail after a Windows updateCounter names or WMI classes changed, or a community template depends on a component the update alteredReview the item error text and the template's source. Re-import the official template version that matches your agent, then check whether the failing item is official or community before making changes.

Questions buyers ask before monitoring Windows with Zabbix

How much effort does an internal team need to monitor Windows servers with Zabbix?

Expect the work to be front-loaded: an internal team needs someone comfortable with Zabbix hosts, templates and macros, plus a Windows administrator who can install and configure the agent on each server. The effort grows with the number of server builds, the variety of roles and the number of services you want watched. Agent templates need Zabbix agent 7.4 or newer, so the first task is confirming your agent version. Plan time for testing triggers on a few representative servers before you roll the template out widely, because thresholds for memory, disk and service state rarely fit every role without adjustment. Ask your team to confirm how many staff can own the configuration after go-live.

What drives the cost of an outside Windows monitoring engagement?

Cost follows the written scope, so the main drivers are the number and variety of Windows servers, whether Zabbix already runs in your environment, and how many custom checks you need beyond the official templates. Other factors include whether the work covers proxies or high availability, how many trigger and notification rules must be designed, and how much knowledge transfer you require. Some costs are one-time, such as design, build and documentation. Others recur, such as support, template upkeep after Zabbix upgrades and the paid support tier you choose from Zabbix, which ranges from 8x5 Silver support to 24x7 Global support. Ask for a quote that separates these components and names who owns each task.

How long does a basic Windows monitoring rollout take?

A basic rollout moves through a fixed sequence: confirm the Zabbix server and agent versions, prepare the Windows hosts and network paths, import and link the official template, test items and triggers on a small pilot group, then extend to the full estate and hand over runbooks. Each step depends on how quickly access and change approvals arrive, so calendar time often exceeds the technical effort. Pilot testing deserves its own window because performance counter names, service lists and thresholds vary by server role. No duration is fixed by the template itself, so ask for a timeline in the written scope that lists each step and the client dependencies behind it.

What must we provide before Zabbix can monitor our Windows servers?

You need to provide four groups of inputs. First, a supported Zabbix server and a Windows agent version that meets the requirement for the agent templates. Second, host records, hostnames or IP addresses, and the server roles each machine plays. Third, accounts and permissions: a way to deploy and configure the agent, and for the SNMP template, SNMP access configured on the Windows host. Fourth, network rules that allow the agent and SNMP traffic between the Zabbix server or proxy and each Windows host, using the ports your configuration uses. Confirm each item with your Windows team, your network team and your security team before the pilot starts, since firewall and change approvals are common delays.

Can we set up Windows monitoring ourselves without a partner?

Yes, a team with Zabbix and Windows administration skills can deploy the official templates without an outside partner. The official Windows by Zabbix agent templates cover common performance counters, service state and disk checks, so a basic setup is within reach for an experienced internal team. The harder parts are sizing triggers so they do not flood your notifications, deciding how to discover and group hosts at scale, and keeping templates current after Zabbix upgrades. If you have no one who owns Zabbix day to day, or if you need security review of the agent and account setup, an outside engagement can cover those specific gaps. Start with a pilot and decide from its results.

Does the official Zabbix template monitor Active Directory?

Not as an officially verified template. Zabbix's Windows integration page lists Active Directory and other Windows templates as community or third-party integrations that Zabbix does not verify. The official Windows by Zabbix agent templates focus on host-level performance counters, service discovery and triggers. If you need Active Directory health checks such as replication, directory services or domain controller counters, evaluate the community template against your own requirements, test it in a non-production environment, and confirm which Zabbix version and agent it was built for. Your team owns the risk of any unverified template in production, so document that decision before rollout.

What does WMI do in the Windows templates, and does it need extra setup?

WMI, the Windows Management Instrumentation interface, supplies some values the templates use, such as the logical processor count. The official agent templates use WMI queries for items like that, while performance counters cover CPU, memory, swap and physical disk metrics. In practice this means the agent account must be able to run those queries on the Windows host, so confirm that permission with your Windows team during the pilot. Check that the queries return expected values on each server role, and watch for failures after Windows updates or security hardening changes. Ask your Windows team to confirm any WMI access restrictions before the template goes live.

How DeployOpen scopes and delivers Windows monitoring

DeployOpen plans and implements self-hosted Zabbix inside your own infrastructure, so the Windows monitoring data stays on your network and under your access controls. Before any work starts, the scope is written down as a fixed set of deliverables: which Windows server groups are in, how host groups are split by environment or owner, which templates apply to each group (the Windows by Zabbix agent template, the active variant or the SNMP template), who holds which Zabbix user role, and which authentication method the team will use, such as LDAP or SAML. Agreeing these decisions first prevents the common problem of hosts being added ad hoc, then carrying inconsistent tags, macros and permissions for years.

Delivery then moves from the design to the behavior of the templates. DeployOpen checks that the agent version on each target meets the 7.4 minimum for the agent templates, confirms that the performance counter items return sensible values on representative servers, and tests the service discovery trigger that fires when a service is not Running for the last three checks. Each trigger is run against a deliberately stopped test service so the team can see the alert, the recovery and the notification path before go-live. Where a Windows template depends on WMI queries, the team also verifies that the account used by the agent has the access those queries need. Thresholds, discovery filters and any community templates are recorded in the handover so your engineers know what was tested and what was adjusted.

After go-live, DeployOpen offers retainers for upgrades when Zabbix or the templates change, and for ongoing support and periodic retesting of triggers and discovery. The cost of a retainer and the response expectations are set in the written agreement, so ask for the specific service levels and included hours in your quote rather than assuming them. Ask also whether the retainer covers the Zabbix server, proxies and database as well as the Windows templates, since those components are upgraded on their own schedules.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.