MetaMonitor
System Software
Score 82%
Description:

This simple program watches the syslog's or metalog's log file and pops up the window whenever the new message comes. You can specify the file to watch and a regular expression for parsing the log line, so you can watch other than log files too.

Now you can use themes in your popups. See MetaMonitor's homepage for the Themes Howto, a document describing how to create your own themes. Please send me your themes or publish them on KDE Look (in the 'Other theme/style' category).

Thanks to Konstantin Sobolev and his KLogView for inspiration and a few lines of code ;)

See MetaMonitor's homepage for more information.

See README file for source installation instructions.
Last changelog:

12 years ago

0.4.5a:
+ Added Debian "unstable" package (for KDE 3.4.3) (Jérí´me Viscaino)

0.4.5:
+ Added spanish translation (Alejandro Araiza Alvarado)
* Updated other translations files
+ Added themes support (can set the skin, text colors and body layout with the qt richtext)
* Command's button -> Command's anchor
* Complete rebuild of the configuration window
* Fixed popup's positioning. Now it's sensitive on the tray's position and doesn't hide kicker
* Fixed keyboard shortcuts in the advanced config (thanks Florian)
* Changed the text in About-Window to a little less stupid ;)
+ Added ability to clear the log window
* Updated AUTHORS file

scummos

10 years ago

make -f admin/Makefile.common
*** Creating acinclude.m4
*** Creating list of subdirectories
*** Creating configure.in
*** Creating aclocal.m4
autom4te: unknown language: Autoconf-without-aclocal-m4
aclocal: autom4te failed with exit status: 1
make: *** [cvs] Fehler 1


