Server Status Widget

Plasma 4 Widgets

Source (required if based on other people's work):

28
Score 86%
Description:

The Server Status Widget is a Plasma widget (a.k.a. applet or Plasmoid) for your KDE desktop.

This widget/applet/plasmoid lets you monitor one or more servers via pings, TCP connects or custom unix commands in a configurable interval. The icon changes if a server does not respond to a check, optionally triggering configurable KDE notifications.

Feedback is always welcome, best way is through KDE-Look, but you can also mail me (see the README). Let me know if you find any bugs.

Per server notifications
Finally, the widget has per server notifications. This means you should be able to use notifications as a means to do selective logging, execute certain scripts for special servers and many more.

Panel support
The widget can now sit in the panel as icon and shows the servers on click. The icon used in the panel signals the worst status of any of the servers (see screenshot 3).

Also, I am still looking for translators. Just sayin' :)
Please consult the wiki (linked below) if you can help me with that...


Gentoo users:
The ebuild is now in portage (unstable)!
http://packages.gentoo.org/package/kde-misc/serverstatuswidget
Until it is up to date, there is an ebuild below...

Archlinux users:
There is a PKGBUILD in the AUR now (1.5.1):
http://aur.archlinux.org/packages.php?ID=47270

Fedora users:
There are packages available in the PhobOS repository. Per Authors request I am not directly linking the packages so you can read the disclaimer first.
http://phobos.floriansievert.de/package.php?release=F14&package=kde-plasma-serverstatus

OpenSUSE users:
You can find up-to-date packages in the official package database, make sure to pick a package matching your distro version:
http://software.opensuse.org/search?q=serverstatus&exclude_debug=true

Compilation instructions are included in the tarball and in the INSTALL file linked below. If you know how to build packages for your favorite distro, let me know and I will put them up here.

Have fun, conrausch.
Feedback welcome :)


GITORIOUS PROJECT:
http://gitorious.org/serverstatuswidget

README:
http://gitorious.org/serverstatuswidget/pages/Readme

INSTALL:
http://gitorious.org/serverstatuswidget/pages/Installation

WIKI:
http://gitorious.org/serverstatuswidget/pages/Home
Last changelog:

7 years ago

1.5.1
- Update french translation (thanks bruno666)
- Add compatibility for for KDE 4.4 and below

1.5
- Per server notifications
- Panel support (collapse to icon)
- French translation (thanks bruno666)

kdeguru1000

2 years ago

This applet stopped working with KDE upgrade to Plasma 5. Are there any plans to add support? If not what are the workarounds/alternative solutions?
Thank you!

Report

ab4bd

2 years ago

Any chance of a version that works in Plasma5?

Thanks

Report

koko2k

5 years ago

Great plasmoid, i'm using it on a workstation at work to check other server status.
What i think would be useful is to have the date/hour of the event up/down in the notifications.

Could it be possible to add that feature?

thanks!

Report

GeBu

5 years ago

Hi, the program is amazing. Thanks.
Can you add IPv6 support (PING)?

Report

gnumdk

6 years ago

When a server fail and then go back ok, popup still show "one server down"

Report

ab4bd

6 years ago

If you uncheck the active check box in the server configuration it does not remove it from the displayed list and appears to continue checking the server and indicating it's status.

Report

gnumdk

6 years ago

Since KDE 4.7.2, it make plasma-desktop segfault...

in fact, plasma keep running but i've got a segfault warning per server:

KCrash: Attempting to start /usr/bin/plasma-desktop from kdeinit
KCrash: Attempting to start /usr/bin/plasma-desktop from kdeinit
KCrash: Attempting to start /usr/bin/plasma-desktop from kdeinit
KCrash: Attempting to start /usr/bin/plasma-desktop from kdeinit
KCrash: Attempting to start /usr/bin/plasma-desktop from kdeinit
KCrash: Attempting to start /usr/bin/plasma-desktop from kdeinit
KCrash: Attempting to start /usr/bin/plasma-desktop from kdeinit
KCrash: Attempting to start /usr/bin/plasma-desktop from kdeinit
KCrash: Attempting to start /usr/bin/plasma-desktop from kdeinit
KCrash: Attempting to start /usr/bin/plasma-desktop from kdeinit
KCrash: Attempting to start /usr/bin/plasma-desktop from kdeinit
KCrash: Attempting to start /usr/bin/plasma-desktop from kdeinit
KCrash: Application 'plasma-desktop' crashing..

Report

C

conrausch

6 years ago

I have no problems in 4.7.4. Maybe you need to recompile and reinstall? What checks are you using?

