bks
If I want to monitor the close time between two ledgers - is there any command?
The simplest option is to fetch https://horizon.stellar.org/ledgers/?order=desc&limit=50 and analyze difference on closed_at
field. You can easily calculate last ledger closing time and avg time. In case if the ledger closing time need to be monitored on regular basis, this API endpoint can be used in streaming mode.
Basically I tried to get the dashoard code to my local and changed the horizon url pointing to my horizon. In network status, it shows that network is down.
If you are running private network, your network passphrase may be different from those Stellar Public or Test Networks. It means that instead of
StellarSdk.Network.usePublicNetwork()
you should use
StellarSdk.Network.use(new Network('your network passphrase here'))
The horizon url itself is not enough.