zabbix_js command not found

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

Introduction

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

zabbix_js: command not found

or when using sudo you get the following error message

sudo: zabbix_js: command not found

Solutions to zabbix_js: command not found

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

In Ubuntu zabbix_js is provided by zabbix-proxy-mysql package.

zabbix-proxy-mysql 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 proxy. It collects information from Zabbix agents, temporarily stores it in a MySQL database and then passes it to a Zabbix server.

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

sudo apt-get -y install zabbix-proxy-mysql

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

You can also use apt command to install zabbix-proxy-mysql.

sudo apt -y install zabbix-proxy-mysql

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

sudo aptitude install zabbix-proxy-mysql

Summary

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