NetData Installation or Upgrade – Permission Denied Temp Directory not Executable

You might have run into the following issue at some point when trying to install or upgrade Netdata. It’s usually related to your /tmp folder is mounted without execution permission and doesn’t allow execution of programs from this location. A simple work around is to set the $TMPDIR location in your shell to a place … Read more

Cyberpanel Openlitespeed Issue with PHP Session Files Cleanup on Ubuntu 18

There’s an issue with the Cyberpanel installation using Openlitespeed on Ubuntu 18 where the PHP session files aren’t removed by the system installed. You might see issues in your /usr/local/lsws/log/error.log like this The cause is related to the build of of PHP session files in the /tmp folder, which usually is cleaned out by a … Read more

Litespeed Web Server Statistics in Netdata Including Fixes

Showing MySQL Metrics in Netdata

It’s pretty simple to get this done, as there’s a plugin built in. As per this guide on the Netdata website. https://app.netdata.cloud/spaces/lmtca-space/rooms/general/nodes/34d04048-ab58-11ea-81cb-5600029faf80#chartName=menu_ebpf&after=-900&before=0 You simple need to run the following commands to create the necessary configuration. You then update a single line at the bottom of the file. Set path to /tmp/lshttpd/ After restarting Netdata you … Read more

Setting up MySQL Statistics in Netdata

MySQL Metrics in Netdata

You might noticed MySQL statistics aren’t being show in Netdata. Here’s what I ran into. Error: “MySQLdb or PyMySQL module is needed to use mysql.chart.py plugin” The required python libraries for MySQL are missing, so you simply need to install them. For Ubuntu/Debian the following command should correct it. Setting up Netdata MySQL User You … Read more

Xen Ubuntu 18 Guest Creation Using xen-create-image (bionic template and netplan fix included)

So I was having issues with deploying Ubuntu 18 guests on a Xen hypervisor. It originally started with a template for bionic not existing. This is easily fixed with a couple of commands to copy the karmic.d template to bionic.d template. However, once your host boots up. You’re now faced with a network issue as … Read more

Clearing DNS Service Cache on Synology NAS

If you’re using the Synology DNS server for your local clients or services on the Synology NAS, then you might need to clear it’s cache. It’s really simple, and after googling I couldn’t find a straight answer. So I did some digging and found this was the appropriate way to clear the DNS Service Cache … Read more