Monitor the AS400

765 pts.
Tags:
AS/400
AS/400 Monitoring
iSeries Navigator
QINTER
I just found on the iSeries Navigator a way to monitor my Qbatch and Qinter for MSGW.

But how can I monitor for when the AS400 goes down? Or at least no one would be able to log in. The QINTER is down...

Answer Wiki

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

You can create a Job Monitor for the QINTER job in QINTER subsystem. Set it to monitor the “Job Status” metric. Select all of the job statuses that you think are important — Completed – Printer output available (and/or Printer output not available), Ended with error, Ending, End of job, Waiting for message,… whichever and however many you need.

Of course, if you have QINTER active and a previous QINTER has ended and left a joblog, your monitor will catch the one that was ended. That might be the case if QINTER was ended during nightly backups and restarted later. Further, your monitor would probably send an error report shortly after your backups started even though that’s the time that <i>you want</i> QINTER to be down.

Controlling the scheduling of your monitor will take some thought and some planning.

Also, if Management Central isn’t running, your monitor won’t be running. But that’s going to be true for any of your similar monitors.

You could write a trivial program that calls the <a href=”http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/apis/qwdrsbsd.htm”>Retrieve Subsystem Information (QWDRSBSD) API</a> for format SBSI0100 which returns the “Subsystem status” value. You can submit that to some multi-threaded job queue such as QSYSNOMAX and have it loop forever. Call the API every 10 minutes or for whatever interval you need. You can have it send any message anywhere you want.

Of course, if QSYSWRK isn’t active, your monitor won’t run. Or if the *LIND is in an error state, there won’t be a useful network connection. Or if TCP/IP isn’t started or has a problem, you probably can’t send a message anywhere. Or if the telnet server isn’t started, it probably won’t make any difference if QINTER is active — your users won’t be able to use QINTER anyway (but your monitor won’t report any problem).

Also, if QINTER is active and the problem is network related, your monitor won’t be any help. Further, an external monitor won’t be able to check QINTER status — you actually would need a completely different kind of monitor.

In short, creating a QINTER monitor is easy.

Whether or not it’s useful is a very different question. It might cause more trouble than it solves.

Tom

Discuss This Question:  

 
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

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