After reading this, you should be able to send SMS from commandline using Gammu on top of Ubuntu 16.04. I have tried this with newer versions of Ubuntu with some minor bumps in the road, but with this exact setup, it should work flawlessly. Hardware: I run this as a VM in Proxmox. The VM…
Read MoreLatest Posts
Linux: Logfiles, timestamps and datematching
Posted by frank on September 11, 2019I recently came across someting at work that had me bothered for a while. A customer wanted to check some logfiles, where this one specific line is stamped ever so often. If the line is NOT stamped in a timely matter, they wanted to be notified. Seems simple, right? Well, for me it wasn’t that…
Read MorePowershell: Create Event with parameters
Posted by frank on September 2, 2019This function will let you stamp events to the Windows EventLog, and feed the event with filterable parameterdata (which in the cases you use SCOM to sniff events, is pretty awesome). I use this all the time in cases where a script should dump some kind of result to the eventlog, and using SCOM to…
Read MoreSCCM Lab: Part 2 – DHCP and DNS Server roles on our AD controller
Posted by frank on August 30, 2019This part in the SCCM Lab series will cover installing and configuring the DHCP and DNS Server roles on our headless Windows 2019 server we configured in Part 1. Here we go. The DNS server was created when AD DS role installed the root forest. We can see that the DNS role is installed using the Get-WindowsFeature command:…
Read MoreSCCM Lab: Part 1 – AD Controller
Posted by frank on August 30, 2019I am currently setting up a new SCCM testenvironment in my home-lab – this will be one of (possibly) many quick-n-dirty how-to’s for setting up a functioning SCCM lab. First things first – the lab wil consist of Server 2019 and Windows 10 servers and clients. The SCCM version used is SCCM current-branch 1902. All…
Read MoreOpenHab Automation: Turn on and off lights based on sunset and sunrise
Posted by frank on August 15, 2019So, for quite some time now I have been wanting to automate the exterior lights of our house. OpenHAB2 (OH2) lets you do this quite smoothly by using the Astro binding. Start off by fetching the Astro Binding via the OH2 controlpanel. Configuration > Bindings. Click the Plus icon, and select Bindings in the top…
Read MoreInstall Grafana on Debian
Posted by frank on February 7, 2019Here I will show you how to install Grafana on a headless Debian server using the last current (at the time) stable release. First, make sure your Debian server is up to date: sudo apt-get update && apt-get upgrade Download the Grafana stable release. I put theese packages in the /tmp folder: cd /tmp/ sudo…
Read MoreInstall InfluxDB on Debian
Posted by frank on February 7, 2019I use InfluxDB paired together with HomeAssistant to easy and effortlessly access data by query. Also, this would be an ideal way to make data available to Grafana. First of all, make sure that your Debian server is up to date: sudo apt-get update && apt-get upgrade Install Curl: sudo apt-get install curl Add the…
Read MoreDatawarehouse Database Cleanup SQL query
Posted by frank on January 15, 2019IMPORTANT: Always perform a FULL Backup of the database before doing anything to it !!! This article applies to SCOM 2007, 2012 as well as 2016 (haven’t tested 1807 yet). Somtimes you may have event storms where you end up having old entries in the Data Warehouse database i.e data that is older than the grooming…
Read MoreUpdate: SCOM: October 2016 patch makes your Console crash
Posted by frank on October 17, 2016Awesome Microsoft, way to go with QA when you make your own core products crash… It seems that the bundled October patch for Windows Server 2008x and 2012x makes the SCOM Console crash when viewing different state views. The patches mentioned: Server 2008 – https://support.microsoft.com/en-us/kb/3192391 Server 2012 – https://support.microsoft.com/en-us/kb/3192392 After uninstalling theese in my environment, the Console…
Read More