:´[

tried all suported autoconf versions -- same error...
what to do?

Report

farcaller

11 years ago

Thanks for the nice application.
I'm wondering, how can one extend interface, e.g. add 'block' button like on the first screenshot?

Report

C

xis

11 years ago

Well, this is an old screenshot - currently the buttons aren't available. There's an anchor instead of button. It shows when you make a trigger with 'Execute command' action.

Cheers

Report

mycot

11 years ago

gcc version 3.3.6 (Debian 1:3.3.6-7)

root@1[metamonitor-0.4.5]# make
make all-recursive
make[1]: Entering directory `/opt/metamonitor-0.4.5'
Making all in doc
make[2]: Entering directory `/opt/metamonitor-0.4.5/doc'
Making all in .
make[3]: Entering directory `/opt/metamonitor-0.4.5/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/opt/metamonitor-0.4.5/doc'
Making all in en
make[3]: Entering directory `/opt/metamonitor-0.4.5/doc/en'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/metamonitor-0.4.5/doc/en'
make[2]: Leaving directory `/opt/metamonitor-0.4.5/doc'
Making all in po
make[2]: Entering directory `/opt/metamonitor-0.4.5/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/metamonitor-0.4.5/po'
Making all in src
make[2]: Entering directory `/opt/metamonitor-0.4.5/src'
source='metamonitor.cpp' object='metamonitor.o' libtool=no \
depfile='.deps/metamonitor.Po' tmpdepfile='.deps/metamonitor.TPo' \
depmode=gcc3 /bin/sh ../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/share/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -c -o metamonitor.o `test -f 'metamonitor.cpp' || echo './'`metamonitor.cpp
/usr/include/kde/kactioncollection.h:242: error: ISO C++ forbids declaration of 'KXMLGUIClient' with no type
/usr/include/kde/kactioncollection.h:242: error: expected ';' before '*' token
/usr/include/kde/kactioncollection.h:345: error: expected ',' or '...' before '*' token
/usr/include/kde/kactioncollection.h:345: error: ISO C++ forbids declaration of 'KXMLGUIClient' with no type
/usr/share/qt3/include/private/qucom_p.h:69: warning: 'struct QUBuffer' has virtual functions but non-virtual destructor
/usr/share/qt3/include/private/qucom_p.h:77: warning: 'struct QUType' has virtual functions but non-virtual destructor
/usr/share/qt3/include/private/qucom_p.h:104: warning: 'struct QUType_Null' has virtual functions but non-virtual destructor
/usr/share/qt3/include/private/qucom_p.h:287: warning: 'struct QUType_enum' has virtual functions but non-virtual destructor
/usr/share/qt3/include/private/qucom_p.h:307: warning: 'struct QUType_ptr' has virtual functions but non-virtual destructor
/usr/share/qt3/include/private/qucom_p.h:326: warning: 'struct QUType_iface' has virtual functions but non-virtual destructor
/usr/share/qt3/include/private/qucom_p.h:345: warning: 'struct QUType_idisp' has virtual functions but non-virtual destructor
/usr/share/qt3/include/private/qucom_p.h:364: warning: 'struct QUType_bool' has virtual functions but non-virtual destructor
/usr/share/qt3/include/private/qucom_p.h:383: warning: 'struct QUType_int' has virtual functions but non-virtual destructor
/usr/share/qt3/include/private/qucom_p.h:403: warning: 'struct QUType_double' has virtual functions but non-virtual destructor
/usr/share/qt3/include/private/qucom_p.h:423: warning: 'struct QUType_charstar' has virtual functions but non-virtual destructor
/usr/share/qt3/include/private/qucom_p.h:444: warning: 'struct QUType_QString' has virtual functions but non-virtual destructor
/usr/share/qt3/include/private/qucomextra_p.h:65: warning: 'struct QUType_QVariant' has virtual functions but non-virtual destructor
/usr/share/qt3/include/private/qucomextra_p.h:87: warning: 'struct QUType_varptr' has virtual functions but non-virtual destructor
make[2]: *** [metamonitor.o] Error 1
make[2]: Leaving directory `/opt/metamonitor-0.4.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/metamonitor-0.4.5'
make: *** [all] Error 2

That system is a Debian Sarge with all kde{libs[dev]} installed...i've tried to install libc6-2.3.6-3 but this compilation and others from kde application doesn't work. I would like to deepen this! bye guys

Report

Carroarmato0

11 years ago

First of all I would like to congratulate you with your program.

I'm using Mandriva 2006, I want MetaMonitor to watch /var/log/messages for events so I changed file permitions in order to make it readable for MetaMonitor, but sometimes the permitions mysteriously jump back to default permition. How can I make that change permanent? Or how can I use the /var/log/everything/current file because it's not available on my system?

Report

Jointy

10 years ago

Hy,

If you use syslogd you have to change the permissions setting for your /var/log/message file over the /etc/syslog/syslog.conf

I use the syslog-ng daemon and Gentoo Linux and found my config under /etc/syslog-ng/syslog-ng.conf.

In this file I had to changed the "perm(0600)" option to "perm(0644)".

So now all users have read permission to this file and the metamonitor works fine.

regards
j0inty

Report

dionis

11 years ago

I've tried to compile your sources and while compiling mfile.cpp i got an error message at the lines 45-46 of mfile.h:
missing ino_t and off_t data types.
I've added then these lines to mfile.h:

#include «unistd.h»
#include «dirent.h»
[« and » are the minor and major symbols.]

and now i'm tasting your metamonitor :)

My distro is Slackware 10.1 and i have GCC 3.3.4.

Congratulation, great app =)

Report

C

xis

11 years ago

Thank you for your help. I'm sure that it will be much easier to other users to install MM with your improvement!

I think that the 0.4.6 release will have a lot of fixes (including yours), but I'm afraid you'll have to wait for it. I moved out to the other city and I got new job there so I have no time for MM now (I have to make shopping to my new flat and so on ;) ). But I will try very hard to make 0.4.6!

Please, stay tuned ;)
Best regards

Report

anupamsr

11 years ago

Hi,

First of all thanks for the application.

I am trying to watch the log file vsftpd.log

