Send a notification when a system halt occurs afterhours

11245 pts.
Tags:
REMOTE
System monitoring
Due to downsizing we are getting system halts when we no longer have coverage in our operations dept. We are supporting 2 local i-Series and 3 remote i-Series. What is the best way to notify someone if a job halts after hours? Sometimes this has prevented our nightly jobs from finishing as well as system backups. Sending an alert notification by either e-mail or phone would be ideal.

Software/Hardware used:
i-Series running V5R4M5

Answer Wiki

Thanks. We'll let you know when a new response is added.

I had a similar problem with my servers, that did not have alot of space left. they would fill up and stop printing or responding.
I started using blat262 and setup the parameters to send an email out to myself when the performance counter was triggered.
You could adapt this kind of code to your liking. I don’t know what app you are running, but you should be able to insert a counter/trigger into it to run this code

net start SMTPSVC
NETSH Diag Ping Loopback
NETSH Diag Ping Loopback
blat.exe -f somebody@domain.com -to somebody@domain.com -subject “This is the subject” -body “This is the body” -server smtp.domain.com:25 -u username -pw password
NETSH Diag Ping Loopback
NETSH Diag Ping Loopback
net stop SMTPSVC

just send it to the address of the person you want to get the message
ou of course need smtp server service installed in windows and the NETSH diag ping loopback gives it about 10 seconds of time after the service starts before you send the message and then about 10 seconds before it closes.
that way you dont have to have the service running all the time, unless you need it running all the time
you can save it as a bat file and run it form inside the same directory as blat.exe
you can get blat here

http://sourceforge.net/projects/blat/files/

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • ToddN2000
    It's a little more complicated. Let me throw some more info out. We have around 30 asyncronous jobs running in our main subsystem, and we have about 20 jobs that are triggered from the nightly jobscheduler. Multiply this times 5 machines. Any one of these RPGLE / CLP jobs on any machine may trigger a CPFxxxx error. It may be due to things like file full, can't allocate the object or the record, spoolfile no longer in system and such. Without having to make many custom mods to our business software package, is there an easier way to maybe just monitor the QSYSOPR message queue for a CPF error and send an e-mail?
    11,245 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following