mkdir /opt/splunkforwarderuseradd -m splunk cd /opt/splunkforwarder wget -O splunkforwarder-9.4.2-e9664af3d956-linux-amd64.deb “https://download.splunk.com/products/universalforwarder/releases/9.4.2/linux/splunkforwarder-9.4.2-e9664af3d956-linux-amd64.deb”dpkg -i splunkforwarder-9.4.2-e9664af3d956-linux-amd64.deb chown -R splunk:splunk /opt/splunkforwarder /opt/splunkforwarder/bin/splunk start cd etc/system/local/nano outputs.conf nano inputs.conf sudo systemctl restart SplunkForwarder.service sudo systemctl status SplunkForwarder.serviceRead More →

In the past, hosting a website from your own home required a fair amount of technical know-how and came with significant security risks. Traditional setups involved several key steps: While effective, this approach exposed your home network to the internet. Opening ports on your router made your physical location traceable and increased the risk of cyberattacks. A Safer, Simpler Way: Cloudflare Zero Trust Cloudflare Zero Trust has transformed how individuals can host services from their homes by offering a much safer and more straightforward solution. With Cloudflare’s free tunneling service, you no longer need to expose your home server directly to the internet. Here’s howRead More →

We can wrap it on a VBscript file Dim shell, command Set shell = CreateObject(“WScript.Shell”) ‘ Specify your command here command = “powershell.exe -File c:/users/user01/Myscript.ps1” ‘ Run the command hidden (0 = hidden window) shell.Run command, 0, False  Read More →

1. Avoid Relying Solely on Email for Alerts Email is not a reliable alerting mechanism. Alerts can be delayed, filtered as spam, or ignored due to cluttered inboxes. From a user experience perspective, email-based alerts are often messy and ineffective. Recommendation: Use a dedicated alerting app or platform that supports webhook integrations. Azure and most modern monitoring tools offer this functionality. These solutions provide more reliable and timely alerting mechanisms. 2. Be Selective and Strategic with Monitors Not all systems or services require immediate alerts. It’s important to evaluate the criticality of each component before creating alerts. Example: If a non-business-critical website goes offline atRead More →

If you got this error – [inputs.docker] Error in plugin: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock It’s because /var/run.docker.sock is only accessible by root or anyone in docker group. telegraf is not in this group. The fix is to add telegraf to docker group: usermod -a -G docker telegrafRead More →

We mostly care about the cpu/memory/storage metrics for mysql. I found another interesting metrics, it’s the aborted clients. What is it? It’s the number of the client is unable to authenticate to your servers. Why does it matter? There are a few reason why the client is unable to connect: your server is reaching the maximum connections, the user is using wrong password. If this value is showing, it means we are not fully operational. It’s good for proactive action on this.Read More →