Forfatterarkiv: mike

Simple Javascript clock

As the title says:

Udgivet i Javascript | Skriv en kommentar

Faking time on Debian 12

Sometimes you need to test stuff that only happens once a day, that can be tiresome to wait around for, so playing a bit of Deloran-style-prank on you Linux systems can be handy. Start by disabling ntp: And then you … Læs resten

Udgivet i Linux | Skriv en kommentar

Styling Nagios output for a large display

Theres not really any built in features for styling Nagios, so i devised a simple workaround that utilizes html, css and jquery to do the trick. We need to run this on the same domain as Nagios itself or disable … Læs resten

Udgivet i Nagios | Skriv en kommentar

Delete USB partitions on Windows

Really useful if you have a USB Stick which have been used for installing Debian or another Linux and you wish to use it for something on Windows, the graphical partition manager in Windows are way to retarded to do … Læs resten

Udgivet i Windows | Skriv en kommentar

Automating USBIP server

In a prior post we installed USBIP and used it manually, in this post I will set it up “the correct Debian(systemd) way”. But first, for completeness sake, we will go through installation progress again, first install the package: Load … Læs resten

Udgivet i Linux | Skriv en kommentar

USBIP on Debian 12 – USB Device Sharing over IP network

In a world were virtualization is slowly creeping in everywhere the demand for virtual USB cables are growing, luckily the USBIP protocol are implemented in the Linux kernel – and the userland tools are partly implemented in Debian, at least … Læs resten

Udgivet i Linux, Uncategorized | Skriv en kommentar

Logging output of cronjobs

If you wish to send output of cronjobs to syslog instead of email use the following: If you want live-updates in the log file it can be necessary to unbuffer it, install the “expect” package and modify the command like … Læs resten

Udgivet i Linux | Skriv en kommentar

PHP Script to parse nagios.dat

Please add your own error-handling:

Udgivet i Nagios, PHP | Skriv en kommentar

Nagios module for monitoring smsdlog for modem-connectivity

Udgivet i Nagios, Uncategorized | Skriv en kommentar

Function to parse contacts from nagios config

Udgivet i Uncategorized | Skriv en kommentar