Software to monitor domains
CLIFFORD ILKAY
clifford_ilkay at dinamis.com
Mon Nov 17 06:36:12 UTC 2008
Ray Parrish wrote:
> Wow! That's way over blown for what I need. I just need something that
> pings the servers every few minutes, and pops up a notice if either of
> them is down. A web search found lots of Windows packages that do this,
> but no Linux based solutions. I even tried one of the Windows apps with
> Wine, but it wouldn't run.
<http://www.google.com/search?client=opera&rls=en&q=linux+monitor+web+sites&sourceid=opera&ie=utf-8&oe=utf-8>
yielded: <http://www.slac.stanford.edu/xorg/nmtf/nmtf-tools.html>
Start with A and work your way down to Z. I did a spot check of a few of
them. Should be something there. If not, this isn't a particularly
challenging problem, though I think ping isn't the answer. A given
server could be responsive to pings but still not be able to serve web
pages.
I created a very simple Python script <http://www.dinamis.com/node/31>
that will enable you to monitor one or more servers and if a given
server has a problem, it will put up a KDE dialogue window notifying you
of the nature of the problem.(*) You don't necessarily have to run KDE
to pop up a KDE dialogue. If you want to have a GTK window pop up
instead, I'll leave that as an exercise for you to modify the script to
use gtkdialog instead of kdialog.
(*) Not every problem is on the server side of course. If you have
connectivity problems at your end, the script will dutifully report that
your remote servers are having problems. (If I had a nickel for each of
the times we got support calls from clients whose Internet service was
down...) Perhaps it would make sense to add a couple of sites that are
unlikely to be down at the same time, e.g. Google and Yahoo, to
determine if the problem lies at your end or at the other end.
--
Regards,
Clifford Ilkay
Dinamis
1419-3266 Yonge St.
Toronto, ON
Canada M4N 3P6
<http://dinamis.com>
+1 416-410-3326
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3273 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20081117/462075e2/attachment.bin>
More information about the ubuntu-users
mailing list