logIt Log Around The Clock

Posts Tagged ‘application’

Get Commuter Train Trouble Alert Delivered to Watch by IFTTT

Imagine getting alerts of Commuter Line train service disruption right on your wrist! Well, the watch thing isn’t a must as any SMS-enabled phone will do. But without the watch, I won’t be introduced to “If-this-than-that” (IFTTT), a simple logic line that glues popular apps into trigger and action branded as recipes. Anyone can code [...]

Mobile WiFi NAS on Raspberry Pi with TrueCrypt

Mobile NAS sounds like an idea worth waiting for to run on my mini Raspberry Pi Model A. Unfortunately, it only took me a while, before abandoning it. I’ve waited since writing about Raspberry Pi USB problem, that is to finally cut the backfeeding power line from the el cheapo powered USB hub. There comes [...]

Any m-by-n Matrix Keypad for Raspberry Pi

What about instantiating any m x n matrix keypad by a Python class? Raspberry Pi takes me to learn how to build a Python class for the first time while expanding my initial WiringPi-based matrix keypad into a derivative work. A matrix keypad instance is defined by: Actual GPIO pins used forming the row and [...]

Running Raddle (2): snmpd & Replay Custom Private Enterprise MIB

Net-SNMP wiki gives tutorial on extending snmpd using Perl. In basic run of Raddle (previous post) this involves r1.pl called by r1.conf fed to snmpd. Private enterprise MIB i.e. Microchip’s in this example can be replayed without really ever captured the real device’s SNMP data. This is necessary when the actual device is yet existed; normal [...]

Running Raddle in RHEL

Raddle is a great SNMP player written in Perl. I say player to this emulator application, meaning that I can append or dump snmpwalk output from a device and then replay that from Raddle. Installing it can be both simple and tedious tasks. I used Red Hat Enterprise Linux 5.2 inside a virtual machine (VirtualBox) [...]

URL Shortener From Yourls (1)

We can self-hosted URL Shortener service. I tried open source php-based URLShort and Yourls. I later choose Yourls. Both of course based on .htaccess manipulation (mod_rewrite of Apache must be enabled). I install Yourls in side http://my.web/somedir. To make my short URL to use something like http://my.web/xGf12 instead of http://my.web/somedir/xGf12, I run the regular install [...]

Install Nagios 3 and Plugins

Quickstart I decided to install in RedHat 5.2. Maybe it is easier in Ubuntu (Nagios 3 already listed in the repository, but I haven’t tried it). As pointed out by the quickstart (it is meant for Fedora by the way), requirements are: php, httpd gcc, glibc, glibc-common gd, gd-devel After getting those, the configure-make-install procedure [...]

Hijri Calendar

Not succeding to find Hijri Calendar in Synaptic, I go for http://www.ojuba.org/wiki/hijra/. First, let Google translate does the job. Secondly, install this python applet. Inside hijra-0.1.18 run $ sudo python setup.py install It’d fail as it couldn’t find HijriApplet. Rename HijriApplet.py to HijriApplet to make it work. Now, it is in path (/usr/bin/) and can [...]

Tagsistant (1)

Installation of tagsistant requires SQLite and FUSE, in Ubuntu they are satisfied as libsqlite3-dev and libfuse-dev (which will also requires libselinux1-dev and libsepol1-dev). A series of configure, make, and make-install will fail during the make-install. /usr/local/share/pixmaps must be created first before running $ sudo make install After that I test tagsistant to organize /data/tags/ $ [...]

Configuring Cacti

A successful installation in a LAMP system may require more library. I added php5-cli to enable php through command line i.e $ /usr/bin/php , libphp-adodb, php5-snmp. In localhost snmpd is installed and configured /etc/default/snmpd: SNMPDOPTS=’-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid’ and edit /etc/snmp/snmpd.conf to have: com2sec readonly  localhost         <some community string> Install [...]

← Before