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)

9

gianogli

9 years ago

This plasmoid for me is very useful but I have some ideas for you to improve its usability. :-)

1) "Per server notifications": one of my biggest problems is that is not possible to execute a different shell script (or notification) for every monitored server (when it go up or down...).
Could you implement this feature?

2) "Logging feature": the workstation in my office (where I have installed this plasmoid) is up 24/7. When I go to my office in the morning I can see the plasmoid (and all the shields always green!) but I can't understand for instance if in the night one of the monitored server is gone down for some minutes and then up again. Could you add the possibility of log all the event (when and what a server is gone down and/or up) in a txt file or into the plasmoid with a text widget?

3) "Endless ping": now I can test if a server is up only every N seconds for M pings. What do you think to implement a test with an endless ping (with -i ping option variable)? In this case a server would be down when it doesn't respond at almost M consecutive pings and it would be up when respond at almost N consecutive pings.

4) "Plasmoid in the KDE bar": when there are a lot of servers is not possible to use this plasmoide in the
KDE bar but only on the desktop. If on my desktop I have open only a full screen window (and I've disabled the notification) I can't see if a server is gone down. I think that the better thing to do is to implement a small plasmoid with only a little shield. We could put it in the KDE bar and when we see a red shield we could click on it with the mouse to see the report of what appen or the status of all the servers or other info...

What do you think about my 4 ideas?
You could implement it?

Thanks for your cooperation! :-)
Bye bye...

Report

C

conrausch

9 years ago

That are some good ideas, thank you. Especially logging should be easy to implement. Number four has been mentioned before, so I will look into that to, and per server notifications is on the stack anyways. I don't get number 3 though. What's the difference between the two? And also, ping -i never returns, so you can't check the return value, which is what I currently do. Maybe you can elaborate? Anyways, thanks for the feedback and stay tuned for future releases :)

Report

9

gianogli

9 years ago

Ok about "logging feuture", "per server notifications" (the most important thing in my opinion!) and "plasmoid in the KDE bar".
Now I try to explain my problem about "endless ping". :-)
I would use your plasmoid not to see if a server is gone definitely down but if the network from my workstation to the monitored server go down also for less than a second... like when you use in a console the command "ping -i 0.1 IP_SERVER". Now I've understood how you use the ping command into the plasmoid and I think that what I would want to do is not possible.
I hope to see early a new version of your plasmoid! ;-)
Thanks again! :-)

Report

C

conrausch

9 years ago

Thanks for your suggestions, I hope you enjoy the new version!

Report

9

gianogli

9 years ago

Wonderful!!!
Great work!!! :-)

Report

9

fdsyncmaster

9 years ago

Great App. This is exactly what I was looking for, to monitor my remote NAS server and ADSL router. Thanks!

Report

9

deabru

9 years ago

http://download.opensuse.org/repositories/home:/deabru:/KDE/

My first package and my first repo, so... contact me if any problem.

Packages for RC2 comming soon.

Report

joelp

9 years ago

There is my new build (64bit) of version 1.3.
http://joelp.cz/download/serverstatuswidget/mandriva2010.2/

Report

C

conrausch

9 years ago

Thanks a lot! I am linking these in the downloads, let me know if you have objections.

Report

joelp

9 years ago

It's OK ;)

Report

joelp

10 years ago

There is rpm for Mandriva 64bit of version 1.2.
http://joelp.cz/balicek_server_status_widget_12_pro_mandrivu__54

Report

talvik

10 years ago

Instead of limiting it just to just ping and tcp. It would be nice if it could run any command when the process ends successfully GREEN if the process returns anything but 0 then RED!
It would enable much more complex checks.
Thumbs up for your plasmoid.

Report

wtbennington

10 years ago

Get Message:

This object could not be created for the following reason:

Could not find requested component: serverstatus

Report

9

knightmb

10 years ago

I have it running on mine (64 bit Mandriva 2010 as well). Do you get any errors when compiling?

Report

wtbennington

10 years ago

Sorry, I am rather new to linux and don't know how to compile. What should I do?

Report

joelp

10 years ago

Just download my package http://joelp.cz/balicek_server_status_widget_12_pro_mandrivu__54 :)

Report

9

knightmb

10 years ago

Look for the file "INSTALL", it has step by step instructions on how to compile and install it. Don't worry if you are new, if you find the terminal and know what your root password is, that's all you need to compile and install the software.

I don't know if a package has been made for 2010.0 yet, but I guess if enough people need it I might take a try at putting together a package for it.

Report

wtbennington

10 years ago

Ok I tried following the directions using the make command but it didnt seem to like the -D portion and didnt know what to do. So I then installed cmake and copy and pasted "$>cmake -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) .."

When I do this it says command not found and creates a cmake txt file.

Report

9

knightmb

10 years ago

Hehe, where did the knowledge base button go? This would be perfect for it.

I think you are copy/pasting the console in with the command?

Shorten it to:
cmake -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) ..

The $> part just represents that you must run the command from the console.

Report

wtbennington

10 years ago

Oops, i did it without that first and then did it with it, not thinking anyway here is the error message I get now.

cmake -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) ..
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in
/home/wtbennington/Downloads/serverstatuswidget-1.2/Build
CMake Error: Error executing cmake::LoadCache(). Aborting.

Report

dglent

10 years ago

every time the notification window pops up, i ahev the message the server xxxx is (18N_ARGUMENT_MISSING)
is it a way to translate this plasmoid ?

Report

mononoke

10 years ago

could someone build a rpm package for opensuse ? thank you
the package in the repository is still version 0.3

Report

mononoke

10 years ago

i managed to build the rpm using cpack (cmake) method now. i really wonder why there is still the old 0.3 version in the suse repository. version 1.2 is really good!

Report

dglent

10 years ago

Here is the rpm of the new version

http://www.mandrivalinux.gr/rpm/2010.0/i586/plasma-applet-serverstatus-1.2-1mgr2010.0.i586.rpm

Report

9

borisdigital

10 years ago

For people addicted to gentoo linux:
-> https://bugs.gentoo.org/show_bug.cgi?id=296738

Hopefully this ebuild will make its
way into thesunrise-overlay soon.

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