couchadmin.commands.isonline(urls, opts)
Check if nodes are online / available on the current network.
The command takes two arguments: urls
- the urls of the nodes to check as an Array
. The second argument must be an Object
providing options
The command returns a promise which will return an Object
where the keys are the provided urls and the values have the type Boolean
. true
indicates an online, available node.
If json
is true
the output is logged to stdout console as json output.
If the option silent
is true
, no output will be logged to stdout.