Server monitoring

I want to add the facility to monitor the servers in my infrastructure.

I'm going to try zabbix and nagios.

zabbix

Here's the commit for zabbix mysql db.

This is the commit for zabbix server.

This is the commit for zabbix front end.

Zabbix is here nagios is here.

install zabbix package repository

To install agent on ubuntu you first have to install the repository.

These instructions are out of date.

wget https://repo.zabbix.com/zabbix/4.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_4.4-1+bionic_all.deb
dpkg -i zabbix-release_4.4-1+bionic_all.deb
apt-get update

Here are the instructions for installing zabbix agent on ubuntu.

configure zabbix agent

Instructions here

If you already have a server running on the host then you will need a different listenport for the agent in /etc/zabbix/zabbix_agentd.conf

ListenPort=10052

reboot

sudo shutdown -r now

install and start zabbix agent

apt-get install zabbix-agent
service zabbix-agent start

agent log is at /var/log/zabbix/zabbix_agentd.log

You should now be able to see some monitoring data if you sign in as guest here.

I moved some services from sigyl-git to git-1.  You can see the memory usage evening up.