-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login



Sponsoring


-
- Content .- Fans (1) .- Knowledge Base  . 

Interceptor

   1.2.9  

Plasmoid Binary

Score 65%
Interceptor
zoom


Link:  Link
Depends on  KDE 4.x
Downloads:  434
Submitted:  Jan 12 2011
Updated:  Sep 8 2011

Description:

Interceptor is a Plasmoid for KDE4 on Posix systems, such as Linux. Its role is
to intercept (catch) the log info from the syslog daemon, to flash whenever a
log line is processed, and display it on a panel.
In addition, interceptor can send an adequate notification to the
KDE4 systray when a log line matches a given regular expression.
This notification can even include an interaction, i.e. a button is
displayed, that executes a command when clicked.




Changelog:

Should work with OpenSUSE 11.4




LicenseGPL
Send to a friend
Subscribe
Other  Artwork  from skylendar
Report inappropriate content



goto page: prev   1  2  3  4 

-

 1.2.5 released

 
 by skylendar on: Feb 25 2011
 
Score 50%

Btw, a couple of days ago, I released the version 1.2.5, that includes the modified install script.


Reply to this

-

 Not following colour scheme

 
 by skylord on: Jun 14 2011
 
Score 50%

It would seem that unlike previous versions yesterday's 1.26 version is no longer following the KDE colour scheme. I know have black text on a transparant background in this plasmoid, where in all others I have white text. (SuSE 11.4, KDE 4.6.3)


Reply to this

-

 Testing on Kubuntu 11.04

 
 by tanghus on: Jun 14 2011
 
Score 50%

I installed the Plasmoid earlier today but I changed the cmake command to:
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
because Kubuntu doesn't set KDEDIRS (or KDEDIR) so /usr/local isn't used :-/

- For some reason the icon isn't shown in the "Add Widgets" list. It's installed in:

/usr/share/icons/oxygen/scalable/apps/interceptor.svgz
/usr/share/kde4/apps/desktoptheme/default/widgets/interceptor.svgz

which should be correct as other apps also store the icons there.

- Nothing is logged in the plasmoid. /var/run/interceptor/ contains:


prw-r--r-- 1 root root 0 2011-06-14 10:07 alert
prw-r--r-- 1 root root 0 2011-06-14 10:07 crit
prw-r--r-- 1 root root 0 2011-06-14 10:07 debug
prw-r--r-- 1 root root 0 2011-06-14 10:07 emerg
prw-r--r-- 1 root root 0 2011-06-14 10:07 err
prw-r--r-- 1 root root 0 2011-06-14 10:07 info
prw-r--r-- 1 root root 0 2011-06-14 10:07 notice
prw-r--r-- 1 root root 0 2011-06-14 10:07 warning

/etc/rsyslog.conf contains:


# Entries for interceptor

*.=debug |/var/run/interceptor/debug;RSYSLOG_TraditionalFileFormat
*.=info |/var/run/interceptor/info;RSYSLOG_TraditionalFileFormat
*.=notice |/var/run/interceptor/notice;RSYSLOG_TraditionalFileFormat
*.=warning |/var/run/interceptor/warning;RSYSLOG_TraditionalFileFormat
*.=err |/var/run/interceptor/err;RSYSLOG_TraditionalFileFormat
*.=crit |/var/run/interceptor/crit;RSYSLOG_TraditionalFileFormat
*.=alert |/var/run/interceptor/alert;RSYSLOG_TraditionalFileFormat
*.=emerg |/var/run/interceptor/emerg;RSYSLOG_TraditionalFileFormat

It has been running for 4-5 hours so shouldn't it have logged something? /var/log/syslog is full of entries for that period.

Hope you can help 'cause I could really use this tool.

/Thomas


Reply to this

-

 Re: Testing on Kubuntu 11.04

 
 by skylendar on: Jun 14 2011
 
Score 50%

The current version has a problem. Get back the 1.2.5.

The better is sometime the enemy of the good.


Reply to this

-

 Re: Re: Testing on Kubuntu 11.04

 
 by tanghus on: Jun 14 2011
 
Score 50%

Yup - the devil is in the details ;-)

Will I have to re-run mkintfifos or anything?


Reply to this

-

 Re: Re: Re: Testing on Kubuntu 11.04

 
 by skylendar on: Jun 14 2011
 
Score 50%

No, install the 1.2.5. It should work.


Reply to this

-

 1.2.7

 
 by skylendar on: Jun 15 2011
 
Score 50%

Ok, I have just released interceptor 1.2.7. It should correctly display the log lines. Tell me if it works ...


Reply to this

-

 Re: 1.2.7

 
 by tanghus on: Jun 15 2011
 
Score 50%

I still get no log lines. Neither with 1.2.5 nor with 1.2.7.
Anything I can do to debug this?

/Thomas


Reply to this

-

 Re: Re: 1.2.7

 
 by skylendar on: Jun 15 2011
 
Score 50%

Could you tell me what happens when you make a 'make install' ?


Reply to this

-

 Re: 1.2.7

 
 by tanghus on: Jun 15 2011
 
Score 50%

