View Single Post
Posts: 243 | Thanked: 146 times | Joined on Dec 2009 @ Knowhere
#220
Originally Posted by TheSov View Post
can anyone help me out, i would like to use this widget to check the status of a webserver, does anyone have a cmd that does that?
Consider installing Queen Beecon

The following script was posted on Reddit by theSov:

before we start install queenbeecon drop to a shell and create the following script in your /usr/bin

wget -O /dev/null http://theserveruwanttocheck.xxx/somefile.html

if [ $? -eq 1 ] ; then exit 2 ; fi

echo "System OK"

save it, chmod +x it.

then you add a widget for queenbeecon

edit the widget, click on add command type any name u want and the name of the script you created under "command" set any settings u want. select "when connected" and your auto update at the bottom of the widget properties and there you go, remote monitoring on the go.

screens: http://imgur.com/WfosH.png http://imgur.com/QtyLo.png



Haven't tried it yet as just being lazy at the moment.

Edit. Note that Queen Beecon is in Extras Dev so usual warnings apply
__________________
Please don't clutter the forum with questions that have been answered many times previously. Either use Power Search or check the following useful threads.

http://wiki.maemo.org/Frequently_asked_questions
http://en.wikipedia.org/wiki/Nokia_N900
http://wiki.maemo.org/N900

Last edited by hellnick; 2010-03-30 at 08:31.