for from https://github.com/schakko/monitord
| developer | 13 years ago | ||
| jthread-1.2.1 | 13 years ago | ||
| lame | 13 years ago | ||
| lame-3.97 | 13 years ago | ||
| m4 | 13 years ago | ||
| monitord | 13 years ago | ||
| sample-config | 13 years ago | ||
| simpleopt | 13 years ago | ||
| win32-nsis | 13 years ago | ||
| xmlParser | 13 years ago | ||
| .gitignore | 13 years ago | ||
| Makefile.am | 13 years ago | ||
| Makefile.in | 13 years ago | ||
| README.md | 13 years ago | ||
| aclocal.m4 | 13 years ago | ||
| autogen.sh | 13 years ago | ||
| config.guess | 13 years ago | ||
| config.h.in | 13 years ago | ||
| config.sub | 13 years ago | ||
| configure | 13 years ago | ||
| configure.ac | 13 years ago | ||
| cxxdll.def | 13 years ago | ||
| depcomp | 13 years ago | ||
| dispatcher.lua | 13 years ago | ||
| install-sh | 13 years ago | ||
| ltmain.sh | 13 years ago | ||
| missing | 13 years ago | ||
| mkinstalldirs | 13 years ago | ||
| win32vars.sh | 13 years ago | ||
monitord-activemq depends on activemq-cpp.
Just push back this directory into /monitord/trunk.
yum install autoconf automake libtool pkg-config alsa-lib-devel lua-devel aclocal -Im4 ./configure --enable-plugins --with-activemq
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>