Zabbix on Ubuntu with SSL

Everyone needs a monitor system, right? Disclaimer or Scope/Intention This is how I did it. Short guide, more or less for myself so I won’t forget. If Linux/Ubuntu/Apache/SSL-certs is new territory for you this isn’t the guide you were looking for, sorry. Some steps and detailed explanations are omitted. Also never run cmds you don’t trust and know what they do. What I used Machine: VM in Vmware vSphere, 2vCPU, 4GB RAM, 32GB disk. OS: Ubuntu Server 20.04 LTS Free OpenSource (https://ubuntu.com/download/server) WebApp: Zabbix 6.0 Free OpenSource (https://zabbix.com) SSL cert: I used Let’s Encrypt for my cert and key. ...

2022-03-04 · 4 min · Tobias Tillstam

Ubuntu 20.04 on vSphere 6.7, log error SDA/SGIO

The problem is that VMWare by default doesn’t provide information needed by udev to generate /dev/disk/by-id entries. Apart from ESX, VMWare Workstation is also affected. The resolution is to put disk.EnableUUID = "TRUE" to the virtual machine definition, i.e. into the *.vmx file or via Edit Settings -> Options tab -> General -> Configuration Parameters in ESX UI. After rebooting VM with this parameter set, the disk are visible in /dev/disk/by-id and multipathd doesn’t complain anymore. I had to power off the VM, and then go to Edit Settings -> VM Options -> Advanced -> EDIT CONFIGURATION.

2022-03-04 · 1 min · Tobias Tillstam
Illustration of a red alarm clock in front of a world map

Linux Ubuntu 20.04 NTP & TimeZone

Set TimeZone: sudo timedatectl set-timezone Europe/Stockholm Set NTP. Edit timesyncd.conf: sudo nano /etc/systemd/timesyncd.conf Add NTP-server(s): NTP=ntp.se Close and Save, Ctrl+X, Y, Enter. Restart service, check status: sudo systemctl restart systemd-timesyncd sudo systemctl status systemd-timesyncd

2022-03-04 · 1 min · Tobias Tillstam

Linux Ubuntu 20.04 logging to syslog-server

Send logs to a central syslog-server. SSH to the machine or directly at terminal. Install rsyslog sudo apt install rsyslog sudo systemctl start rsyslog Edit conf sudo nano /etc/rsyslog.conf Add this text (*.* @@ip/fqdn:portnr) *.* @@192.168.1.10:1514 Restart service sudo systemctl restart rsyslog

2022-03-04 · 1 min · Tobias Tillstam

osTicket on Ubuntu with SSL

Everyone needs a ticket system, right? Disclaimer or Scope/Intention This is how I did it. Short guide, more or less for myself so I won’t forget. If Linux/Ubuntu/Apache/SSL-certs is new territory for you this isn’t the guide you were looking for, sorry. Some steps and detailed explanations are omitted. Also never run cmds you don’t trust and know what they do. What I used Machine: VM in Vmware vSphere, 1vCPU, 2GB RAM, 40GB disk. OS: Ubuntu Server 20.04 LTS Free OpenSource (https://ubuntu.com/download/server) WebApp: osTicket 1.15.4 Free OpenSource (https://osticket.com/download/) SSL cert: I used Let’s Encrypt for my cert and key. ...

2021-11-05 · 4 min · Tobias Tillstam