GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - DPMI/marcd: Measurement Area Control Daemon

BranchesTags
Open more actions menu

Latest commit

 

History

249 Commits
249 Commits

Folders and files

NameName
Last commit message
Last commit date
bundle
bundle
 
 
dist
dist
 
 
m4
m4
 
 
scripts/etc
scripts/etc
 
 
src
src
 
 
.gitignore
.gitignore
 
 
AUTHORS
AUTHORS
 
 
COPYING
COPYING
 
 
ChangeLog
ChangeLog
 
 
Makefile.am
Makefile.am
 
 
NEWS
NEWS
 
 
README
README
 
 
configure.ac
configure.ac
 
 
marcd.conf.dist
marcd.conf.dist
 
 
runme.sh
runme.sh
 
 

Repository files navigation

Measurement Area Control Daemon
===============================

This listens to MP queries and responds with the MA-Controller information.

Building
--------

0. [git only] autoreconf --install
1. mkdir build
2. ../configure [--prefix /path/to/prefix]
3. make && make install

By default it uses the iniparser library to read configuration files, but it can
be disabled with `--without-iniparser'. It also supports extended statistics
with rrdtool but can be disabled using `--without-rrdtool`. If you only intend
to only build either MArCd or MArelayD use the flags `--disable-daemon` and
`--disable-relay`.

Mysql support is required when building control daemon, i.e. libmysqlclient-dev in Ubuntu packages. 

See `configure --help` for more help.

Install and setup
-----------------

1. Create a user/group to run MArCd, by default marc/marc is used.
2. Put the group in the webgui config as well.
3. Create a directory DATADIR where it will store its rrd files, ie. /var/lib/marcd.
4. Make DATADIR writable by this group.

5. Edit $sysconf/marcd.conf (see $sysconf/marcd.conf.dist)
   If on a ubuntu/debian system copy the files in scripts folder to /etc
      cp scripts/* /etc/ 
   Edit /etc/defaults/marcd, /etc/marcd/marcd.conf and /etc/init.d/marcd if needed.
   *set the WORKDIR parameter in /etc/init.d/marcd to match your folder (/var/lib/marcd)

6. See `MArCd --help` and MArCd(1) for more help.





Measurement Area Relay
======================

The relay is used by MPs to find a MArCd in the local subnet without explicit
configuration, by broadcasting a UDP packet and receiving information where
the control daemon is located.

It can either be run standalone with MArelayD or integrated in MArCd. The former
is useful to have multiple subnets with a single MArCd and the later is useful
if there is only one subnet.





HINTS 
=====

Allways run configure --with-iniparser=bundle (perhaps make it default).
When running configure and PKG_PROG_PKG_CONFIG: command not found, make sure that you have the latest pkg-config installed, then re-run config. 

About

Measurement Area Control Daemon

Resources

Readme
GPL-2.0 license
Activity
Custom properties

Stars

0 stars

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.