tol@tanghus:~/Downloads/interceptor/build$ sudo rm /usr/lib/kde4/interceptor_engine.so /usr/share/kde4/services/interceptorengine.desktop /usr/lib/kde4/interceptor.so /usr/share/kde4/services/interceptor.desktop /usr/share/kde4/apps/interceptor/interceptor.notifyrc /usr/share/kde4/apps/desktoptheme/default/widgets/interceptor.svgz /usr/share/icons/oxygen/scalable/apps/interceptor.svgz /usr/bin/mkintfifos
tol@tanghus:~/Downloads/interceptor/build$ sudo make install
[ 0%] Built target interceptor_automoc
[ 75%] Built target interceptor
[ 75%] Built target interceptor_engine_automoc
[100%] Built target interceptor_engine
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /usr/lib/kde4/interceptor_engine.so
-- Installing: /usr/share/kde4/services/interceptorengine.desktop
-- Installing: /usr/lib/kde4/interceptor.so
-- Installing: /usr/share/kde4/services/interceptor.desktop
-- Installing: /usr/share/kde4/apps/interceptor/interceptor.notifyrc
-- Installing: /usr/share/kde4/apps/desktoptheme/default/widgets/interceptor.svgz
-- Installing: /usr/share/icons/oxygen/scalable/apps/interceptor.svgz
-- Installing: /usr/bin/mkintfifos

Still nothing. plasmaengineexplorer sees the engine but shows 0 data sources.


Reply to this

-

 Re: Re: 1.2.7

 
 by skylendar on: Jun 16 2011
 
Score 50%

mmmh, the installation seems correct. I assume that the interceptor stuff is installed into the right directories. I seldom use opensuse. I can't tell.

Ok, let's test if the fifos work. In a shell, type the command:

cat /var/run/interceptor/notice

and in another

logger "xxxxx"

In the first shell, you should be able to seee the xxxxx. Of course without interceptor.


Reply to this

-

 Re: Re: 1.2.7

 
 by skylendar on: Jun 16 2011
 
Score 50%

mmmh, the installation seems correct. I assume that the interceptor stuff is installed into the right directories. I seldom use opensuse. I can't tell.

Ok, let's test if the fifos work. In a shell, type the command:

cat /var/run/interceptor/notice

and in another

logger "xxxxx"

In the first shell, you should be able to seee the xxxxx. Of course without interceptor.


Reply to this

-

 Re: 1.2.7

 
 by tanghus on: Jun 16 2011
 
Score 50%

Nope, nothing gets thru.

BTW: I run Kubuntu ;-)


Reply to this

-

 Re: Re: 1.2.7

 
 by skylendar on: Jun 16 2011
 
Score 50%

before making the test, you completely remove interc and even restart kde



-

 Re: 1.2.7

 
 by tanghus on: Jun 16 2011
 
Score 50%

I removed Interceptor from the desktop, rm'd all the installed files, restarted kde and ran the test to no avail. I have next to no experience with fifos or (r)syslog for that matter, so I can only follow your instructions...



-

 Of course you have rebooted

 
 by skylendar on: Jun 16 2011
 
Score 50%

Of course you have rebooted your computer.
Let's see if you can have an acces to your fifos

