|
|
PNP4Nagios is commonly used to add performance graphs to a Nagios installation.
For additional security, SElinux is enabled on the monitoring host. There is no standard SElinux policy for applications like PNP4Nagios, so we need to develop a custom policy. This sounds harder than it actually is:
Run the software as you normally would (SElinux will interfere, so prepare for errors)
Extract audit messages and use them to create or update a local SElinux policy for the software
Repeat until everything works
In this example, I am running Nagios 3.2.3 with PNP4Nagios 0.6.16 on EL6, 64-bit.
After configuring Nagios and PNP4Nagios integration in Synchronous Mode (see [...]
Continue reading PNP4Nagios with SElinux on CentOS / RHEL 6
I got some KAKU (Klik Aan Klik Uit) switches to control lighting etc. These can be remote controlled using a JeeNode with the OOK433 Plug.
This plug contains a separate receiver and transmitter board. After consulting the schematic, it appears that the receiver is hooked up to the AIO pin, while the transmitter is connected to the DIO pin. This information is needed when reconfiguring the software for the actual Port socket you plugged the OOK433 into.
There are two solder jumpers that need to be made (marked in the picture on the right):
The upper one selects supply voltage. According to current [...]
Continue reading Assembling the JeeLabs OOK433 Plug, part 1
Today I received my new items from JeeLabs – an LCD Plug and a set of stacking headers.
After soldering the control board to the LCD display,I tried compiling the lcd_demo.ino demo sketch. No luck – it seems that the code no longer compiled with Arduino 1.0.
I added the include-file that was missing:
#include <PortsLCD.h>
and suddenly… nothing happened.
I verified the connections – everything looked good. Oh well – “if all else fails, read the manual”. There were no detailed assembly instructions for this kit, so I had to search through various posts to help debug the issue.
Turns out that you have to [...]
Continue reading Assembling the JeeLabs LCD Plug
The Arduino IDE is used to program and debug your Arduino-compatible boards. JeeLabs has a variety of Arduino-like boards. I use the following settings in the Arduino IDE:
On Mac OS X, the Serial port (Tools/Serial Port) should be set to a device named /dev/tty.usbserial-XXXXXXXX. The speed should be set at 57600 bps.
JeeLabs device
Arduino IDE: Tools/Board
JeeLink v3
Arduino Uno
JeeNode v6
Arduino Duemilanove or Nano w/ ATmega328
TIP: If you have more than one board, multiple serial port devices will exist. You can easily find out the right one by checking the available entries first (in Tools/Serial Port), then plugging in the board, then checking [...]
Continue reading JeeNode, JeeLink and the Arduino IDE
When working with digital electronics, a Logic Analyser can come in handy to display and decode all these signals. I recently bought an entry-level Logic Analyser with 16 channels – more than enough for testing and debugging my future JeeNode projects. It offers a large selection of downloadable Protocol Analysers. These software plugins are installed on your computer, and aid in interpreting bus signals like RS232, I2C, CAN and SMI.
Software
The Zeroplus LAP-C 16032 comes with Windows-software. There is an Open Source project called “sigrok” that offers alternative software for the Zeroplus Logic Cube series of analysers. They also support Protocol [...]
Continue reading ZeroPlus LAP-C 16032 Logic Analyser
|
|