Check if cluster is idle from a script or master server

Discussion in 'Developers' Forum' started by ispcomm, Sep 1, 2017.

  1. ispcomm

    ispcomm Member

    How do I check if there are pending operations on the ispconfig cluster from a script ?
    The script will be running on an external server. I have access to the remote api and, if necessary, to the mysql running on the master server.
  2. ispcomm

    ispcomm Member

    Perhaps I can answer my own question.
    The status of the cluster seems to be at
    It returns a json answer like
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    There is a remote API function for that which has been recently added (in 3.1.6 if I remember correctly).
  4. ispcomm

    ispcomm Member

    Found it: monitor_jobqueue_count

Share This Page