ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Down Time Alerts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Down Time Alerts

    Anyone have any suggestions on a tool that will monitor endpoints defined on the IBMi? Would like to check periodically to make sure the API endpoints are up and running.

    Thanks in advance.

  • #2
    PING in a loop with a delay and monitor for TCP3210?

    Cheers,

    Emmanuel

    Comment


    • #3
      I haven't looked at it in ages, but I wrote a tool called CHKSVR that connects to a port to see if it's active. You can find the code here:


      The article link for the above is dead. But if you look in the .ZIP file there's some examples provided, (such as chklist.clp -- it is a CL program that checks a list of servers defined in a PF to see if all of them are up.)

      I wouldn't recommend using PING -- that'll only tell if you ICMP ECHO is functional on the machine, it won't tell you if a particular endpoint is running.

      Comment

      Working...
      X