[Preston] Script to check Apache
Stephen Johnson
lohapuk at gmail.com
Thu Apr 17 08:59:20 BST 2008
we use it to monitor over 400 boxes another one to look at is cacti as
well if you need any help just ask
Deepan Chakravarthy wrote:
> Stephen Johnson wrote:
>> I suggest using nagios or something similar
>
> Nagios looks awesome.. thanks a lot.
>>
>> Deepan wrote:
>>> Hi All,
>>> I am looking for a script to check if Apache is up
>>> and running, if not the script should send an
>>> email automatically. The script has to be run from
>>> a different machine (not from the machine that
>>> runs apache). So it has to query for a http
>>> address and if it receives any other reply that
>>> 200 OK, it should send the email. Can you guys
>>> suggest on how to go about ? Should I use curl ?
>>> or wget ? or ping ? I can handle the email part
>>> and cron part. If you guys have a similar script
>>> please share it if possible.
>>> Regards Deepan Sudoku Solver: http://www.sudoku-solver.net/
>>>
>
>
More information about the Preston
mailing list