
Server Status Widget
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
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
9 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)
9 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
5 years ago
Thank you!
Report
ab4bd
5 years ago
Thanks
Report
koko2k
7 years ago
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
7 years ago
Can you add IPv6 support (PING)?
Report
gnumdk
8 years ago
Report
ab4bd
9 years ago
Report
gnumdk
9 years ago
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
conrausch
9 years ago
Report
ab4bd
9 years ago
Report
PVince81
9 years ago
Report
kudlaty
9 years ago
Report
mattdeb
9 years ago
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
conrausch
9 years ago
Report
gianogli
9 years ago
:-)
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
9 years ago
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
conrausch
9 years ago
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
9 years ago
It's working great now. Whole compilation went without any errors.
Many thanks for a quick response and this great addon ;)
matt
Report
bruno666
9 years ago
http://dl.free.fr/pUPiCfCGD
Report
conrausch
9 years ago
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
9 years ago
This one should be up to date:
http://dl.free.fr/dQcEzAQL0
Report
terwarf
10 years ago
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
10 years ago
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
conrausch
9 years ago
I think it mainly needs more documentation, which is my next task. Thanks for the suggestion!
Report
terwarf
9 years ago
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
terwarf
10 years ago
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