Report

ab4bd

7 years ago

Would be dandy to be able to click on the red X shield in the list and have it quickly recheck to see if it was just a brief outage.

Report

PVince81

6 years ago

I agree with this. Clicking on the applet should refresh all servers and clicking on a single server's should refresh only that one.

Report

kudlaty

7 years ago

Thanks for adding panel support, this makes this great plasmoid even more useful to me. And it was already pretty useful before. :)

Report

mattdeb

7 years ago

Hi,
I'm trying to install your widget on Debian Wheezy amd64, but im getting some errors when executing make. Cmake without any errors. Could you please have a look at this?

Quote:
matt@deblap:~/Downloads/serverstatuswidget-1.5/build$ make
Scanning dependencies of target plasma_applet_serverstatus_automoc
Generating socketcheck.moc
Generating serverstatusconfig.moc
Generating check.moc
Generating serverstatusapplet.moc
Generating pingcheck.moc
Generating commandcheck.moc
Generating moc_server.cpp
Generating moc_servericon.cpp
[ 0%] Built target plasma_applet_serverstatus_automoc
[ 5%] Generating ui_commandchecksettings.h
[ 11%] Generating ui_generalsettings.h
[ 17%] Generating ui_appearancesettings.h
[ 23%] Generating ui_notificationsettings.h
[ 29%] Generating ui_serversettings.h
[ 35%] Generating ui_pingchecksettings.h
[ 41%] Generating ui_socketchecksettings.h
Scanning dependencies of target plasma_applet_serverstatus
[ 47%] Building CXX object src/CMakeFiles/plasma_applet_serverstatus.dir/plasma_applet_serverstatus_automoc.o
[ 52%] Building CXX object src/CMakeFiles/plasma_applet_serverstatus.dir/serverstatus.o
[ 58%] Building CXX object src/CMakeFiles/plasma_applet_serverstatus.dir/check.o
[ 64%] Building CXX object src/CMakeFiles/plasma_applet_serverstatus.dir/server.o
[ 70%] Building CXX object src/CMakeFiles/plasma_applet_serverstatus.dir/servericon.o
[ 76%] Building CXX object src/CMakeFiles/plasma_applet_serverstatus.dir/pingcheck.o
[ 82%] Building CXX object src/CMakeFiles/plasma_applet_serverstatus.dir/socketcheck.o
[ 88%] Building CXX object src/CMakeFiles/plasma_applet_serverstatus.dir/commandcheck.o
[ 94%] Building CXX object src/CMakeFiles/plasma_applet_serverstatus.dir/serverstatusapplet.o
/home/matt/Downloads/serverstatuswidget-1.5/src/serverstatusapplet.cpp: In member function ‘void ServerStatus::Applet::rebuildLayout()’:
/home/matt/Downloads/serverstatuswidget-1.5/src/serverstatusapplet.cpp:175: error: ‘class ServerStatus::ServerIcon’ has no member named ‘setMinimumIconSize’
/home/matt/Downloads/serverstatuswidget-1.5/src/serverstatusapplet.cpp:203: error: ‘class ServerStatus::ServerIcon’ has no member named ‘setMinimumIconSize’
make[2]: *** [src/CMakeFiles/plasma_applet_serverstatus.dir/serverstatusapplet.o] Błąd 1
make[1]: *** [src/CMakeFiles/plasma_applet_serverstatus.dir/all] Błąd 2
make: *** [all] Błąd 2
matt@deblap:~/Downloads/serverstatuswidget-1.5/build$


"Błąd" means "Error" in Polish ;)

Thanks in advance
matt

Report

C

conrausch

7 years ago

Mmh, strange. Can you tell me what version of Qt and KDE you are using?

Report

gianogli

7 years ago

I think that he's using a version of KDE < 4.5
:-)

http://api.kde.org/4.4-api/kdelibs-apidocs/plasma/html/classPlasma_1_1IconWidget.html

http://api.kde.org/4.5-api/kdelibs-apidocs/plasma/html/classPlasma_1_1IconWidget.html

Report

mattdeb

7 years ago

Hi,

Yes, Gianogli is right. I'm using KDE 4.4.5-2 and Qt 4.6.3, both installed from Debian Wheezy repos.

matt

Report

C

conrausch

7 years ago

Hey,

I uploaded a new version that should compile on KDE 4.4 and below. The layout engine might misbehave in some situations when resizing the widget, but since that should not happen very often, you will most likely be content the way it is :)

Report

mattdeb

7 years ago

Hi,

It's working great now. Whole compilation went without any errors.