The content is like this:
Thu Jan 19 01:39:09 2006 [pid 15867] CONNECT: Client "172.26.77.201"
Thu Jan 19 01:39:09 2006 [pid 15866] [ftp] OK LOGIN: Client "172.26.77.201", anon password "lftp@"
Thu Jan 19 01:39:09 2006 [pid 15869] [ftp] FAIL UPLOAD: Client "172.26.77.201", "/shared/current", 0.00Kbyte/sec
Thu Jan 19 01:39:21 2006 [pid 17174] CONNECT: Client "172.26.77.201"
Thu Jan 19 01:39:21 2006 [pid 17173] [ftp] OK LOGIN: Client "172.26.77.201", anon password "lftp@"
Thu Jan 19 01:39:23 2006 [pid 17360] CONNECT: Client "172.26.77.201"
Thu Jan 19 01:39:23 2006 [pid 17359] [ftp] OK LOGIN: Client "172.26.77.201", anon password "lftp@"
Thu Jan 19 01:39:35 2006 [pid 18248] CONNECT: Client "172.26.77.201"
Thu Jan 19 01:39:35 2006 [pid 18247] [ftp] OK LOGIN: Client "172.26.77.201", anon password "rogue@mapuna.junta.iitk.ac.in"
Thu Jan 19 01:42:22 2006 [pid 2555] CONNECT: Client "172.26.77.201"
Thu Jan 19 01:42:22 2006 [pid 2554] [ftp] OK LOGIN: Client "172.26.77.201", anon password "lftp@"
Wed Jan 18 20:12:30 2006 [pid 2557] [ftp] OK UPLOAD: Client "172.26.77.201", "/shared/Haddaway - What Is Love.mp3", 3772972 bytes, 7856.42Kbyte/sec
Thu Jan 19 01:44:11 2006 [pid 13177] CONNECT: Client "172.26.77.201"
Thu Jan 19 01:44:11 2006 [pid 13176] [ftp] OK LOGIN: Client "172.26.77.201", anon password "lftp@"
Wed Jan 18 20:14:20 2006 [pid 13178] [ftp] OK DOWNLOAD: Client "172.26.77.201", "/pnglogo-grr-anim-lc.mng", 214297 bytes, 8946.41Kbyte/sec

Please suggest a expression. I am a newbie :(

Report

C

xis

11 years ago

Hi,
Sorry for replying so late.

Well, I'm not the RegExp expert, but those logs look very similiar to the syslog's logs. Did you try to use one of the predefined log RegExps?
I can try to prepare one for you, but now I am very busy and I just have no time for MetaMonitor :( Maybe in a weekend I can try to work on this, and by the way, try to make a RegExp for you.

I'll see what I can do.
Cheers

Report

anupamsr

11 years ago

Thanks for your concern.

Report

wsjunior

11 years ago

This app is just amazing! :) Is there a .pot file to translate it to my native language?

Report

Andron

11 years ago

2 xis

Thanks for your quick reply. Will be wait a new version. I hope it will be soon...

Report

Andron

11 years ago

Hi

It's possible to make that it not one file was processed but several....

for exmple

/var/log/messages
/var/log/mail
/var/log/firewall

( SuSE 10 )

************************************
It's a bug : I mark the option "don't display pop-ups", but in such case in "Log Messages" window icons after restarting the program, resets to icons by default, but not those, whitch was setted by me....

:(

************************************
please give me the comments, how i can use it...?

^([^:]+(?::\d{&2}){2})\s*(\S*|\S*\s\S*:)\s*(.*)$

I can't set empty pop-up messages...

************************************

I express you huge gratitude for exellent done work
Have a nice day :)

Report

C

xis

11 years ago

"It's possible to make that it not one file was processed but several....

for exmple

/var/log/messages
/var/log/mail
/var/log/firewall"

Actually this is what I'm working on now :) It will be possible in 0.4.6. Stay tuned :)

"It's a bug : I mark the option "don't display pop-ups", but in such case in "Log Messages" window icons after restarting the program, resets to icons by default, but not those, whitch was setted by me...."

Thanks for reporting that!

"please give me the comments, how i can use it...?

^([^:]+(?::\d{&2}){2})\s*(\S*|\S*\s\S*:)\s*(.*)$

I can't set empty pop-up messages..."

Yes, it's quite difficult (I am trying to make it easier now). The point is that if you're using Syslog, you should set the /var/log/messages and the Syslog's regular expression. If you're using Metalog - this should be /var/log/everything/current and the Metalog's regexp. If you want to monitor any different file, you should set the custo regular expression which captures three columns of text (for the time, sender and message's text). As i said, it's quite difficult, but I hope it will be easier soon.

Thanks for your comment, have a good time!

Report

albireo

11 years ago

Hi,

First of all, congratulations for this great app. I've got a problem with the notifications. I use the kicker's option that make it dissapear when you are not over it. The problem is that I can't see the bottom half of the notification when kicker is not on top. Is there any way to fix this?

Thanks a lot.

Report

C

xis

11 years ago

Thanks! I added it to my TODO list :)

Report

rgfree

11 years ago

