Hi,
I have a few B4J apps running on different servers.
I am looking at creating a status checker in a B4J app that will detect when a B4J app on the servers stops running or detects and issue.
So I was thinking of making each B4J app on the different servers send a request to the status checker B4J app every 1 minute. If it's more than 5 minutes and not getting a request from the B4J apps then make it send me a email.
Would you recommend sending a HTTP request, or send a MQTT message, or do it another way, in getting the information to the status checker B4J app ?
I understand there are services like UptimeRobot etc, but I am wanting to do it with B4J and not use 3rd party software.
So I am trying to figure out the best way in sending the data from each B4J app to the status checker B4J app.
I have a few B4J apps running on different servers.
I am looking at creating a status checker in a B4J app that will detect when a B4J app on the servers stops running or detects and issue.
So I was thinking of making each B4J app on the different servers send a request to the status checker B4J app every 1 minute. If it's more than 5 minutes and not getting a request from the B4J apps then make it send me a email.
Would you recommend sending a HTTP request, or send a MQTT message, or do it another way, in getting the information to the status checker B4J app ?
I understand there are services like UptimeRobot etc, but I am wanting to do it with B4J and not use 3rd party software.
So I am trying to figure out the best way in sending the data from each B4J app to the status checker B4J app.
Last edited: