# this module measures the number of bits of entropy and sets the # warning and critical limits # Cor van Wandelen 19-12-2020 module_begin module_name Entropy module_type generic_data module_exec cat /proc/sys/kernel/random/entropy_avail | tr -d ‘n’...
# measure the temperature using a Raspberry Pi with Raspbian installed # Cor van Wandelen 18-12-2020 # uses a DS18B20 temperature sensor soldered to pin 1 (VCC 3.3 V), pin 6 (GND) and pin 7 (GPIO) # a 6.8k resistor is soldered between pin 1 and 7 # /boot/config.txt:...
program uptime; // Cor van Wandelen 23-12-2020 // returns the uptime in days // Freepascal code, compiles to executable to be used in Windows or Linux uses SysUtils, Classes; function UpTime: string; const ticksperday: int64 = 1000 * 60 * 60 * 24; var t : int64; d :...
#!/usr/bin/perl -w # calculate the variance over the latency of 5 consecutive measurements to a host, aka jitter # Cor van Wandelen 10-12-2020 use strict; use warnings; if (($#ARGV + 1) != 1) { print “Usage: jitter.pl host or ip address”; exit; } my @rt =...