I'm using this for some weeks now and it's absolutely great. I'm appending all our servers log output to my local log via ssh/tail -f. I've set all php.ini-filed to dump errors to the system log. Now I'm getting a message on my desktop whenever any webpage shows an error. This is really useful. Some ideas for future improvement: Sorting by time does not work properly when more than one day is listed. The log view dialog window is quite slow here when there are lots of entries. Dont know if this can be speeded up some way though. And at last my #1 wish: Pressing a key (for example the "Break" key) prevents the current balloon popup from disappearing after the usual time-frame.

Report

C

xis

11 years ago

Thanks for your positive comment.
I like your suggestions very much, so I'll try to implement them. I added them to my TODO list :)

About slow messages list dialog - maybe ability to disable icons will help. I'll check it out.

Unfortunatelly I don't have a spare time right now, but I'll try to release the new version ASAP (I've found a memory leak in 0.4.5) and maybe some of your ideas (or all of them) will be there too.

Thanks

Report

rgfree

11 years ago

Great to hear this. I'm waiting (im-)patiently ;-)

Report

darkc

12 years ago

i tested both the src.rpm and the src tar
they configure without errors
but when i try to compile (with make) i get this :(

/bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m64 -mtune=nocona -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -o metamonitor -L/usr/X11R6/lib64 -L/usr/lib64/qt-3.3/lib -L/usr/lib main.o metamonitor.o popup.o filemonitor.o message.o messagetable.o configure.o popupmessage.o dcoplistener.o mfile.o mtrigger.o triggeredit.o dcoplistener_skel.o messagestablebase.o configurebase.o triggereditbase.o mfile.moc.o -lkio -lkdeui
libtool: link: cannot find the library `/usr/lib/libfam.la'

ok my system is fedora core 4 x86_64 i looked for libfam -> on my system there is no fam package instead its called gamin-devel-0.1.1-3.FC4. this rpm provides /usr/lib64/libfam.la and so forth but only 64bit versions in lib64 so they connot be found?? any ideas to fix this problem

thx a lot

Report

C

xis

12 years ago

Hi,
MM itself doesn't need FAM, but I guess it is the KDE dependency, so you need to have libfam.la on your disk. I think you can try install the gamin-devel and then do something like this before compiling MetaMonitor:

export LDFLAGS="-L/usr/lib64 $LDFLAGS"

Then try to compile MM as always (./configure && make && make install)

I hope it'll work.
Good luck

Report

loki

12 years ago

... are available here:
http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=/System/metamonitor
(SUSE 10.0, 9.3, 9.2 and 9.1)

x86_64 builds also available from the "suser-drcux" repository (for 10.0 and 9.3): http://ftp.gwdg.de/pub/linux/misc/suser-drcux/100/x86_64/

Report

kyromaster

12 years ago

It´s just (and I think most users want this) that I´d like to setup metamonitor without changing anything in my system configuration (which could then cause other problems). Even if I see only the "trusted" messages KDE shoudn´t crash if I tell metamonitor to watch this file.

Report

C

xis

12 years ago

I don't know why the whole KDE crashed after you opened a file and not only MetaMonitor did. MetaMonitor doesn't use KDE/Qt file mechanisms for watching the log files, so it is more strange to me. I tried to reproduce this situation with my MM and it worked fine (I don't have xmessages neither xconsole file, so i tried with the others - also devices - and it also worked). Of course the /dev directory files are a bit 'dangerous', for example - do not try to set the file /dev/console - it can hang your keyboard, and not only with MM!

Maybe you wanted to open some block device instead of a regular file? (haven't you mistaken the file name and tried to open xmessages instead of xconsole?)

All I can suggest is to look at the syslog-ng configuration files and try to reconfigure your daemon or ask other Suse users. Maybe there is some tip?

Regards

Report

12 years ago

0.4.5a:
+ Added Debian "unstable" package (for KDE 3.4.3) (Jérí´me Viscaino)

0.4.5:
+ Added spanish translation (Alejandro Araiza Alvarado)
* Updated other translations files
+ Added themes support (can set the skin, text colors and body layout with the qt richtext)
* Command's button -> Command's anchor
* Complete rebuild of the configuration window
* Fixed popup's positioning. Now it's sensitive on the tray's position and doesn't hide kicker
* Fixed keyboard shortcuts in the advanced config (thanks Florian)
* Changed the text in About-Window to a little less stupid ;)
+ Added ability to clear the log window
* Updated AUTHORS file

product-maker 61 304

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.4.5
updated Dec 21 2005
added Oct 24 2005
downloads today
0
page views today 2