You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 28 Next »

Introduction

This is a project suggested by Marco Zennaro of ICTP Trieste to build a PingER monitoring host based on an inexpensive embedded Linux platform. If successful one could consider using these in production reducing the costs, power drain (they draw about 5W of 120V DC power compared to typically over 100W for a deskside computer or 20W for a laptop) and space (6x6") assisting monitoring sites to be able to procure and support such monitoring hosts. This could be very valuable for sites in developing countries where cost, power utilization and to a lesser extent space may be crucial.

Embedded Linux Processor

The initial two machines were alix2d2 models purchased from PCEngines located in Switzerland. The cost is about $110/machine. The machines purchased each have 256MB RAM, on a 500MHZ AMD Geode CPU, with 128KB L2 cache, and a 4GB Flash memory. They have 2 USB and 2 Ethernet interfaces. There is a picture here of one of the machines, and there is more information at the PCEngines site.

Operating System

The installed system is called Voyage Linux a Debian Linux variant. The machines had perl and Apache installed. We accessed it through ssh. We also had to install: make, dig, mail, and XML::Simple.  In /etc/ssh/sshd_config we also commented the line where it sets a local environment variable from the client environment variable.

Installation of PingER2

Following the instructions in PingER End-to-end Reporting version 2, we logged in via ssh from SLAC to the machines located at ICTP and installed PingER2 under the /root/pinger-2.0.2 directory. There is an example of the installation here.

Crontab is different on Voyage Linux.

  • Rather than using crontab -e one simply edits and saves the /etc/crontab file after having done a remountrw.
  • Also note that there is an extra field for the username.

There is an example of a Voyage crontab.

After installing the PingER2 monitoring code, we installed the ping_data gathering agent, and the traceroute server following the instructions.

We temporarily entered the machines as monitors in the PingER meta data base of hosts and successfully gathered the data using the standard overnight cronjob.

Deployment

After installing and testing we plan to place the first ePingER host at the University of Zambia in Lusaka, Zambia following the SCINDA/IHY meeting in Livingstone, Zambia June 2009. We requested an IP address and the name pinger.unza.zm. We also clarified how to get customs clearance and requested a formal donation letter from ICTP.

ePingER Management

Some information on this can be found in ePingER Management. We have not determined how or if to apply patches automatically.

We added a cronjob (pinger_trimmer.pl) to run on the 28th of each month to trim the data files (in /usr/local/share/pinger/ping-yyyy-mm.txt) to remove all but the last 2 months of data. This prevents the datafiles from growing indefinitely.

Experiences

Marco any concerns about flash memory and repeated accesses, lifetime etc.?

  • No labels