ls -l /var/run/interceptor/*


Reply to this

-

 Re: Of course you have rebooted

 
 by tanghus on: Jun 16 2011
 
Score 50%

Looks OK:


ls -l /var/run/interceptor/*
prw-r--r-- 1 root root 0 2011-06-15 15:45 /var/run/interceptor/alert
prw-r--r-- 1 root root 0 2011-06-15 15:45 /var/run/interceptor/crit
prw-r--r-- 1 root root 0 2011-06-15 15:45 /var/run/interceptor/debug
prw-r--r-- 1 root root 0 2011-06-15 15:45 /var/run/interceptor/emerg
prw-r--r-- 1 root root 0 2011-06-15 15:45 /var/run/interceptor/err
prw-r--r-- 1 root root 0 2011-06-15 15:45 /var/run/interceptor/info
prw-r--r-- 1 root root 0 2011-06-15 15:45 /var/run/interceptor/notice
prw-r--r-- 1 root root 0 2011-06-15 15:45 /var/run/interceptor/warning


Reply to this

-

 Re: Re: Of course you have rebooted

 
 by skylendar on: Jun 16 2011
 
Score 50%

and syslog.conf ?


Reply to this

-

 Re: Re: Re: Of course you have rebooted

 
 by tanghus on: Jun 16 2011
 
Score 50%

/etc/rsyslog.conf:

# Entries for interceptor

*.=debug |/var/run/interceptor/debug;RSYSLOG_TraditionalFileFormat
*.=info |/var/run/interceptor/info;RSYSLOG_TraditionalFileFormat
*.=notice |/var/run/interceptor/notice;RSYSLOG_TraditionalFileFormat
*.=warning |/var/run/interceptor/warning;RSYSLOG_TraditionalFileFormat
*.=err |/var/run/interceptor/err;RSYSLOG_TraditionalFileFormat
*.=crit |/var/run/interceptor/crit;RSYSLOG_TraditionalFileFormat
*.=alert |/var/run/interceptor/alert;RSYSLOG_TraditionalFileFormat
*.=emerg |/var/run/interceptor/emerg;RSYSLOG_TraditionalFileFormat
(


Reply to this

-
.

 Re: Re: Re: Re: Of course you have rebooted

 
 by skylendar on: Jun 16 2011
 
Score 50%

Except the entries for interceptor, rsyslog.conf seems empty. Have you listed the full file or just the end ?
Maybe kubuntu doesn't use rsyslog, but rather syslog or another logging daemon. Check if syslog.conf exists and if it contains something


Reply to this

-

 Re: Of course you have rebooted

 
 by tanghus on: Jun 16 2011
 
Score 50%

It was just the bottom part and it does run rsyslog.

/var/log/syslog:

Jun 16 07:41:28 tanghus rsyslogd: [origin software="rsyslogd" swVersion="4.6.4" x-pid="1014" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.

ps ax|grep syslog
1014 ? Sl 0:00 rsyslogd -c4
2142 ? S<sl 33:49 /usr/bin/pulseaudio --start --log-target=syslog


Reply to this

-

 Re: Of course you have rebooted

 
 by tanghus on: Jun 16 2011
 
Score 50%

If I in one terminal run:

cat /var/run/interceptor/info

and in another - as root - run:

ls > /var/run/interceptor/info

I get the output in the first terminal and the pipe is closed (or I guess it's closed because cat stops 'listening').


Reply to this

-

 Re: Re: Of course you have rebooted

 
 by skylendar on: Jun 16 2011
 
Score 50%

mmmh you shouldn't do a

ls > /var/run/interceptor/info

but rather

ls | logger -p daemon.info

then you can retrieve the ls results with

cat /var/run/interceptor/info



-

 Re: Re: Of course you have rebooted

 
 by skylendar on: Jun 16 2011
 
Score 50%

mmmh you shouldn't do a

ls > /var/run/interceptor/info

but rather

ls | logger -p daemon.info

then you can retrieve the ls results with

cat /var/run/interceptor/info



-

 Re: Re: Of course you have rebooted

 
 by skylendar on: Jun 16 2011
 
Score 50%

mmmh you shouldn't do a

ls > /var/run/interceptor/info

but rather

ls | logger -p daemon.info

then you can retrieve the ls results with

cat /var/run/interceptor/info



-

 Re: Of course you have rebooted

 
 by tanghus on: Jun 16 2011
 
Score 50%

> ls | logger -p daemon.info

That came thru to /var/log/syslog

Jun 16 18:36:46 tanghus logger: Desktop
Jun 16 18:36:46 tanghus logger: Documents
Jun 16 18:36:46 tanghus logger: Downloads
Jun 16 18:36:46 tanghus logger: Dropbox

But not to the fifo. Are the settings in rsyslog.conf correct? I'll have to read some man pages ;-)



-

 Re: Re: Of course you have rebooted

 
 by skylendar on: Jun 16 2011
 
Score 50%

mmmh you shouldn't do a

ls > /var/run/interceptor/info

but rather

ls | logger -p daemon.info

then you can retrieve the ls results with

cat /var/run/interceptor/info



-

 Re: Of course you have rebooted

 
 by tanghus on: Jun 16 2011
 
Score 50%

A bit more testing.

I install Interceptor again and add the widget to the dashboard. Again as root I run:

ls > /var/run/interceptor/info

The command hangs and nothing shows in the widget. Only when I run:

cat /var/run/interceptor/info

the ls process finishes. Is the widget listening to the right pipe(s)?


Reply to this

-

 Re: Re: Of course you have rebooted

 
 by skylendar on: Jun 16 2011
 
Score 50%

your entries on rsyslog.conf seem correct. I got the same. Nevertheless it doesn't work...
try those entries but without

;RSYSLOG_TraditionalFileFormat



-

 Re: Of course you have rebooted

 
 by tanghus on: Jun 16 2011
 
Score 50%

This is getting weird. I did some editing in rsyslog.conf (which didn't work) redid what I'd edited and restarted the rsyslog daemon.
And now it seems to work!?!
And interesting entry in the log was:


Jun 16 19:25:45 tanghus rsyslogd: rsyslogd's groupid changed to 103
Jun 16 19:25:45 tanghus rsyslogd: rsyslogd's userid changed to 101

Can it be because of some faulty permissions?



-

 maybe an inadequate permission

 
 by skylendar on: Jun 16 2011
 
Score 50%

ok, if it works, you could reinstall interceptor.


Reply to this

-

 Re: maybe an inadequate permission

 
 by tanghus on: Jun 16 2011
 
Score 50%

Problem is that once rebooted I have to manually restart rsyslog again.
I'll have to fiddle around with it a bit and see if I can make it work.
Thanks for all your help and time spent :-)
I'll post some (K)Ubuntu workarounds if I find any ;-)

/Thomas


Reply to this

goto page: prev   1  2  3  4 

Add commentBack






-

-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore




 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
News RSS   
Discussion RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About KDE-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2001-2014 KDE-Look.org Team  
All rights reserved. KDE-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.