Fwd: Software to monitor domains
Ray Parrish
crp at cmc.net
Sun Nov 16 19:09:02 UTC 2008
Hello,
It's me again... I've been looking at the script again, and realized
that it's writing to a log file on error, but it doesn't have a
mechanism to pop up an alert on the desktop that it's down. Is it
possible to add an alert of some sort so I don't have to keep looking in
the log file?
Later, Ray Parrish
Loïc Grenié wrote:
> 2008/11/16 Ray Parrish <crp at cmc.net>:
>
>> Still way over blown, and it requires that I install a web server on my
>> machine which I don't need or want. All I want is a simple GUI program
>> that periodically tests to see if http is up on my web sites, that pops
>> up a message here on my desktop about outages. That ones notification
>> options included everything but local notification.
>>
>> Later, Ray Parrish
>>
>> John Doe wrote:
>>
>>> Hobbit!
>>>
>>> http://hobbitmon.sourceforge.net/
>>>
>>> Does exactly what you want, and just like Ubuntu, is completely open
>>> source. : )
>>>
>>>
>>> On Sun, Nov 16, 2008 at 12:18 AM, Ray Parrish <crp at cmc.net
>>> <mailto:crp at cmc.net>> 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.
>>>
>>> Later, Ray Parrish
>>>
>>> Mario Spinthiras wrote:
>>> > Zenoss.
>>> >
>>> > http://www.zenoss.org/
>>> >
>>> > and for the record on monitoring systems you should read this:
>>> >
>>> > http://www.spinthiras.net/2008/07/17/network-monitoring/
>>> >
>>> >
>>> > Regards
>>> > Mario A. Spinthiras
>>> > http://www.spinthiras.net/
>>> >
>>>
>>> --
>>> http://www.rayslinks.com/ Web index of human reviewed links.
>>> <http://www.rayslinks.com/Troubleshooting%20and%20fixing%20Windows.html>
>>> Trouble shooting and Fixing Windows
>>> http://www.writingsoftheschizophrenic.com My poetry in web pages
>>>
>>>
>>> --
>>> ubuntu-users mailing list
>>> ubuntu-users at lists.ubuntu.com <mailto:ubuntu-users at lists.ubuntu.com>
>>> Modify settings or unsubscribe at:
>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>>
>>>
>>>
>>>
>> --
>> http://www.rayslinks.com/ Web index of human reviewed links.
>> <http://www.rayslinks.com/Troubleshooting%20and%20fixing%20Windows.html>
>> Trouble shooting and Fixing Windows
>> http://www.writingsoftheschizophrenic.com My poetry in web pages
>>
>>
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>>
>
> Here is a small shell-script. It's not the best possibility, it
> has been tested
> very thoroughly, it cannot be used by two user simultaneously, etc... It is
> hereby put in the public domain, feel free to use it, modify it, publish it,
> closed-source it, whatever:
>
> #!/bin/sh
>
> DIR="/tmp/.testweb/$1"
> mkdir -p "$DIR"
> cd "$DIR"
> if [ "$?" -ne 0 ]
> then
> echo "Cannot change directory to $DIR." >&2
> exit 1
> fi
>
> while :
> do
> rm -rf *
> wget -o log "$1" || xmessage "$1 is down"
> sleep 60
> done
>
> Hope this helps,
>
> Loïc
>
>
--
http://www.rayslinks.com/ Web index of human reviewed links.
<http://www.rayslinks.com/Troubleshooting%20and%20fixing%20Windows.html>
Trouble shooting and Fixing Windows
http://www.writingsoftheschizophrenic.com My poetry in web pages
More information about the ubuntu-users
mailing list