I m using putty on windows server to login into remote server. I need to monitor some jobs on that remote linux box. I need some script or binary file, that will send me notification on windows server/pc as soon as job fails on remote server.
Notify-send is not working there. I m using redhat linux.
You can set a cron job in your Linux machine, which will will mail you if any failure occurs or any detail you needed. Example, I am using this service to monitor dump copy process.
This script will take backup and after completion notify me on my mail.
Here, the body.txt file will contain the mail body.
This may help.