Keep the Zabbix Agent Windows Service running 24/7 with Service Protector

How to Keep the Zabbix Agent Windows Service Running 24/7 with Service Protector

Automatically restart the Zabbix Agent service if it stops for any reason. Survive crashes, memory leaks and accidental shutdowns to keep your system monitoring going without costly interruption

Zabbix is one of the most popular open source monitoring packages in the world.

Zabbix Agent, a key component of the software, is responsible for monitoring a host computer and collecting information to be used in reports and alerts.

Zabbix Agent is installed as a Windows Service, the natural choice for running unattended in the background in a 24/7 environment:

To protect the Zabbix Agent Windows Service with Service Protector:

  1. Download and install Service Protector, if necessary.

  2. Start Service Protector.

  3. Select Protector > Add to open the Add Protector window:

    Add Protector

  4. On the General tab, in the Service to protect field, choose the Zabbix Agent windows service:

    Zabbix Agent Service: General Tab

  5. Service Protector is packed with advanced features but let's stick with the basics for now. Click the Save button to save your settings.

    In a few seconds, an entry for the Zabbix Agent service will appear in the main window. The green shield indicates that Service Protector is actively babysitting Zabbix:

    Zabbix Agent Windows Service: Protected

  6. That's it! Next time your computer reboots, the Zabbix Agent windows service will start automatically (as normal) and Service Protector will monitor the service and restart it quickly if it stops for any reason.

    We encourage you to edit the Zabbix Agent entry and explore the many settings that may be helpful in your environment. For example, send email when the service fails, automatically restart if the service gets "stuck" starting or stopping, and much more.



Trouble protecting the Zabbix Agent Windows Service?