Articles in code snippets
While migrating cacti over to a new virtual machine I got “ERROR: This RRD was created on another architecture” in /var/log/httpd/error_log when the crontab ran resulting in blank graphs.
Install the latest smokeping (without distributed polling) on a virgin Centos 5.3 minimal box… It’s probably the best (free) tool for monitoring network latency at a glance.
Examples: Pipe Ten Derby and Pipe Ten Sheffield.
A quick reference for a from-scratch Zabbix install on CentOS 5.3. We’ve used Zabbix for the past 3 or 4 years and just implementing 1.6.5 across multiple Xen nodes for funky distributed monitoring.
/*
This code receives input from the SRF02 ultrasonic and maps the values to RGB outputs to a tri-colour LED.
*/
/* LCD display with 4 DataPins
* ——–
*
* This is a example in how to use an LCD screen
* configured with data transfers over 2 x 4 bits. The example
* based on the “LCD Hola example” …