Many thanks for a quick response and this great addon ;)

matt

Report

bruno666

7 years ago

Here's the French translation :

http://dl.free.fr/pUPiCfCGD

Report

C

conrausch

7 years ago

Awesome, merci beaucoup :)

It came just in time for the next version! This unfortunately means it is now missing a few lines, but i think that's not really a problem.

Report

bruno666

7 years ago

Ok I've just merged the fr.po file with the .pot file from gitorious and translated the few remaining strings.

This one should be up to date:

http://dl.free.fr/dQcEzAQL0

Report

terwarf

7 years ago

First, I really love this applet. It's really nice to have the status of differnt services right on the desk...

Wish: Let the user define an action when he clicks the name or shield of an server: open the url in default browser or run a custom command (e.g. xterm -e ssh somedomain.com, maybe add something like %u in the custom command field to take the servers url).

Problem: The command option don't work for me - even if i write a script with only "exit 1" in it, the sign will stay green :( - wondering now if it's just me (and my crude system ;)) or if that's a real bug...
(Using 1.4 compiled by myself on openSuSE with kde-unstable)

Report

terwarf

7 years ago

Sorry - I got it - don't use "~", use full path *head -> table*...
Maybe it would be nice to do a check and give a warning, if the file can't be found. And maybe add a file select dialog, since imho most people will use scripts located somewhere in their home dir.

Thanks for your great work!

Report

terwarf

7 years ago

Sorry - I got it - don't use "~", use full path *head -> table*...
Maybe it would be nice to do a check and give a warning, if the file can't be found. And maybe add a file select dialog, since imho most people will use scripts located somewhere in their home dir.

Thanks for your great work!

Report

C

conrausch

7 years ago

Done :)

I think it mainly needs more documentation, which is my next task. Thanks for the suggestion!

Report

terwarf

7 years ago

Thanks a lot, very nice work.
Now i'm just waiting for user defined actions on click at a servers name ;)

Keep up your great work and thank you again for this great plasmoid.
(It even does a great job in monitoring svn repos for new commits, just to give an idea of additional use...)

Report

7 years ago

1.5.1
- Update french translation (thanks bruno666)
- Add compatibility for for KDE 4.4 and below

1.5
- Per server notifications
- Panel support (collapse to icon)
- French translation (thanks bruno666)

product-maker jrjohnstone Apr 05 2012

product-maker jnandreae Jan 06 2012

product-maker PVince81 Dec 07 2011

product-maker ab4bd Oct 17 2011

product-maker agaya Mar 29 2011

product-maker hostmaster2 Mar 09 2011

product-maker mattdeb Mar 09 2011

product-maker bugmenot1234 Mar 08 2011

product-maker borisdigital Mar 06 2011

product-maker bruno666 Mar 06 2011

product-maker alno Feb 25 2011

product-maker terwarf Feb 22 2011

product-maker fdsyncmaster Jan 18 2011

product-maker jackyohh Jan 05 2011

product-maker gianogli Jan 05 2011

product-maker liquidsky Jan 04 2011

product-maker mio Jan 04 2011

product-maker vitoubien Jan 03 2011

product-maker dreamsoul Jan 03 2011

product-maker kudlaty Dec 20 2010

product-maker nikore90 Dec 19 2010

product-maker warlockrf Dec 19 2010

product-maker ZaWertun Dec 19 2010

product-maker deabru Dec 18 2010

product-maker knightmb Nov 15 2010

product-maker 6 47

dharman

Apr 18 2014

GeBu

Jun 18 2013

jowi24

May 11 2012

jrjohnstone

Apr 05 2012

tcat

Jul 11 2011

hostmaster2

Mar 09 2011

mattdeb

Mar 09 2011

alno

Feb 25 2011

terwarf

Feb 22 2011

Yggdrasill

Jan 08 2011

jackyohh

Jan 05 2011

buschmann23

Jan 05 2011

gianogli

Jan 05 2011

mio

Jan 04 2011

Phobeus

Jan 04 2011

deabru

Dec 18 2010

kudlaty

Jun 02 2010

gravy

Apr 24 2010

jsimek

Apr 17 2010

liquidsky

Apr 04 2010

opaflamme

Feb 20 2010

ingame

Dec 30 2009

gooler

Dec 23 2009

hteles

Dec 22 2009

gzu

Dec 14 2009

knightmb

Sep 07 2009

mononoke

May 22 2009

borisdigital

Mar 20 2009
File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
1.5.1
updated Mar 08 2011
added Mar 20 2009
downloads today
0
page views today 0