Loggernet

From IARC 207 Wiki
Revision as of 18:14, 29 June 2007 by imported>Ken
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

LoggerNet for Linux

Campbell Scientific has provided LoggerNet as their primary interface software, but until recently it only ran on Windows platforms. Over the past year, CSI finished development of a Linux port of the program. We participated in the beta testing program, and so got an early look at this software.

Far from just trying to install it and look at it, we soon pressed it into service doing hourly downloads of some 20 sites. It has worked out well in doing its job, and we anticipate keeping it as a regular part of our data management system.

installing LoggerNet-Linux

We've installed LoggerNet-Linux on debian etch or later, though it is packed as an RPM for Fedora Core. To do this, use the debian 'alien' program to create a .deb archive from the .rpm archive, and install using a dpkg command:

  ... to be determined ...

There are a couple of startup scripts that are not handled in the alien conversion; these either need to be symlinked or commented out of a file or two...

  ... details forthcoming...

We have just received the first release version of Loggernet-Linux, version 3.3.1. After or during installation, these notes will be updated.

LoggerNet documentation

CSI provides html and/or pdf pages with the software, detailing many of the instructions and commands. Having used Perl for years and grown familiar with the perldoc command as an on-line help system, we felt compelled to develop a similar command for the LoggerNet system. This software is called coradoc, after the cora scripting system embedded in LoggerNet.


using LoggerNet

In our system, LoggerNet sits on a dedicated server computer which is tasked to do nothing but handle LoggerNet queries. We connect from perl or other scripts from other hosts using the netcat utility. On the LoggerNet server, a coracmd instance is run by the inetd superserver; the originating script then connects to the LoggerNet server, issues one or more commands, then quits.