Server Status Widget

Plasma 4 Extensions

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

28
8 .3
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:

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)

gzu

10 years ago

Hi,

Just discovered this plasmoid and I like it a lot. It would be good if some more checks could be added to it, like some of those in "Monit".
For example
check SSH connection on port 22
check apache server-status information.

Thanks,

Report

C

conrausch

10 years ago

Hi,

thanks for the suggestion, I never heard of Monit before and I will look at it for some ideas.

From what I can tell by a quick look at the manual it does many things similar to the widget though. Especially SSH connections can easily be tested already by setting the check type to "Socket connection" and the port to 22. Same goes for Apache and port 80, although the service info might offer more details of course.

Report

9

knightmb

10 years ago

That's what I do. I have it check the port number to see if the service is up or not for my web server, e-mail, etc. Works great because I can bring them up or down and the monitor catches it right away.

Report

9

knightmb

10 years ago

The new version is awesome. For a network admin, this is a must have plasmoid. You can set each server to a custom port check, time check, and custom name. Now I can have a nice monitor on my desktop background that will show if any server stops responding. When the notification settings are up and running in the future releases, I'll have another reason to cheer!

Report

mreloads

10 years ago

Builds OK, however, it is too big for panel. Also there should be option for hiding the name. Servers for monitoring could be available through popup menu. Anyway, this plasmoid has potential to be a server monitoring tool.

Report

C

conrausch

10 years ago

It's not meant for the panel, but as a desktop plasmoid. That is a pretty good idea, though. I will think of way to integrate that. How do you think it should look, if put into the panel? Only one Icon, which indicates if any one of the servers is down?

Report

C

conrausch

10 years ago

I was a little quick uploading.
I uploaded a new version without increasing the version number which fixes the build errors. That includes a fix in CMakeLists.txt for proper linking and a check for the KDE version (I used a KNotification function added in 4.3, but now 4.2 should work as well).

Sorry for any inconvenience...

Report

bram85

10 years ago

It does not build, I had to add these libraries to the target_link_libraries:

${QT_QTNETWORK_LIBRARY}
${KDE4_KIO_LIBS}

Report

C

conrausch

10 years ago

Thanks, fixed it (and actually another issue too. always use brain before uploading stuff :) )

Report

sidsoft

10 years ago

On the Gentoo Eduilds

Report

9

knightmb

11 years ago

The plasmoid has a memory leak of some kind. I use it to monitor about 13 servers and 16 nodes. After about half a day, it burns up almost 1GB of RAM.

Restart KDE and all is good until it churns all the memory again.

At first, I didn't know what the cause was until I did trial and error with each Plasmoid on my desktop until I was just left with this one.

I might take a look at the source code myself and see if I can help because I really had a good use for this plasmoid.

Report

9

borisdigital

11 years ago

Ip addresses and other hostnames like
localhost etc. will be supported in the
next version (an "insider" told me ;).

Just stay tuned.

Report

TheAbu

11 years ago

First of all thank you, I find it to be a good idea :)
There seems to be a little problem though, unless I do something wrong or it's related to Gentoo. When I enter, either a server name, or an ip address and close the configuration dialog. I only see "No servers configured" and if I reopen the configuration dialog, the "General" part, where the server should be is empty. It might be the way it's installed on (maybe some write permission problem). Anyway, I wouldn't mind creating a configuration file by hand (We are used to it on Gentoo ;) ) but I'd like to know what syntax I should use and where I should put it :) Thank you in advance J-L

Report

TheAbu

11 years ago

My bad, after checking the source code I understood why I had an issue. The regex checking simply reject the name of my local network, so, the mistake is on my side, not yours :)

Report

gabop

11 years ago

¿ What about an ip address ?
It does not seem to handle ip addresses like
xxx.yyy.zzz.www:1234
I vote this thing to be added to wish list.

Report

mononoke

11 years ago

Hi, i like this plasmoid.

How do you think about adding some features:
1. Possibility to assign an alias for each server.
2. Also it seems impossible to enter ip-adresses.
3. Showing Alias (or Hostname/IP) by choice for every diffrent server.
4. "the number of pings per check" and "interval in minutes" options could be adjustable for every diffrent server.

Maybe a simple table is the easy way for entering the prefered settings.

The Plasmoid could look like this:
X fritz.box
X google.de
0 Susi's Kiste
0 Ubus Laptop

Thanks

Report

ericb

11 years ago

Great idea really.
But I when one of the servers is not reachable (DNS resolver is actually the blocker in my case) My whole desktop freezes.
This happens periodically on each try.

Report

acidicchip

11 years ago

In Kubuntu Jaunty (KDE 4.2) it the container doesn't expand with it's contents.

Report

WMP

11 years ago

In server list i have:

xxxa:80
xxxb
xxxc:80
xxxd:80
xxxe:80

I see warning icon but www work great in this server.

Report

C

conrausch

11 years ago

which one shows the warning? one with port number or the one without? also, does it show warning or error? because warning usually means something went wrong locally (maybe wrong/invalid hostname, or s/t like that).

Report

9

borisdigital

11 years ago

Wishlist:

configurable iconsmore server status options (online-offline-slow/bad connection?)KDE notifications on server fail etc....


Boris owes Conni a frakkin' cold beer.

Report

WMP

11 years ago

Please - option to check do con't connect to port 80.

Report

scomar

11 years ago

++

Quote:# KDE notifications on server fail etc.

Report

patkoscsaba

11 years ago

More to the wishlist, use of snmp to monitor specific parameters. This way routers and managed switches can be monitored in detail ...

Great idea this plasmoid is :D

Report

Sheridan

11 years ago

Hi
Can you add ability for check ports on servers? Simple connect/disconnect

Report

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)

12345678910
125
product-maker jrjohnstone Apr 05 2012 9 excellent
product-maker jnandreae Jan 06 2012 9 excellent
product-maker PVince81 Dec 07 2011 9 excellent
product-maker ab4bd Oct 17 2011 9 excellent
product-maker agaya Mar 29 2011 9 excellent
product-maker hostmaster2 Mar 09 2011 9 excellent
product-maker mattdeb Mar 09 2011 9 excellent
product-maker bugmenot1234 Mar 08 2011 9 excellent
product-maker borisdigital Mar 06 2011 9 excellent
product-maker bruno666 Mar 06 2011 9 excellent
product-maker alno Feb 25 2011 9 excellent
product-maker terwarf Feb 22 2011 9 excellent
product-maker BenderBendingRodriguez Feb 18 2011 9 excellent
product-maker fdsyncmaster Jan 18 2011 9 excellent
product-maker jackyohh Jan 05 2011 9 excellent
product-maker gianogli Jan 05 2011 9 excellent
product-maker liquidsky Jan 04 2011 9 excellent
product-maker mio Jan 04 2011 9 excellent
product-maker vitoubien Jan 03 2011 3 bad
product-maker dreamsoul Jan 03 2011 9 excellent
product-maker kudlaty Dec 20 2010 9 excellent
product-maker nikore90 Dec 19 2010 9 excellent
product-maker warlockrf Dec 19 2010 9 excellent
product-maker ZaWertun Dec 19 2010 9 excellent
product-maker deabru Dec 18 2010 9 excellent
product-maker knightmb Nov 15 2010 9 excellent
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
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 Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.5.1
updated Mar 08 2011
added Mar 20 2009
downloads 24h
0
mediaviews 24h 0
pageviews 24h 8