June 20, 2021

Zabbix server monitoring HowTo

Zabbix is an open source server/network device monitor that can e-mail you when bad things happen. It’s much more web configurable than something like Nagios, and makes a nice System Dashboard to let you know what’s happening

Zabbix server setup

Pick one of your machines you want to install the server on, the rest of them can just have an agent, which is simpler. On your monitoring server do:

apt-get install zabbix-server-mysql zabbix-agent

(you still need an agent on the server box, which might seem confusing)

Zabbix remote agent setup

On your remote server you want to monitor, you have to install the agent, then tell it what Zabbix server will be trying to query it:

apt-get install zabbix-agent

now you have to change the Server directive in the /etc/zabbix/zabbix-agentd.conf file like:

vi /etc/zabbix/zabbix-agentd.conf
    Server=ip.of.zabbix.server
    #Server=localhost