postgres windows server monitoring solution

Hi,

i am looking for a windows based postgresql monitor

at minimum i want to know when the postgresql server is down and get an alert, but if it goes further into performance / resources etc  etc i will happily accept it!

paid applications are fine, but if they cost $2000, it may not be feasible for me

thanks!
LVL 1
weaverkAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

earth man2Commented:
in this bat file example you would change the select * from abc to be something meaningful from your database
you could use the at command to run it every 20 minutes or so ..  as long the scheduler service is operational on your database server.

@echo off
"c:\Program Files\PostgreSQL\9.3\bin\psql.exe" -U postgres -t -w -q -c "select * from abc" > NUL
IF %ERRORLEVEL% NEQ 0 (
telnet smtp.btinternet.com 25
helo yourworld.com
mail from:earthman2@expertsexchange.com
rcpt to:earthman2@facebook.com
data database not there
.
)
echo on
@exit /B 0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
weaverkAuthor Commented:
simple and to the point, thanks!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PostgreSQL

From novice to tech pro — start learning today.