php - solving database configuration -
we have database running on server. need know if db running or not @ given time. status of db ‘active’ or ‘down’. have 2 proxy servers report on status of db, there odd problem 1 of proxy servers! 1 of proxy servers appear lie !! don't know proxy server lying. don't have access source code problem , need know correct status of db. cannot call db directly because of security restrictions.
db api returns json string when asked status: example: {“status”: “down”} proxy servers supposed return whatever data db passing them. mentioned before 1 of proxy server modifies value of status no known reason.
the thing can configure db status api endpoint address on proxy servers.
what solution can sure of status of db server ?
thanks.
Comments
Post a Comment