Server Status Plasmoid

Plasma 5 Applets

Source i (link to git-repo or to original if based on someone elses unmodified work):

https://github.com/MakG10/plasma-applet-server-status

13
Become a Fan
7.8

Available as/for:
Description:
Applet for KDE Plasma 5 showing a status of the servers defined by user.

Features:
- Add as many servers as you want
- Customize font size and icons
- 4 server checking methods: ping, ping for IPv6 addresses, HTTP 200 OK response, custom command
- Automatic update of server status
- Manual refresh by clicking on the server name

Custom command:
You can define your custom command which will be executed on each server update. The plasmoid interprets exit code 0 as the server being online. Any other exit code will result in offline status. You can use `%hostname%` string in the command definition to pass particular server's hostname as an argument or option.

Ratings & Comments

29 Comments

justinz

I've just added and started using this, it is a great tool! Please make sure you update your applet for Plasma 6 which is coming early next year. More info @ https://pointieststick.com/2023/10/24/its-time-to-port-your-widgets-to-plasma-6/

dimitribolt

10 Very cool. I use the "command" option for checking my home computer. nc -vz AdressOfMyHomeComputer PortToMyHomeComputer nc command works! (instead of ping)

dharman

8 Very handy tool! Thank you very much, great work!

cyqsimon

8 Awesome widget. The only reason I did not give it 10 is the "move up

cyqsimon

Apparently this comment form hasn't been properly escaped? I typed an ampersand and everything afterwards was eaten

cyqsimon

Anyways, I wanted to say that the "move up" and "move down" buttons are broken - they remain disabled no matter where I click. I had to edit ~/.config/plasma-org.kde.plasma.desktop-appletsrc manually to reorder my servers

gianmarcogg03

8 It's pretty good, but it kinda auto resizes when you logout and log back in and it's weird. Please fix that.

RiotTee

10 10 the best Using different commands for different servers would be good option.

po-boy

9 +works

kdemichl

9 +1

kdemichl

Little buggy, but very handy. Where are the settings stored? Had to setup a new user and I'd like to take the old content.

cyqsimon

A quick look at the source code reveals that it uses the plasmoid user configuration API. As stated in `https://develop.kde.org/docs/plasma/widget/configuration/#contentsconfigmainxml` , everything is stored in `~/.config/plasma-org.kde.plasma.desktop-appletsrc` Just open in text editor and search for `server=` and you will find the configuration serialised to `json` very quickly

cyqsimon

Correction: `servers=`, not `server=`

parapente

9 +

marceloatie

9 +

intika

9 +

mitcher

9 +

MrCold

Thanks, this works really well! One question though: It seems that the custom command always runs in bash, regardless of what shell I'm using. Is it possible to change that?

MakG

What if you explicitly run a particular shell? Something like `zsh -c "ping %hostname% -c 2"`?

MrCold

That kind of thing does work :) I guess it uses the system's shell instead of the user's?

peterXP

Elegant widget. Thank you. However, I have just installed it using the Plasma 5 'Get New Widgets' dialogue, and it is showing server faults when I can ping the same URLs (including one which is my router) from Konsole without any problem. Is this an installation problem? Thanks and regards

koko2k

Thank you, i was waiting for this. Could you please add another option to execute a command when the server status changes? I'd like to use notify-send.

MakG

Yes, I will release an update next week.

koko2k

Great, thanks!

aaylnx

As far as I can see, the command option seems to execute the command every time the server is checked for rather than only when the server status changes. Is there a way to execute a command only when the servers status changes?

Pling
0 Affiliates
Details
license GPLv3
version
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 1

More Plasma 5 Applets from MakG:

Display Screen Profile Switcher
MakG
last update date: 4 years ago

Score 7.9

Bitcoin Wallet Balance
MakG
last update date: 4 years ago

Score 5.0

Bitcoin Price Plasmoid
MakG
last update date: 4 years ago

Score 6.3

Litecoin Price Plasmoid
MakG
last update date: 8 years ago

Score 5.0

Other Plasma 5 Applets:

WebView test
kinta
last update date: 10 years ago

Score 5.0

Google Task - web - obsoleted
suli
last update date: 8 years ago

Score 6.1

CodeShip Monitor
Naraku
last update date: 8 years ago

Score 5.0

Media Controller Compact
bkueng
last update date: 6 years ago

Score 7.7

Shaders example plasmoid
mart
last update date: 11 years ago

Score 6.5

Simple RSS reader
aloos
last update date: 9 years ago

Score 7.0