The Following 11 Users Say Thank You to briggers For This Useful Post: | ||
![]() |
2012-09-07
, 18:44
|
Posts: 2,292 |
Thanked: 4,135 times |
Joined on Apr 2010
@ UK
|
#2
|
The Following User Says Thank You to sixwheeledbeast For This Useful Post: | ||
![]() |
2012-09-07
, 18:50
|
Posts: 466 |
Thanked: 418 times |
Joined on Jan 2010
|
#3
|
The Following User Says Thank You to slaapliedje For This Useful Post: | ||
![]() |
2012-09-07
, 19:18
|
Posts: 244 |
Thanked: 354 times |
Joined on Jul 2010
@ Scotland
|
#4
|
#!/usr/bin/perl -w use LWP::UserAgent; my $l_hostname = shift @ARGV or die "Pass an IP or hostname, ya muppet\n"; my $l_port = shift @ARGV || 80; my $l_timeout =shift @ARGV || 5; my $ua = LWP::UserAgent->new; $ua->timeout($l_timeout); my $response = $ua->get('http://' . $l_hostname . ':' . $l_port . '/'); exit 0 if $response->is_success; # No response ... exit 1;
gregor@sauzee:~$ if $(./checkService.pl eck.local 22) ; then echo "alive" ; fi alive gregor@sauzee:~$
gregor@sauzee:~$ if ! $(./checkService.pl eck.local 23) ; then echo "FTP is pure deid man" ; fi FTP is pure deid man gregor@sauzee:~$
The Following 5 Users Say Thank You to gregoranderson For This Useful Post: | ||
![]() |
2012-09-08
, 05:31
|
Posts: 8 |
Thanked: 17 times |
Joined on Apr 2012
|
#5
|
The Following 2 Users Say Thank You to briggers For This Useful Post: | ||
![]() |
2012-11-01
, 11:36
|
Posts: 262 |
Thanked: 206 times |
Joined on May 2010
|
#6
|
![]() |
2012-11-08
, 12:59
|
Posts: 138 |
Thanked: 90 times |
Joined on Mar 2012
|
#7
|
![]() |
2012-11-19
, 06:49
|
Posts: 8 |
Thanked: 17 times |
Joined on Apr 2012
|
#8
|
The Following User Says Thank You to briggers For This Useful Post: | ||
Serverstatuswidget is a desktop widget for Maemo 5. It allows you to monitor the status of servers by pinging them periodically.
Here's a screenshot.
The status of the servers is updated after every user specified interval, or you can click the button corresponding to a server to update the status of the server immediately instead of waiting for the next scheduled update.
Incase you're wondering, it seems maemo.org doesn't respond to pings, which is why it is shown offline in the screenshot.
More information is on the wiki here
Please post bugs and feature requests on the wiki. I have applied to have the widget uploaded to extras-devel. I'll update this post when that happens. In the meantime, a deb file is attached below.