File monitord.xml of Package monitord
<?xml version="1.0" encoding="UTF-8"?>
<monitordconfig version="1.0">
<name>Monitord</name>
<logfile>/var/log/monitord.log</logfile> <!-- screen = Bildschirm -->
<!-- ERROR, WARNING, INFO, DEBUG, DEBUG1, DEBUG2, DEBUG3, DEBUG4 -->
<loglevel>DEBUG</loglevel>
<auth>
<login>
<name>test</name>
<password>test</password>
</login>
<login>
<name>crusader</name>
<password>pw</password>
</login>
<!-- Bisher nur IP Adressen. Keine Netze oder Bereiche ! -->
<!-- Mehrfachnennungen sind aber moeglich, sofern sie Sinn machen -->
<!-- Suchreihenfolge: allow, login, deny -->
<ip action="allow">127.0.0.1</ip> <!-- Diese IPs muessen sich nicht einloggen -->
<ip action="login">any</ip> <!-- Diese IPs muessen sich einloggen -->
<ip action="deny">any</ip> <!-- Diese IPs koennen sich nicht einloggen -->
</auth>
<tcpsocket>
<bind>*</bind>
<port mode="monitord">9333</port>
<port mode="fms32pro">9300</port>
<port mode="crusader">7778</port>
</tcpsocket>
<soundcard num="0">
<!-- <device>/dev/dsp0</device> --> <!-- OSS: die erste Soundkarte -->
<device>plughw:0,0</device><!-- ALSA: die erste Soundkarte -->
<status>1</status> <!-- 1=aktiv, 0=deaktivert -->
<baud>22050</baud>
<name>Erste Sondkarte</name>
<!-- Linker Kanal -->
<channel part="left">
<!-- Audio Plugin -->
<plugin name="audiorecorder">
<file>/usr/lib64/monitord/libmplugin_audiorecorder.so.0</file>
<parameters>
<path>/var/spool/monitord/</path> <!--- Ein existierender (!) Ordner MIT Schraegstrich am Ende -->
</parameters>
</plugin>
<!-- Audio Plugin -->
<name>Kanal 1</name>
<module type="fms">
<syncbits>12</syncbits>
<crc-check>1</crc-check>
<algorithmus>0</algorithmus>
<maxerrors>3</maxerrors>
</module>
<module type="poc512">
<crc-check>1</crc-check>
<ecc>0</ecc>
</module>
<module type="poc1200">
<crc-check>1</crc-check>
<ecc>0</ecc>
</module>
<module type="zvei">
</module>
</channel>
<!-- Rechter Kanal -->
<channel part="right">
<name>Kanal 2</name>
</channel>
</soundcard>
<dataplugins>
<plugin name="mysql">
<file>/usr/lib64/monitord/libmplugin_mysql.so.0</file>
<parameters>
<hostname>localhost</hostname>
<port>3306</port>
<username>root</username>
<password>asdf</password>
<database>monitord</database>
<mapping typ="zvei">
<table>zvei</table>
<field name="address">zvei</field>
<field name="type">weckton</field>
</mapping>
</parameters>
</plugin>
</dataplugins>
</monitordconfig>