We are facing frequent downtimes on our servers due to numerous issues.
This leads to non-trigger / failures of critical jobs.
What we need to do is to trigger an email whenever
i) Either the DS server(Windows/Unix box) is down.
ii) OR DS Service is down
iii) DS service breaks down on the server.
That’s called system landscape monitoring and there is software for that. On is SAP solution manager.
But I would actually turn around the requirement by 180°s. Whenever the job finished I would send an automated email saying “all clear” or “error”. And when you did not receive such an email you will know there was a problem.
In Windows… You can very easily write a batch file that checks to see if the service is up. If it’s down, send an email. Requires installing a command-line emailer like BLAT. Google around, you should find it…
In a former life (when I was a sysadmin), we used LogCaster with good success for landscape monitoring. Not sure what’s happened to the product but, at the time, it was reasonably-priced and just what we needed.