zabbix_server command not found

In this troubleshooting guide we learn how to fix zabbix_server command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

zabbix_server: command not found

or when using sudo you get the following error message

sudo: zabbix_server: command not found

Solutions to zabbix_server: command not found

How To Fix zabbix_server: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu zabbix_server is provided by zabbix-server-pgsql package.

zabbix-server-pgsql is:

Zabbix is a server/client network monitoring system with many features. It can be used for:

  • high level monitoring of IT services;
  • centralized monitoring of your servers and applications;
  • monitoring of SNMP-enabled devices;
  • performance monitoring (process load, network activity, disk activity, memory usage, OS parameters etc.);
  • data visualization.

This package provides the software needed to integrate a host as a Zabbix client. It collects information from Zabbix clients and stores it in a PostgreSQL database.

To fix this problem, we can install more using the command below.

sudo apt-get -y install zabbix-server-pgsql

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install zabbix-server-pgsql.

sudo apt -y install zabbix-server-pgsql

Or if you have aptitude installed you can use the following command.

sudo aptitude install zabbix-server-pgsql

Summary

In this tutorial we learn how to fix zabbix_server command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.