B4J Question Uptime Monitoring

aaronk

Well-Known Member
Licensed User
Longtime User
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.
 
Last edited:

teddybear

Well-Known Member
Licensed User
In my opinion, maybe mqtt is a better alternative
 
Upvote 0

aaronk

Well-Known Member
Licensed User
Longtime User
The "status checker" should be a jServer app and the clients will use jOkHttpUtils2 to send the "alive" requests.
Good idea.
Otherwise if the MQTT server goes offline then it won't get the message to the jServer app.
 
Upvote 0

Similar Threads

Top