for from https://github.com/schakko/monitord

@root root authored on 23 Jan 2012
developer Migration from SVN revision 455 12 years ago
jthread-1.2.1 Migration from SVN revision 455 12 years ago
lame Migration from SVN revision 455 12 years ago
lame-3.97 Migration from SVN revision 455 12 years ago
m4 Migration from SVN revision 455 12 years ago
monitord added monitord-activemq 12 years ago
sample-config Migration from SVN revision 455 12 years ago
simpleopt Migration from SVN revision 455 12 years ago
win32-nsis Migration from SVN revision 455 12 years ago
xmlParser Migration from SVN revision 455 12 years ago
Makefile.am added monitord-activemq 12 years ago
Makefile.in Migration from SVN revision 455 12 years ago
README.md Documentation 12 years ago
aclocal.m4 Migration from SVN revision 455 12 years ago
autogen.sh Migration from SVN revision 455 12 years ago
config.guess Migration from SVN revision 455 12 years ago
config.h.in Migration from SVN revision 455 12 years ago
config.sub Migration from SVN revision 455 12 years ago
configure Migration from SVN revision 455 12 years ago
configure.ac added monitord-activemq 12 years ago
cxxdll.def Migration from SVN revision 455 12 years ago
depcomp Migration from SVN revision 455 12 years ago
dispatcher.lua Migration from SVN revision 455 12 years ago
install-sh Migration from SVN revision 455 12 years ago
ltmain.sh Migration from SVN revision 455 12 years ago
missing Migration from SVN revision 455 12 years ago
mkinstalldirs Migration from SVN revision 455 12 years ago
win32vars.sh Migration from SVN revision 455 12 years ago
README.md

monitord-activemq

Dependency

monitord-activemq depends on activemq-cpp.

Installation

Just push back this directory into /monitord/trunk.

Compiling on CentOS 6.2

yum install autoconf automake libtool pkg-config alsa-lib-devel lua-devel
aclocal -Im4
./configure --enable-plugins --with-activemq

Configuration

Edit your monitord.xml:

<dataplugins>
<plugin name="activemq">
    <file>plugins/libmplugin_activemq.so</file>
    <parameters>
        <logfile>activemq.log</logfile>
        <loglevel>DEBUG</loglevel>
        <brokerUri>tcp://127.0.0.1:61616</brokerUri>
        <username>your_username_or_empty</username>
        <password>your_password_or_empty</password>
        <clientId>your_clientid_or_empty</clientId>
        <sendTimeout>5</sendTimeout>
        <closeTimeout>5</closeTimeout>
        <producerWindowSize>5</producerWindowSize>
        <useCompression>1</useCompression>
        <clientAck>0</clientAck>

        <!-- generic configuration -->
        <useTopic>1</useTopic>
        <deliveryModePersistent>0</deliveryModePersistent>
        <destUri>zabos</destUri>

        <!-- overwrite generic configuration for FMS -->
        <topic type="fms">
            <destUri>zabos.fms</destUri>
        </topic>

        <!-- overwrite gneric configuration for POCSAG -->
        <topic type="pocsag">
            <useTopic>0</useTopic>
            <!-- destUri is still zabos, imported by generic configuration -->
        </topic>
        <!-- ZVEI is not defined, so generic configuration is used -->
    </parameters>
</plugin>
</dataplugins>